Complete Scene Reset
adamrnj
Member Posts: 19
I'm getting really lost in this one. Any tips would be appreciated.
So I have a game level where the initial image of an enemy gets changed to another image.
Once it changes I hit a menu button that I created that takes me to a scene where I can choose a different level.
When I choose the same level I came from the level loads up with the second enemy image (instead of the original one as specified as a source image for the enemy's initial state). Somehow GS remembers the image change when it leaves the scene and then comes back to it. Is there a way in GS to make sure the scene is starting as it if were started the very first time?
Thanks,
Adam
So I have a game level where the initial image of an enemy gets changed to another image.
Once it changes I hit a menu button that I created that takes me to a scene where I can choose a different level.
When I choose the same level I came from the level loads up with the second enemy image (instead of the original one as specified as a source image for the enemy's initial state). Somehow GS remembers the image change when it leaves the scene and then comes back to it. Is there a way in GS to make sure the scene is starting as it if were started the very first time?
Thanks,
Adam
Comments
Post a screenshot of the rules you're using to change your actor's image and also the rules you're using to change scenes.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
This is what's happening:
1. I load a scene
2. The actor is moving
3. Something in the game happens that triggers change of his image
4. I click on a 'Level select' that takes me to the main level select scene
5. I go back to the scene in #1 and that's where the actor has the second (changed image) rather than it's original image as it was placed on the scene during scene design.
1. Scene/Level select scene that takes me to the level below (#2)
https://drive.google.com/file/d/0B8soXHwUy6Z6dG9zWENzSVd5ODQ/edit?usp=sharing
2. Changing actor's image during the game:
https://drive.google.com/file/d/0B8soXHwUy6Z6cVl6SG1FVlY5ZHc/edit?usp=sharing
3. Back button that takes me to a game select scene (#1) from the above scene (#2)
https://drive.google.com/file/d/0B8soXHwUy6Z6bWpzWC03bjJiSHM/edit?usp=sharing
Hope this will help with clarifying my issue.
Just tell me how your triggering the image change..how does it know which image to use?
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Thanks
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
is there a way just to reset the current scene without jumping back to the initial scene order or what ever scene is first in line, this is a bug in gamesalad, which realy needs attention, as far as im concerned