Log In  

Cart #little_space_shooter-0 | 2024-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

a little first pico-8 game !

P#149344 2024-06-02 16:15

Fantastic space shooting game!

P#149783 2024-06-11 03:25

Congrats on your first PICO-8 game! Welcome to this wonderful world of gamedesgin :)
I played until roughly 5600 points, at which point the game slowed down-are you maybe not deleting shots or stars that are off screen?
Have fun expanding on this game!

P#149789 2024-06-11 05:21

Same: Game came to a sudden slowdown at 5200 for me.

Made a few edits (animated player sprite and checked if it was off screen. "could also change the player sprite if moving in the other direction "Y/up/down". Don't know how to set player sprite to default "1" if no button pressed?)

(if you swap the minus values the player will not go off screen rather than wrapping around to the other side:

if p.x>120 then
if p.x<0 then

Could also check if player above or below screen:

if p.y>120 then
if p.y<0 then

-- a value of 115 might work better than 120 for the down direction.

("Not fixed the slowdown though as no idea what would be causing it - I'm a noob too!")
(edit: Tested the game by avoiding the enemy and not shooting - no slowdown, so slowdown must be to do with bullets that are probably not getting deleted!)

Cart #littleedit-0 | 2024-06-11 | Code ▽ | Embed ▽ | No License

P#149799 2024-06-11 09:19 ( Edited 2024-06-11 11:19)

[Please log in to post a comment]