I want to create movement in a movieclip when an arrow key is pressed. I want the movieclip to start moving and not stop until a hitTest recognizes a collision with another object and then tells it to stop. I want the key to only have to be pressed once to start movement and not have to stayed pressed down. How would I do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Movement started with key press and not stopped until collision detected
|
0 | 97 | February 5, 2005 | |
hitTest problem! | 5 | 57 | July 25, 2003 | |
AS2: key presses and moving a movieclip | 0 | 75 | February 12, 2009 | |
Need help with some hittest code | 0 | 85 | May 17, 2008 | |
Not sure what to call this problem
|
0 | 75 | March 13, 2008 |