• Register
Post feature RSS Devlog #019: Lives and refuelling

I added a bunch of features essential to the game!

Posted by on

After adding player death, player lives were next on the list.
The player automatically starts each level with 5 lives currently. When running out of lives, the game shows a failure screen as you can see here:

Next up was a fuel system. You'll start with a full tank of course, but throughout the level you'll need to refill or suffer the consequences.
An empty tank means no thrust, which means falling, which probably results in losing a life.
Refilling can be done through the use of fuel barrels. Grapple them like you would do with crates and refuelling automatically starts.
The fuel barrels weight and collision sound pitch change according to the fuel left in it.
Here's how this all looks:

I also made a small debug improvement for myself. Physics are hard to debug, so I thought it would be nice to be able to move objects around when debugging.
This is why I built this little functionality:

Collision debug tool

That's it for now.
I really need to update my trailer again, but I think I'll do some polishing first in some places.

See ya!

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.