User prompt
now use a pixelated spaceship sprite for the spaceship next
User prompt
there should be no cooldown to how fast u can click
User prompt
try using a pixely asteroid sprite instead of these ellipses
User prompt
the laser instantly destroys asteroids it touches, and i changed my mind, cooldown is 10 seconds
Code edit (1 edits merged)
Please save this source code
User prompt
Asteroid Blaster
Initial prompt
there is a spaceship in the bottom of the screen that follows the cursors x position, when you tap, the spaceship shoots a bullet, asteroids are falling endlessly, when you successfully hit an asteroid, you get one score, if the asteroid is not min size, it gets 1 size smaller, you can swipe up to shoot a laser, but it has a 20 second cooldown
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});