A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Parking Game collisions problem

Threaded View

  1. #3
    Member
    Join Date
    Jul 2012
    Posts
    39

    Post

    Well just make it not move only if it is moving. This can be done with a simple if statement... Example:

    Code:
    if (moving)
    {
        if (collision())
        {
            stopIt();
        }
    }
    Last edited by Gogafem; 08-02-2012 at 07:30 PM.

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