User prompt
Double the player's health.
User prompt
When you kill an enemy it gives you 10 coins ↪💡 Consider importing and using the following plugins: @upit/storage.v1
User prompt
Delete the attack button. When you move, it makes you attack.
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'if (player.isMoving && x < 2048 / 2) {' Line Number: 1031
User prompt
Show a health bar on the top of your screen and add waves. After you defeat 5 waves, you win the game.
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'shootButton.up();' Line Number: 994
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'player.targetX = x;' Line Number: 958
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'shootButton.down(x, y);' Line Number: 964
User prompt
Please fix the bug: 'TypeError: undefined is not an object (evaluating 'player.update')' in or related to this line: 'player.update();' Line Number: 1002
User prompt
Make a home screen with a start button and a shop. Each time you kill an enemy, it gives you 2 points. ↪💡 Consider importing and using the following plugins: @upit/storage.v1
User prompt
Use your finger to move the player and delete the joystick.
User prompt
Make the joystick move the player.
Code edit (1 edits merged)
Please save this source code
User prompt
Space Defender
Initial prompt
Add a joystick and a shoot button, player and a gun.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});