This is a lengthy story, so bear with me.
I am making a RPG. In the game, their is a flight of stairs (a sprite) which represents going upstairs. There are two costumes: One just regular stairs, the other (costume 2) says " press space to go upstairs".
The problem is, I want this: if the main sprite comes a certain distance to the stairs, it should change to costume 2.
Help!
Offline
In staircase sprite:
when gf clicked forever if<(distance to [main sprite v]) < (certain distance)> switch to costume [costume 2 v] else switch to costume [costume 1 v] end
Offline