aboutsummaryrefslogtreecommitdiff
path: root/src/CreditsScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CreditsScene.cpp')
-rw-r--r--src/CreditsScene.cpp27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/CreditsScene.cpp b/src/CreditsScene.cpp
index cd1558c..edcee8f 100644
--- a/src/CreditsScene.cpp
+++ b/src/CreditsScene.cpp
@@ -18,8 +18,12 @@ CreditsScene::CreditsScene(const QString &name, const QRectF &rect, GameView *pa
m_background = new ParallaxScrollerStatic(this);
m_background->setLayerWidth(rect.width());
- m_background->addParallaxScrollItem(QString(appDir + "/gfx/bg/layer1.png"), QPointF(0,0), -2, 6);
- m_background->addParallaxScrollItem(QString(appDir + "/gfx/bg/layer2.png"), QPointF(0,0), -1, 4);
+ //m_background->addParallaxScrollItem(QString(appDir + "/gfx/bg/layer1.png"), QPointF(0,0), -2, 6);
+ //m_background->addParallaxScrollItem(QString(appDir + "/gfx/bg/layer2.png"), QPointF(0,0), -1, 4);
+
+ m_background->addParallaxScrollItem(QString(appDir + "/data/gfx/background/layer_three.png"), QPointF(0,0), -3, 8);
+ m_background->addParallaxScrollItem(QString(appDir + "/data/gfx/background/layer_two.png"), QPointF(0,0), -2, 6);
+ m_background->addParallaxScrollItem(QString(appDir + "/data/gfx/background/layer_one.png"), QPointF(0,0), -1, 4);
initializeScene();
}
@@ -34,22 +38,23 @@ void CreditsScene::initializeScene()
addTitle("Credits");
QGraphicsTextItem* creditText = new QGraphicsTextItem(0, this);
- creditText->setHtml("<b>WalRush</b> (v. 1.0) <br><br>"\
- "WalRush was originally a project "\
- "for course in TAMK.<br><br>"\
- "Programming by:<br>"\
+ creditText->setHtml("<font color=\"white\">"\
+ "<b>prism</b> (v. 0.0.3) <br><br>"\
+ "Game design,<br>"\
+ "concept design and<br>"\
+ "programming by:<br>"\
"Samu Laaksonen<br>"\
+ "and <br>"\
"Oskari Timperi<br><br>"\
- "Graphics by: <br>"\
- "Lauri Paakinaho<br><br>"\
- "Copyright (c) 2010 of aforementioned persons. All rights reserved.<br>");
+ "Copyright (c) 2012 of aforementioned persons. All rights reserved.<br>"\
+ "</font>");
creditText->setPos(140, 130);
creditText->setFont(QFont("Arial", 14));
GraphicsButtonObject *btn;
- btn = new GraphicsButtonObject(QPixmap(qApp->applicationDirPath() + "/gfx/buttons/back-arrow1.png"),
+ btn = new GraphicsButtonObject(QPixmap(qApp->applicationDirPath() + "/data/gfx/buttons/back-arrow1.png"),
0, this);
- btn->setPressedPixmap(QPixmap(qApp->applicationDirPath() + "/gfx/buttons/back-arrow2.png"));
+ btn->setPressedPixmap(QPixmap(qApp->applicationDirPath() + "/data/gfx/buttons/back-arrow2.png"));
btn->setPos(720, 400);
btn->setShapeMode(QGraphicsPixmapItem::BoundingRectShape);
btn->setZValue(2);