|
|
@@ -7,10 +7,10 @@ HelloPolycodeApp::HelloPolycodeApp(PolycodeView *view) : EventHandler() {
|
|
|
CoreServices::getInstance()->getResourceManager()->addArchive("Resources/default.pak");
|
|
|
CoreServices::getInstance()->getResourceManager()->addDirResource("default", false);
|
|
|
|
|
|
- Screen *hud = new Screen();
|
|
|
- onGroundLabel = new ScreenLabel("Arrow keys to control, spacebar to jump, press R to reset", 16);
|
|
|
+ Scene *hud = new Scene();
|
|
|
+ onGroundLabel = new SceneLabel("Arrow keys to control, spacebar to jump, press R to reset", 16);
|
|
|
hud->addChild(onGroundLabel);
|
|
|
- onGroundLabel = new ScreenLabel("On Ground:", 16);
|
|
|
+ onGroundLabel = new SceneLabel("On Ground:", 16);
|
|
|
onGroundLabel->setPosition(0,20);
|
|
|
hud->addChild(onGroundLabel);
|
|
|
|