Hi,
I'm trying to achieve something like this (pseudocode), but this doesn't seem to work:
It's about the (state & not STATE_LEFT), I don't think it works that way. Can anyone give me his/her input on how to fix this?
SQD
I'm trying to achieve something like this (pseudocode), but this doesn't seem to work:
If (keyhit(LEFT) and <b>(state & not STATE_LEFT)</b>) OR (keyhit(RIGHT) and (state & STATE_LEFT)) and not "turning" then state :+ STATE_TURNING do "turning"... etc end if
It's about the (state & not STATE_LEFT), I don't think it works that way. Can anyone give me his/her input on how to fix this?
SQD