User prompt
move shape on the back, in terms of visibility order
User prompt
Text should be on top of the shape in terms of visibility order
User prompt
Text should be on the top of the shape
User prompt
Increase the size of the Shape, and move the text inside a shape
User prompt
remove the kite shape from everywhere in the code
User prompt
remove heptagon
User prompt
add the shapes, to array
User prompt
use different - different background image assets for buttons
User prompt
Both buttons background should be different
User prompt
Add a background for the both the buttons
User prompt
Button are not visible.
User prompt
Add Two Big buttons at the bottom of the screen, first is true and second is false
Initial prompt
ShapyBrain
===================================================================
--- original.js
+++ change.js
@@ -98,17 +98,17 @@
});
trueButton.anchor.set(0.5, 0.5);
trueButton.x = 2048 / 4;
trueButton.y = 2732 * 3 / 4;
-LK.gui.bottom.addChild(trueButton);
+game.addChild(trueButton);
var falseButton = new Text2('False', {
size: 200,
fill: "#ff0000"
});
falseButton.anchor.set(0.5, 0.5);
falseButton.x = 2048 * 3 / 4;
falseButton.y = 2732 * 3 / 4;
-LK.gui.bottom.addChild(falseButton);
+game.addChild(falseButton);
// Add event listeners for buttons
trueButton.down = function (x, y, obj) {
handleTruePress();
};