It's an Actor that has Pin To Screen on, and put into the upper corner of every room I want it to appear in.
Then under the On Update tab, I have it constantly checking what number the Health Variable is on. Whenever the player is hit by an enemy, I add one to the Variable and have the life counter go down.
If the Variable gets to like, four for example, then the player is teleported to the game over screen via the map.
Heads up for all players, this game is running in an HTML5 GB emulator. You use the arrow keys to move, X to jump, and Z to shoot. If that doesn't work, it might be a computer thing.
Controls are alt to select and K to jump for people who are stuck, the aesthetics are really on point just the gameplay and controls are a bit of an iff.
← Return to game
Comments
Log in with itch.io to leave a comment.
Would you tell me how you did the life system?
I'm making a top-down RPG in GB Studio and I want to use a life system similar to yours.
It's an Actor that has Pin To Screen on, and put into the upper corner of every room I want it to appear in.
Then under the On Update tab, I have it constantly checking what number the Health Variable is on. Whenever the player is hit by an enemy, I add one to the Variable and have the life counter go down.
If the Variable gets to like, four for example, then the player is teleported to the game over screen via the map.
Heads up for all players, this game is running in an HTML5 GB emulator. You use the arrow keys to move, X to jump, and Z to shoot. If that doesn't work, it might be a computer thing.
Really cute graphics, controls are iffy tho.
Controls are alt to select and K to jump for people who are stuck, the aesthetics are really on point just the gameplay and controls are a bit of an iff.