How to respawn actor. (fixed)
My hero collects these static coins and I have set up a destroy actor behaviour for them to disappear,
but I have no idea how to re spawn them after a set amount of time?
Unless I shouldn't destroy them in the first place?
Comments
In your coin actor ,
if actor overlaps or collides with actor hero
change attribute self.color.alpha to 0
if self.color alpha is 0
return it to 1 whenever you want
But that only changes the colour, I think the points on collision will still be accounted for
make it so that it only adds a coin if self.color alpha = 1
Snap! He did it again :-D