Actore image resets to original when changing scenes
RedCubeGames
Member Posts: 37
(I am BEGINNER with gamesalad) Hello I have small problem. I have one actor that is on my main scene (Sound on) that changes image when i press it (Sound off). My problem is now when i change scene to next and then i come back to main scene my actor is reset to original (Sound on) . So i want my actor to remember he was pressed (Sound off) and when i change scenes and come back to main scene he is still pressed (Sound off). If someone could explain me in detail what i need to do?
Comments
Make a boolean that says 'Sound'(or whatever). Then put in your rules "Timer: Every 0" Rule: "if attribute Sound is true" :do: "Change Image to SoundON" - :else: "Change Image to SoundOff". Then make another rule that says Rule: "Touch is pressed" "Attribute Sound is false" :do: "Change attribute Sound to true". Then another that says Rule: "Touch is pressed" "Attribute Sound is true" :do: "Change attribute Sound to false"
Thank you very much, but I have few questions @jdlcrater ...
@Thunder_Child could you maybe try to explain me how to make this work, and i really need detailed explanation.. I am searching for solution over 5 days and nothing. PLEASE HELP ME! I AM DESPERATE
@RedCubeGames I made you a little demo. I hope it´s what you´re looking for.
Click the button to switch on/off. Change scene and go back, and the button stays how you left it.
Made with Mac creator 0.13.7
Mental Donkey Games
Website - Facebook - Twitter
@NipaDidIt People like you make this world a better place!!! I AM EXTREMELY GRATEFUL on this demo you made for me, it works flawless! you will be awarded for this help! I won't forget it
No problem. You´re welcome
Mental Donkey Games
Website - Facebook - Twitter
Well thanks for asking my help...but I was busy and did not see your tagging me in this thread. I'm glad @NipaDidIt was able to find a solution for you.
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing