User prompt
make it smaller and under the score
User prompt
make an hi-score
User prompt
bigger
User prompt
make the score bigger
User prompt
change the button to a different color every time it is clicked
User prompt
make a sound when the button clicked
User prompt
make the cursor button swing
User prompt
make a background
User prompt
set font to .VnAvant
User prompt
make the foont bald
User prompt
make the font bold
User prompt
Change the font of the score text to 'Calibri'
User prompt
set font to time new roman
User prompt
add a cursor button
Initial prompt
Click
===================================================================
--- original.js
+++ change.js
@@ -38,15 +38,16 @@
});
scoreTxt.anchor.set(0.5, 0);
LK.gui.top.addChild(scoreTxt);
var highScoreTxt = new Text2('High Score: 0', {
- size: 150,
+ size: 100,
fill: "#ffffff",
font: "'.VnAvant', serif",
fontWeight: 'bold'
});
highScoreTxt.anchor.set(0.5, 0);
-LK.gui.topRight.addChild(highScoreTxt);
+LK.gui.top.addChild(highScoreTxt);
+highScoreTxt.y = scoreTxt.height;
// Create the button and position it at the center of the screen
var background = game.addChild(LK.getAsset('background', {
anchorX: 0,
anchorY: 0