Quote:
Originally Posted by jimwon2016
In answer to your question about using multiple lines for an If statement, I suggest you do this instead:
If CONDITION=True
Do this
Do that
Do another thing
Now this
End If
Having more than one instruction on a single line executes slower than having a list of instructions.
Regarding Hrev, I would probably just have a variable to keep track of the flipped status of the object and then check the variable....
If JUp(1)=True
If ISBOBFLIPPED=True
Bob 1,SX,SY,HRev(GUY)
Else
Bob 1,SX,SY,GUY
End If
End If
|
Wonderful thank you! I'm much more at home using If statements. Got a nice little joystick routine up and running now and great idea on the custom variable. Makes things so flexible.