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