Showing up an image when pressing a button to reset scene?
Hey guys,
I was thinking about the issue to add a black screen for a short moment when pressing a reset (reset scene) button, to make it look more cooler, I thought of saying in the reset button:
when touch is pressed and mouse position is inside, change attribute game.change to game.change+1
timer (after 0,1sec) change attribute back to 0.
Then I dragged in a black picture in my game. And I set it's alpha to 0 and added this rule:
When attribute game.change = 1
Timer (for 0,1sec) change attribute self.colour.alpha to 1
Timer(after 0,1sec) change alpha back to 0
I am trying and thinking about another methode but I don't come to a solution
But somehow this does not work..can someone help me?
I was thinking about the issue to add a black screen for a short moment when pressing a reset (reset scene) button, to make it look more cooler, I thought of saying in the reset button:
when touch is pressed and mouse position is inside, change attribute game.change to game.change+1
timer (after 0,1sec) change attribute back to 0.
Then I dragged in a black picture in my game. And I set it's alpha to 0 and added this rule:
When attribute game.change = 1
Timer (for 0,1sec) change attribute self.colour.alpha to 1
Timer(after 0,1sec) change alpha back to 0
I am trying and thinking about another methode but I don't come to a solution

But somehow this does not work..can someone help me?