You will need a variable "isDoorOpen?".
when gf clicked set [isDoorOpen? v] to [False] switch to costume [Door Closed v] forever if <<touching [mouse-pointer v]?> and <mouse down?>> wait until <not <mouse down?>> switch to costume [Door Open v] set [isDoorOpen? v] to [True] else switch to costume [Door Closed v] set [isDoorOpen? v] to [False] endHope it helps!
Last edited by jontmy00 (2012-06-22 09:17:06)
Offline
wahoo77 wrote:
use 2 different costumes one of a closed door and one of an open door
then use this scriptwhen sprite1 clicked//the door sprite set costume to[open door v]
That script is too buggy to be functional.
Offline