For the key, you'll need something like this:
when gf clicked set [key v] to (0) show wait until <touching [character v]?> set [key v] to (1) hideAnd you'll need something like this for the door:
when gf clicked forever if <(key) = (0)> show else hide endI hope that this helps!
Last edited by ErnieParke (2012-08-26 17:55:30)
Offline
ErnieParke wrote:
For the key, you'll need something like this:
when gf clicked set [key v] to (0) show wait until <touching [character v]?> set [key v] to (1) hideAnd you'll need something like this for the door:when gf clicked forever if <(key) = (0)> show else hide endI hope that this helps!
Thanks!!
Offline
zammer990 wrote:
when I receive [new level v] hide wait until <(key) = (1)> showwould be a simpler way
I know, but this would allow you to add special effects.
Ex. Rainbow doors.
Offline