Hi, i would need a help with this. If my my sprite is outside of layout more than 3 seconds, then destroy it. And if it is less than 3 seconds, keep alive
Develop games in your browser. Powerful, performant & highly capable.
perhaps you can add instance variable,, and then if "is outside layout" increment the value till 180 seconds, then destroy
man, you're killing me...
sorry it was really easy, but somebody might find it useful , thanks Both of you
you could do it like this
Why this forum doesnt have Thanks button. Thank you to all 3
ex32 Most welcome