User prompt
set background color to 36759c
User prompt
Also update LK.setScore when updating scores
User prompt
Move the boot to the center of the screen on startup
User prompt
half how fast balls rotate
User prompt
Make ball rotate based on x speed
User prompt
Make ball rotate based on speed
User prompt
Add drop shadow to tutorial text
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'LK.gui.bottomCenter.addChild')' in this line: 'LK.gui.bottomCenter.addChild(tutorialTxt);' Line Number: 87
User prompt
Add tutorial text at the bottom of the screen reading "Kick harder for more points" Attach it to GUI.bottom
User prompt
Add tutorial text at the bottom of the screen reading "Kick harder for more points"
User prompt
set background alpha to .8
Code edit (1 edits merged)
Please save this source code
User prompt
set background scale to 2
User prompt
in calculateVelocity do not divide the velocity
Code edit (1 edits merged)
Please save this source code
User prompt
3x the gravity
User prompt
add a football stadium background at the center of the background
User prompt
add a basketball stadium background at the center of the background
User prompt
when adding score, subtract 20 from the score and set the max of score added to 0
User prompt
Fix Bug: 'ReferenceError: Can't find variable: score' in this line: 'score += Math.round(totalSpeed);' Line Number: 51
User prompt
Fix Bug: 'ReferenceError: Can't find variable: score' in this line: 'score += Math.round(totalSpeed);' Line Number: 51
User prompt
Add points based on the totalSpeed variable
User prompt
in boot calculateVelocity set the divider to 2 instead of 5
===================================================================
--- original.js
+++ change.js
@@ -73,9 +73,9 @@
/****
* Initialize Game
****/
var game = new LK.Game({
- backgroundColor: 0x000000
+ backgroundColor: 0x36759c
});
/****
* Game Code
Soccer ball. Single Cartoon Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Round soccer boot, cartoon style Single Cartoon Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon football stadium Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.