I've been customizing Tim Moore's Asteroids game off Koolexchange. I wanted to add a fourth flying virus (asteroid originally) that originates south and travels north.
My issue is making it travel in that direction. I can usually figure out what element in the existing code I need to change to make it do what I want. I've been tearing my hair out with this one though.
I can place it's starting point where I want it at "this._y = 500;" but I can't seem to find where in the code it tells these asteroids the direction to travel? I started by copying "bolder3", pasting it and tried changing the code.
No matter what numbers or symbols I tried changing the fourth, purple virus continues to travel in a north to south direction.
Can someone show me where the virus' direction of travel is in the code?
I am guessing that direction of travel is set in the code you can get to by:
1.) Going to the keyframe called "play"
2.) Selecting the movieclip called "bolder"
3.) Clicking on the icon for "Properties of Selected Shapes"
4.) Clicking on "Actions" and click "..."
5.) Clicking the icon for "Edit Action"