Log In  


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


a little first pico-8 game !

2


Fantastic space shooting game!


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!


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
p.x=120
end
if p.x<0 then
p.x=0
end
)

Could also check if player above or below screen:

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

-- 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



[Please log in to post a comment]