User prompt
when player lose, play gameoversound then call gameover after 3 sec
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Timeout.tick error: isPlaying is not defined' in or related to this line: 'if (isPlaying) {' Line Number: 851
Code edit (1 edits merged)
Please save this source code
User prompt
Play landing sound once when player lands after a jump
User prompt
Play bump sound once when player hits an obstacle
User prompt
Play wagoonJump when player starts jumping on a ramp
Code edit (2 edits merged)
Please save this source code
User prompt
keep the changescore amount like before, but add the variant parameter
User prompt
Please fix the bug: 'ReferenceError: variant is not defined' in or related to this line: '__interface.changeScore(variant);' Line Number: 791
User prompt
for tinyPickup, don't use `Math.floor(Math.random() * 3` but pass the pickup index via parameter
Code edit (2 edits merged)
Please save this source code
User prompt
place the tinyPickups randomly on the scoreIcon (relative coordinates)
Code edit (1 edits merged)
Please save this source code
User prompt
when a pickup is taken, create a new tiny object above the score icon using the same asset as the pickup
User prompt
pickups should appear behind Obstructions
User prompt
play bonusSound when taking a pickeup
Code edit (1 edits merged)
Please save this source code
User prompt
store a reference of LK.getSound('monsterJump').play(); the use it for stoping
User prompt
stop monsterJump sound when monster goes out of screen
User prompt
play monsterEat when monster hits player
User prompt
play monsterJump sound when monster jumps
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Migrate to the latest version of LK
===================================================================
--- original.js
+++ change.js
@@ -125,10 +125,10 @@
anchorY: 0.5,
scaleX: 0.5,
scaleY: 0.5
});
- tinyPickup.x = scoreIcon.x + (Math.random() - 0.5) * scoreIcon.width;
- tinyPickup.y = scoreIcon.y + (Math.random() - 0.5) * scoreIcon.height;
+ tinyPickup.x = (Math.random() - 0.5) * scoreIcon.width;
+ tinyPickup.y = (Math.random() - 0.5) * scoreIcon.height;
//tinyPickup.x = scoreIcon.x;
//tinyPickup.y = scoreIcon.y - scoreIcon.height / 2 - 20;
//self.addChild(tinyPickup);
}
Pixel art heart icon . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
two vertical lines with a blank background.
single green firework explosion . Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Pixel art of a cute elf. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
tileable green grass texture..
arbre chene.
cerisier avec des fleur. Pixel art.
pixel art of a large rock.
pixel art of a tree stump.
pixel art of a 4 leaf clover.
pixel art of a wooden board.
pixel art of a bush.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a 4 leaf orange clover... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a 4 leaf purple clover.... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a 4 leaf indigo clover.... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A start button for an elf game in a magic forest. Pixel art.