Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Checkpoints

Hey, is there a way to add checkpoints in RMXP? Say if you die, and return at the spot the checkpoint was "placed". I'm not sure if this may be script related so sorry if it is.

Its just im using an ABS and I dont want the player to get game over per death.

Thanks for any help! :grin:

~Howelly~
 
How does the ABS that you use detect your death? In theory, it should be possible to modify that part to take you to the Save screen instead of the Game Over screen.

...Obviously, doing that for you would be helped a great deal if you'd post what script you're using, or what system you're using otherwise.
 
With XAS it's switch number 4 for example - so you could simply have a common event triggered by this switch that transfers your player to the last recorded checkpoint.

The easiest way to store a checkpoint is to store each aspect of your hero's position as a variable (map id, x, y) - this way they'll be returned to that position when they "die".

Of course all this info will be lost once they close the game so you'll want to have the player save at the end of every level or section. If you want an autosave feature I'd browse the forums or perhaps someone else will link to one.

If you're using XAS feel free to PM me and I'll walk you through it some more.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top