Be a Supporter!

hit test?

  • 149 Views
  • 1 Reply
New Topic Respond to this Topic
demon-pup
demon-pup
  • Member since: Nov. 23, 2008
  • Offline.
Forum Stats
Member
Level 03
Blank Slate
hit test? 2009-03-22 18:30:37 Reply

excuse me? how do you make a hitTest? Say example you have a speed of 10, and you use a hitTest to determine if you hit a wall...what would the code be to make it 0?
I hope to hear from you soon.

Your help is very much appreciated.

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to hit test? 2009-03-22 18:32:56 Reply

speed=0; ???

You're going to have to post more of your code (and associated info like instance names of MCs) if you want more help.

In the meanwhile, check these:
AS: Collisions by Glaiel_Gamer
AS: Collisions - Boundaries by Spamburger
AS: Collisions - Circle To Shape Hittest by 23450
AS: Collision Detection by BleeBlap
AS: Collisions - HitTesting Duped MCs by SpamBurger


- - Flash - Music - Images - -

BBS Signature