Code edit (9 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: LK.showYouFinished is not a function' in or related to this line: 'LK.showYouFinished();' Line Number: 96
Code edit (1 edits merged)
Please save this source code
Initial prompt
Bed Shooters
===================================================================
--- original.js
+++ change.js
@@ -85,9 +85,9 @@
for (var i = enemies.length - 1; i >= 0; i--) {
enemies[i].update();
if (enemies[i].intersects(hero)) {
LK.effects.flashScreen(0xff0000, 1000);
- LK.showYouFinished();
+ LK.showGameOver();
}
}
// Update bullets
for (var j = bullets.length - 1; j >= 0; j--) {
the bullet is of 1 inch and is of m4 rifle.. Single Game Texture. In-Game asset. 3d. Blank background. High contrast. No shadows.
Hero is ironman and sitting on bed facing backward. Single Game Texture. In-Game asset. 3d. Blank background. High contrast. No shadows.
zombie green single. Single Game Texture. In-Game asset. 3d. Blank background. High contrast. No shadows.