Results 1 to 4 of 4

Thread: 2D Collision Avoidance Demo

Threaded View

  1. #1

    Thread Starter
    Addicted Member ChuckB's Avatar
    Join Date
    Jul 2002
    Location
    South Carolina, USA
    Posts
    157

    2D Collision Avoidance Demo

    Hi,
    I have been playing with the ability to detect when the mouse cursor collides or enters a box (building) and when the box is placed between the mouse cursor and various objects (characters).

    The attached program allows you to move 5 objects with the cursor keys. Movement of the mouse draws connecting lines and indicates which object's 'line of sight' is blocked by the building.

    For you gamers, there may be some helpful stuff in this small demo. This has helped me...I thought it might be helpful to some of you.

    Regards,
    ChuckB
    Attached Files Attached Files
    I learn Robotics, Electronics and Game Programming at http://www.gameinstitute.com

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