If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Jul 2010
    Member #
    Hi everyone,

    Just learning AS2&3 in Flash at the moment, wondering if anyone has any samples for code that would prevent one object from coming into contact with another?
    Here's the scenario: basic exercise in class, a red square is chasing a green circle (which you control to reach a target). Have the code for this all working fine.
    What will happen though is the square will float over the target while chasing you, and I'm trying to figure out in code how I tell it to go around the target.
    There's a few quick-fixes on the web but nothing that solid, would appreciate any suggestions.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 01:01 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: