User prompt
Points display in black
User prompt
Background 122 fit screen
User prompt
Make background 122 big in background
User prompt
Remove moon
User prompt
Add background122 in game
User prompt
Please fix the bug: 'ReferenceError: clouds is not defined' in or related to this line: 'clouds.forEach(function (cloud) {' Line Number: 132
User prompt
Remove cloud and add moon white in background
User prompt
Make clouds in background
User prompt
Background skblue colour
User prompt
Black night background
User prompt
Make background of night
User prompt
Obstacles make parallel means in line wise in up down
User prompt
Please fix the bug: 'ReferenceError: obstacleGraphics is not defined' in or related to this line: 'obstacleGraphics.scaleY = Math.random() < 0.5 ? 1 : -1; // Flip the obstacle vertically for bottom obstacles' Line Number: 99
User prompt
Make obstacles similar up down
User prompt
Coin made in middle
User prompt
Obstacles made up down not in middle
User prompt
If bird fly up and down then bird will die
User prompt
Then level 2 20 coins
User prompt
Please fix the bug: 'TypeError: LK.showMessage is not a function' in or related to this line: 'LK.showMessage("Congrats! Level 1 Complete");' Line Number: 133
User prompt
If coin reached 10 then display message congrats level 1 complete
User prompt
If coin reached 10 then return good
User prompt
If coin reached return congratulations
User prompt
Make coin in centre only and 9btacles in upside and downside
User prompt
Coin and obstacle make separate
User prompt
Remove rod from centre
===================================================================
--- original.js
+++ change.js
@@ -87,9 +87,9 @@
LK.gui.top.addChild(scoreTxt);
function spawnObstacle() {
var obstacle = new Obstacle();
obstacle.x = 2048 + obstacle.width / 2;
- obstacle.y = Math.random() * (2732 - obstacle.height) + obstacle.height / 2;
+ obstacle.y = Math.random() < 0.5 ? obstacle.height / 2 : 2732 - obstacle.height / 2;
obstacles.push(obstacle);
game.addChild(obstacle);
}
function spawnCoin() {