aboutsummaryrefslogtreecommitdiff
path: root/src/MenuScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuScene.cpp')
-rw-r--r--src/MenuScene.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/MenuScene.cpp b/src/MenuScene.cpp
index 1deaa66..241f423 100644
--- a/src/MenuScene.cpp
+++ b/src/MenuScene.cpp
@@ -15,8 +15,12 @@ MenuScene::MenuScene(const QString &name, const QRectF &rect, GameView *parent)
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();
}
@@ -49,5 +53,5 @@ void MenuScene::initializeScene()
connect(btn2, SIGNAL(clicked()), gameView(), SLOT(showCreditsScene()));
connect(btn3, SIGNAL(clicked()), qApp, SLOT(quit()));
- addTitle("Platformer");
+ addTitle("prism");
}