Game play and repeat loops
mike at cyber-ny.com
Sun Oct 19 09:43:09 EDT 2003
I am scripting a simple animated game. An object moves across the stack
driven by commands within a repeat loop. I want to change variables within
the repeat loop when the user selects one of the arrow keys (up, down, left,
right). Basically, as the object moves across the screen, it's direction
can be changed by selecting the arrow key.
Is the use of a repeat loop for this incorrect or is there a way to insert
condition changes into the loop?
More information about the Use-livecode