2356
Ask a Question / Re: change character bwtween scenes
« on: July 25, 2013, 01:45:54 am »
If it were me this is what I would do.
1. Create two global lists
2. For each of them store the: xposition, yposition, scene they are in, Items collected (quantity and whether unlocked)and any other things you may need.
3. In the scene create an event that when the scene is created, create a player actor at the given position (drawing info from the global list).
4. When the scene is switched, to do this you store the current info in the second list and switch to the scene given in the first list.
(sorry if this seems a bit hard to understand, just tell me and I will reword it.)
1. Create two global lists
2. For each of them store the: xposition, yposition, scene they are in, Items collected (quantity and whether unlocked)and any other things you may need.
3. In the scene create an event that when the scene is created, create a player actor at the given position (drawing info from the global list).
4. When the scene is switched, to do this you store the current info in the second list and switch to the scene given in the first list.
(sorry if this seems a bit hard to understand, just tell me and I will reword it.)