Failure depending on attribute?
I opened up a new thread because I thing now my problem is different because there is another factor which came up.
When I pressed a button for next scene my scene was always reseted or most of the time. I turned alpha colour off and said when attribute collect stars = 3, change alpha to 1, then my button for next level was showed up.
Now I deleted the task change color alpha when attribute = 3 and now it work's, why that???
I really don't understand this^^
And is there another way to change the color?
Greetings
When I pressed a button for next scene my scene was always reseted or most of the time. I turned alpha colour off and said when attribute collect stars = 3, change alpha to 1, then my button for next level was showed up.
Now I deleted the task change color alpha when attribute = 3 and now it work's, why that???
I really don't understand this^^
And is there another way to change the color?
Greetings
Comments
change attribute:
self.blue to (insert number)
self.red
and so on.
0 = none obviously.
But now still the same failure with scene change again, I created own integers (for stars.collect) and a boolean (level complete) for each level!
So, there can't be connection between the different levels, am I right?
But how is it possible that a scene can be reseted when a rule is saying when touch is pressed change scene? There is no logic to me at all...