Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: collision detection
From: dave evans
Date: Wed, 5 Apr 2000 19:38:13 +0100

I'm trying to develop a simple car racing game. I have the 'car' mc moving
at the bottom of the screen as a mouse tracker confined to a rectangle one
pixel high but the width of the screen. I need to find a way of telling the
car mc to go to the crash sequence of the timeline when it collides with
oncoming mc's (trees etc).

I've tried a loop detecting if the pointer is near the oncoming mc's, but it
doesn't work because the car mc is confined to the bottom of the screen but
the pointer can be anywhere....

Any help would be a life saver...or a point in the direction of a
tutorial....I've tried mooks and the flash academy tutorials, to no avail.

Thanks,

dave
daveatpetspark [dot] com
mrhumantorchathotmail [dot] com










flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpatchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: collision detection, Glen Rhodes

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]