Attribute Problem // Last problem in my app....Please help me
I have an actor collecting stars, and when I have colleted all of them( attribute collect=3),a button is showed up for next level, and in this button I said: When touch is pressed and mouse position is inside, change scene and change attribute "collect" to 0.
But sometimes Level 1 is reseted and sometimes I come to Level two
/
Please help me guys, I don't find a way or the problem...
But sometimes Level 1 is reseted and sometimes I come to Level two

Please help me guys, I don't find a way or the problem...
Comments
Always in Level 2 when I press go back to Level 1, my scene is only reseted. But I made an rule saying when touch is pressed change scene to Level1.
I tried to make a new attribute for Level2, but same again
It is only when I come from Level 1 to Level 2...
I recommend watching all the gamesalad cookbook videos on youtube and the videos on gs helper.com Once you watch those videos youll have a much better knowledge of gs.
I have 15 levels, and when I play level one and I collected all stars, I come trough a button to my next level. When I play Level2 and I have collected all stars, a other button is showed up, when this button is pressed scene is returned to level select scene. But when I press this button most of the time my scene (level2) only get's reseted and does not switch to Level Select scene.
I programmed in Lv1 that when scene to lv2 is changed my attribute collect is set to 0 again, and in Level two, I programmed in the Level select button that when touch is pressed, attribute is set to 0 and scene is changed, but when I press the button, the scene just get's reseted...
Please help with my failure
Thanks
I need this really, then my app is finished and ready for testing
Just one time....
I have 15 levels, and when I play level one and I collected all stars, I come trough a button to my next level. When I play Level2 and I have collected all stars, a other button is showed up, when this button is pressed scene is returned to level select scene. But when I press this button most of the time my scene (level2) only get's reseted and does not switch to Level Select scene.
I programmed in Lv1 that when scene to lv2 is changed my attribute collect is set to 0 again, and in Level two, I programmed in the Level select button that when touch is pressed, attribute is set to 0 and scene is changed, but when I press the button, the scene just get's reseted...
Please help with my failure
I also watched the videos and so on....
Thank you guys
Thanks
I have 15 levels, and when I play level one and I collected all stars, I come trough a button to my next level. When I play Level2 and I have collected all stars, a other button is showed up, when this button is pressed scene is returned to level select scene. But when I press this button most of the time my scene (level2) only get's reseted and does not switch to Level Select scene.
I programmed in Lv1 that when scene to lv2 is changed my attribute collect is set to 0 again, and in Level two, I programmed in the Level select button that when touch is pressed, attribute is set to 0 and scene is changed, but when I press the button, the scene just get's reseted...
Please help with my failure
I also watched the videos and so on....
Thank you guys
Thanks
The mouse inside are all completely emoted but still does not work
Still does not work
I removed mouse position and did what you said uptimistik but still does not work
Thank you
Just say me what to control or? Then I think the problem can be solved on my own!
In my actor in Level one I have this,
when collides with stars, change attribute star collect to star collect+1.
when star collect=3, change level one completed to true.
Save attribute star.collect, key:level1
In my next level button I have,
when star collect =3 change alpha color to 1
when touch is pressed and level complete= true
change scene level2.
Thats what I have in each level, but for level 2 I have other attributes of course,
does someone see a failure?
Greetings Alex