Room Duplicate/Object copy to next room PLS help :D


Nathan Matthews

Working on a project atm to build a animation type program using game maker. So I'm trying to make a code that duplicates the room I'm currently in and or puts all the same objects from current room into the following room that already exists.

Spencer S

It sounds like setting an object as persistent is what you're looking for.
If setting an object as persistent doesn't perform the necessary actions you need, I would create a persistent controller object.
Each time you switch rooms, save each object's variables in the persistent controller object, then upon creation of the next room, spawn each object with the variables stored in that controller object.