Two questions on platformers

Dr. Scorpio

Member
Is there a way you can make a stage start over if you die? If not, how do I make it so that when you die you start at the beginning of the stage?
I'm having problems with platform stages.The player respawns stuck between walls or above holes falling until you run outta lives. This happens in some stages every time your player dies. It's really annoying!
 
I'm not really good at this sort of thing, but I'd imagine you'd need to make a script that guarantees the player will spawn in a certain spot. Then, set scrollspeed the level's txt to like 20 or so, to make sure the screen doesn't lag.
 
  In Contra mod, I always set respawn point for both players so if any player die, he/she will be spawned at defined point regardless of latest screen position. This method spares player from falling to holes.

In some levels (ones with wide hole), I have special respawn floating machine which is spawned just below player to prevent them from falling to hole. This machine will be gone couple seconds later so player must immediately find good spot to stand on after respawning.
 
Back
Top Bottom