From 75868947b14233205657df9f00c3df46b9933357 Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 25 Nov 2013 02:27:10 +0100 Subject: [PATCH] better labels --- platformer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformer.js b/platformer.js index 92c64de..ea4069a 100644 --- a/platformer.js +++ b/platformer.js @@ -87,7 +87,7 @@ Q.Sprite.extend("Neingeist",{ // end the game unless the enemy is hit on top this.on("bump.left,bump.right,bump.bottom",function(collision) { if(collision.obj.isA("Player")) { - Q.stageScene("endGame",1, { label: "You Died" }); + Q.stageScene("endGame",1, { label: "DU BIST TOT" }); collision.obj.destroy(); } }); @@ -175,7 +175,7 @@ Q.scene('endGame',function(stage) { var button = container.insert(new Q.UI.Button({ x: 0, y: 0, fill: "#CCCCCC", - label: "Play Again" })) + label: "NOCHMAL" })) var label = container.insert(new Q.UI.Text({x:10, y: -10 - button.p.h, label: stage.options.label })); // When the button is clicked, clear all the stages