movement bug
Posted: Sun Sep 17, 2006 4:18 pm
I am using the arrow keys on the keyboard to control movement with a if(CollisionFree("player",argument,argument) script statement to control movement (so 8 is up, 2 is down, 6 is right and 4 is left).
1. If multiple movement keys are pressed at the same time (for example, pressing the 2 and 6 keys similtaneously) the object will sometimes continue moving after the keys are depressed.
2. If the object continues moving into a wall or corner one the movement keys (the one opposite the direction it is moving in) sometimes no longer works until after I use the movement key facing the wall. At that point the opposite movement key functions.
Jason
1. If multiple movement keys are pressed at the same time (for example, pressing the 2 and 6 keys similtaneously) the object will sometimes continue moving after the keys are depressed.
2. If the object continues moving into a wall or corner one the movement keys (the one opposite the direction it is moving in) sometimes no longer works until after I use the movement key facing the wall. At that point the opposite movement key functions.
Jason