a proper lifeline system because instant game over was getting way too annoying lol. took inspiration straight from minecraft to sketch out the pixel art hearts using raw coordinates instead of images. completely wiped the spaceshoot name from the top bar so we now have empty space to draw the 3 hearts right inside the main ui loop
-
basically swapped the instant death logic with a lives = 3 state check. if you hit an asteroid it just drops a life, clears the screen, and resets the obstacle back to the top. i also coded a health drop engine that randomly spawns a heart collectible every 350 score
-
added a basic capped logic so if you catch a heart while already at max health nothing happens, but if you are low it refills the health and updates the top display instantly.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.