enemy.sprites={2,18,2,34}
enemy.sprite = enemy.sprites[flr(enemy.animtimer/5-enemy.speed*3)%#enemy.sprites+1]
player.sprite = player.sprites[player.animtimer%#player.sprites+1] below this to make a fast flicker.
spr(16, laser.x-5,laser.y)
create_explosion(enemy.x,enemy.y,rnd(4)+8)
just after we delete enemies upon collision with a laser. Using a random number for explosion radius gives us a little more flavour by varying the size of the explosions slightly. You should add a big explosion when the player is destroyed, too.draw()
, add rectfill(0,0,128,128,1)
to colour the screen deep space blue, and another for loop that draws each star as a single pixel, moves it from right to left, and resets it when it goes off screen. Warp factor 4!quote:
Maybe some that are off the radar but still good games?
quote:Even better. I haven't bothered upgrading my distribution of RetroPie in a while since I'm satisfied with it.
It’s even easier than that now with retropie.
quote:
Even better. I haven't bothered upgrading my distribution of RetroPie in a while since I'm satisfied with it.