Code edit (3 edits merged)
Please save this source code
User prompt
Add a new class BoilingLava that emits lava bubbles (circle asset)
User prompt
Play lose sound when touching river
User prompt
Play jump sound when jumping
Code edit (1 edits merged)
Please save this source code
User prompt
add a red flash if fall in the river
Code edit (8 edits merged)
Please save this source code
User prompt
if player fall in the river call gameover
Code edit (1 edits merged)
Please save this source code
Code edit (9 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: road is undefined' in or related to this line: 'if (Math.random() < ROAD_GEN_DETRITUS_CHANCE) {' Line Number: 183
User prompt
Please fix the bug: 'TypeError: road is undefined' in or related to this line: 'if (Math.random() < ROAD_GEN_DETRITUS_CHANCE) {' Line Number: 183
Code edit (1 edits merged)
Please save this source code
User prompt
play bgMusic in loop
Code edit (9 edits merged)
Please save this source code
User prompt
play collectDetritus when taking a detritus
Code edit (1 edits merged)
Please save this source code
User prompt
add a class FragileNature like Detritus
Code edit (1 edits merged)
Please save this source code
User prompt
enhance the throw to bin anim by progressively reducing detritus size while approaching the target
Code edit (1 edits merged)
Please save this source code
User prompt
destroy taken detritus when they reach the target position
Code edit (1 edits merged)
Please save this source code
User prompt
when Detritus is taken, detach it from its parent and attach it to the game at the same position
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -1114,7 +1114,7 @@
FOOT_LEFT_ROTATION: -sharedAngle + 1.5 * offsetAngle
};
}
var boilingLava = game.addChild(new BoilingLava({
- x: GAME_WIDTH / 2,
- y: GAME_HEIGHT / 2
+ x: GAME_WIDTH - 100,
+ y: GAME_HEIGHT - 100
}));
\ No newline at end of file
white
circle sliced into many pieces, flat image. 2d, white background, shadowless.
pixel art of a tall, tree. game asset, 2d, white background, shadowless.
pixel art cloud. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dark space.
flying lava bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a bonus crystal ball with the recycle symbol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top view A green round start button empty in the center like a ring.