itch.io is community of indie game creators and players

Devlogs

Issue Respawning Actors in the Correct Order

Shutdown
A downloadable game

Author- Ethan Ortega

Problem:  In level 2 there is a cooking station puzzle that spawns different actors when you hit a selected button. When the puzzle was completed I was attempting to save the actors in the correct order so that when the player loaded back into the game, the puzzle would be solved in the right order. The issue I was running into was the actors were spawning in the wrong order with the smallest actor always spawning on the bottom. I believe this was due to when the actors were spawning back in, they were colliding with one another and pushing the smallest one to the bottom messing up the order. 

The video above is the demonstration of me completing the puzzle then reloading back in with my save and the actors being in the correct spots.
Leave a comment