User prompt
When removing a house add a new house
User prompt
Don’t apply house speed until Santa jumps the first time
User prompt
Have a variable on game that is the speed of planets rather than a value on each planet
User prompt
Don’t allow game over if Santa is an outside the screen at left right or top and jump state is false
User prompt
Set weight:800 on score text and add black drop shadow
User prompt
If Santa is out of the screen at the bottom always die regardless of jump state. For the other directions only die based on the current code
User prompt
If Santa is out of the screen at the bottom always die regardless of jump staye
User prompt
Set house speed to -2
User prompt
Subtract house speed instead of adding it in tick
User prompt
Have a planet move speed in game. Add that to each planet y in tick
User prompt
Don’t move game container
User prompt
Fix Bug: 'ReferenceError: Can't find variable: scoreTxt' in this line: 'scoreTxt.setText(self.score);' Line Number: 32
User prompt
Fix Bug: 'TypeError: LK.gui.topCenter.getChild is not a function. (In 'LK.gui.topCenter.getChild(0)', 'LK.gui.topCenter.getChild' is undefined)' in this line: 'LK.gui.topCenter.getChild(0).setText(self.score);' Line Number: 32
User prompt
You should get a point for each planet Santa lands on
User prompt
Fix Bug: 'ReferenceError: Can't find variable: score' in this line: 'score += 1;' Line Number: 30
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'score.toString')' in this line: 'var scoreTxt = new Text2(score.toString(), {' Line Number: 81
User prompt
Add one points to score for each planet Santa lands on
User prompt
Set background anchor to .5,.5 and center it on screen
User prompt
Add a background graphics to the game
User prompt
Use 10 different assets for housed randomly
User prompt
The slowest a planet should be able to rotate is 0.01 or -0.01
User prompt
Make houses have a random scale between .5 and 1
User prompt
Decrease house rotation speed by /5
User prompt
Set house rotation speed to a random value between -.1 and .1
User prompt
Set the random distance between houses to between 1/3 to 1/3 screen height
===================================================================
--- original.js
+++ change.js
@@ -116,8 +116,9 @@
houses[a].rotation += houses[a].rotationStep;
if (houses[a].x < -50 || houses[a].y > 2732 + houses[a].height) {
houses[a].destroy();
houses.splice(a, 1);
+ self.spawnHouse();
}
}
var santaScreenX = santa.x;
var santaScreenY = santa.y + gameContainer.y;
Circular Santa, with gifts on his back. Cartoon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Perfectly round planet looking like a house, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
round house planet, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
round house planet, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
round house planet, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
round house planet, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast.
round house planet, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Starry Christmas night sky, cartoon, background