User prompt
On game start show top message too
User prompt
Create a new instance of meesage
User prompt
Fix Bug: 'Uncaught ReferenceError: kitty is not defined' in this line: 'kitty.isVisible = Math.random() >= 0.5;' Line Number: 38
User prompt
Fix Bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'isVisible')' in this line: 'kitty.isVisible = Math.random() >= 0.5;' Line Number: 38
User prompt
Fix Bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'isVisible')' in this line: 'kitty.isVisible = Math.random() >= 0.5;' Line Number: 38
User prompt
Show both messages at game start
User prompt
Move start message 100 pixels uo
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(startMessageTxt);' Line Number: 49
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'isVisible')' in this line: 'var startMessageTxt = new Text2(kitty.isVisible ? 'Yey!' : 'Nope!', {' Line Number: 38
User prompt
Add message on game start in the bottom of the screen. If kitty is visible message should say: "Yey!. If kitty is not visible should say: "Nope!
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(resultTxt);' Line Number: 93
User prompt
On tick check if box is moved or destroyed. If it is moved or destroyed show a new message that will say: "Yey!" Is kitty visibilty is true and will say "Nope!". Message will display in the bottom of the screen
User prompt
After the box move os is destroyed show a message in the bottom of the screen. If kitty is visible message should say "Yey!". If kitty is not visible say "Nope!!
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(new Text2('The box has been opened!', {' Line Number: 11
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(new Text2('The box has moved!', {' Line Number: 26
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(new Text2('The box has moved!', {' Line Number: 26
User prompt
After box is moved or destoyred add message in bottom of screen
User prompt
Move cat and box 200 pixels up
User prompt
Move yes or no 200 pixels down
User prompt
Move yes or no 200 pixels lef
User prompt
Move yes or no message 500 pixels left
User prompt
Move yes or no message 500 pixels right
User prompt
Center yes or no message on the x axis
User prompt
Add a messan on top saying: Yes or No?
User prompt
Move box 500 pixels down
===================================================================
--- original.js
+++ change.js
@@ -45,9 +45,9 @@
});
startMessageTxt.anchor.set(0.5, 0);
startMessageTxt.x = LK.stageContainer.width / 2;
startMessageTxt.y = LK.stageContainer.height - 250;
- LK.gui.addChild(startMessageTxt);
+ LK.gui.topCenter.addChild(startMessageTxt);
var messageTxt = new Text2('Open the box to find out!', {
size: 150,
fill: "#ffffff",
align: 'center'
8-bit. cartoon. red button. do not touch! Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. black tub stopper with chain. in game asset.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. axe. in game asset. no shadow.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Break in case of emergency square. Ax drawing inside. simple. 8-bit. cartoon. blackand white.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Delete