A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: AS problem I think... :(

Threaded View

  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    63

    AS problem I think... :(

    Hi,

    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?

    Thanks for any help! I attached the KM file.

    -Dan
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center