User prompt
Add background to the map
User prompt
Please fix the bug: 'Timeout.tick error: Platform is not defined' in or related to this line: 'var platform = new Platform();' Line Number: 222
User prompt
Add garage1 to the game
User prompt
Please fix the bug: 'ReferenceError: platforms is not defined' in or related to this line: 'for (var j = platforms.length - 1; j >= 0; j--) {' Line Number: 114
User prompt
Remove platform from the game
User prompt
Please fix the bug: 'Timeout.tick error: Platform is not defined' in or related to this line: 'var platform = new Platform();' Line Number: 223
User prompt
Rename platform to garage1
User prompt
Add house1 asset to the game and the map
User prompt
Move up the background by 1000 units
User prompt
Move down the background by 1000 units
User prompt
Increase distance between platforms by 30 units
User prompt
Increase platforms distance by 20 units
User prompt
Reduce platform number to the half
User prompt
Move down the platform by 25 units
User prompt
Reduce obstacles number to the half
User prompt
Move every platform bottom to the top of the floor.
User prompt
Reduce obstacles number to the half
User prompt
Move obstacles bottom to the maps bottom
User prompt
Move obstacles bottom to the maps bottom.
User prompt
Move obstacles to the floor
User prompt
Condition: obstacles always touching the floor at the bottom!
User prompt
You can only load the obstacles by touching the floor at the bottom!
User prompt
Add a background to the game
User prompt
Reduce obstacles number to the half
User prompt
Reduce obstacle to the galf
===================================================================
--- original.js
+++ change.js
@@ -180,9 +180,11 @@
var background = game.attachAsset('background', {
anchorX: 0.5,
anchorY: 0.5,
x: 2048 / 2,
- y: 2732 / 2
+ y: 2732 / 2,
+ width: 2048,
+ height: 2732
});
var house1 = game.attachAsset('house1', {
anchorX: 0.5,
anchorY: 0.5,