Reset game failure??
Hey,
I have 10 levels and always when finishing one a save attribute rule. So when I finish level2, and go back in main menu and then again go back to play I get moved to level3.
But when pressing a reset button, these attributes etc. do NOT get set back to 0 ..
why that? Isn't that the sense of reset?
thx
I have 10 levels and always when finishing one a save attribute rule. So when I finish level2, and go back in main menu and then again go back to play I get moved to level3.
But when pressing a reset button, these attributes etc. do NOT get set back to 0 ..
why that? Isn't that the sense of reset?
thx
Comments
when touch (reset button) is pressed:
chnage all my attributes back to whatever AND reset game?!
Or am I wrong?
So if you had an attribute that was set to 0 at the beginning of the game, you have to change it back to 0 for a reset.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Then in my reset button, I have:
touch is pressed
change attribute remember me to 0
reset game
Then when I come back in my start scene, remember me is still the latest value
Please help...
Oh ya!... Heres an example:
(DONT DO THE TOUCH THING BTW)
- Create Rule
- When game.playerhealth = 0 change scene to "You lost"
- "Reset Game"
- Change game.playerhealth = 3
--
Hope this helps!!
---------------
Posted by LeonardDeveloper, contact me on thermoapps@gmail.com
Be sure to visit my website: http://www.thermo-apps.com
Weekly freebies on my website!, Head on over there to catch this weeks one!!
----------------------------------------------------
Yours Sincerely,
Jack Leonard
I don't have a players health
and replace the numbers with your attribute numbers,
---------------
Posted by LeonardDeveloper, contact me on thermoapps@gmail.com
Be sure to visit my website: http://www.thermo-apps.com
Weekly freebies on my website!, Head on over there to catch this weeks one!!
----------------------------------------------------
Yours Sincerely,
Jack Leonard
I don't understand what you mean
Can you maybe say it more specific using my attribute "remember me"
thx
- When game.rememberme = 0 change scene to "You lost"
(In you lost scene when the retry button is pressed)
-Create rule
- "Reset Game"
-Change attribute>>
- Change game.rememberme = 3
--
---------------
Posted by LeonardDeveloper, contact me on thermoapps@gmail.com
Be sure to visit my website: http://www.thermo-apps.com
Weekly freebies on my website!, Head on over there to catch this weeks one!!
----------------------------------------------------
Yours Sincerely,
Jack Leonard
when reset button is pressed change scene to Reset scene
there I have:
reset game
change attribute
but still it doesn't get set back to 0
I think it is because of the load attribute at the start scene
- Create Rule
- When game.rememberme = 5 change scene to "You lost"
Go onto the reset button
When button is clicked by mouse button or touched do the following
(In you lost scene when the retry button is pressed)
-Create rule
- "Reset Game"
-Change attribute>>
- Change game.rememberme = 0
--
And I have to use when remember me is greater and equal 2 ( thats the first value after zero)
I think the load attribute at the beginning of the scene is th problem
---------------
Posted by LeonardDeveloper, contact me on thermoapps@gmail.com
Be sure to visit my website: http://www.thermo-apps.com
Weekly freebies on my website!, Head on over there to catch this weeks one!!
----------------------------------------------------
Yours Sincerely,
Jack Leonard
When level 1 is finished, remember me is set to 2, lv2 is finished to 3 and so on..(and there is also a save attribute behavior)
In the start scene I have Load attribute remember me.
The aim is that when the player finishes lv1 and then gets back to the main menu and then decides to play again he automatically gets to lv2.
And when using reset game, I change this attribute back to 0. But then in the main menu, the attribute gets automatically loaded to the last value.
That's all, I hope you understand...
---------------
Posted by LeonardDeveloper, contact me on thermoapps@gmail.com
Be sure to visit my website: http://www.thermo-apps.com
Weekly freebies on my website!, Head on over there to catch this weeks one!!
----------------------------------------------------
Yours Sincerely,
Jack Leonard