PDA

View Full Version : How to save positions etc. on one scene


Brx
09-08-2010, 08:57 PM
Hey guys, I am trying to create a relatively simple escape the room game and along the way teach myself Actionscript. Here's my issue right now.

I have a fully working interactive room etc with an object to find. I designed a second room on a different scene and added arrows to each one to navigate between the rooms. However, when you go to "room 2" from "room 1" your inventory disappears and the moved objects revert back to their original positions.

How do I go about saving the positions and inventory between rooms? It would have to occur at the top of the code right? I'm stumped.

Thanks. :D


-Chris

mickeyp
09-09-2010, 05:26 AM
How about putting the locations of the inventory in variables and calling them when you press the next button? Maybe a screenshot may help.