I have included a bonus level in the middle of a main level in my game. When the player completes the bonus level, he starts the main level again. Is there away to re-spawn him at the bonus level entry point?
Develop games in your browser. Powerful, performant & highly capable.
You might want to use Global Variable for this.
On collision with bonus-level-door, set Global Variable Door-UID to bonus-level-door.UID
Once the player finished the bonus level. Go to main level. Pick sprite with Global Variable Door-UID, set player to his location.
Hope it helps