Need help with making my player reappear
In my game, I would like my player is hidden in a pot or barrel (an object).
my player is logically destroyed, when in contact with an object such as the pot.
But how to get it back (take it out of the pot), because my player is previously destroyed.
He must have a solution to my problem.
my player is logically destroyed, when in contact with an object such as the pot.
But how to get it back (take it out of the pot), because my player is previously destroyed.
He must have a solution to my problem.
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Or you can just create a self attribute (boolean) called Active. create a rule that says when Active is false change self.color.alpha to zero and when True change self.color.alpha to 1. As well as if there are any movement or sounds etc to be on/off depending on Active state. Then fire off a rule that says when actor is to be hidden to change self.active to true and false when the actor is to return.