FORUMS: list search recent posts

hitTest-problem (in Flash8)

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
hitTest-problem (in Flash8)
on Jan 9, 2007 at 4:40:41 pm

hi everybody!
I'm programming a flash-game in which the player has to navigate a ship to the coast and mustn't hit the rocks in the water.
With hitTest(getBounds...) I managed that the ship is thrown back when it hits the hitTest-field of the coast. But that doesn't work with the rocks. From some sides the ship ignores the hitTest and drives right through the rock. From other directions it works.
Does anyone know why that is? Has it to do with the form of the hitTest-field? I think it would work better if the field was bigger. But I don't want the rocks to be bigger.

Any suggestions! Thanks for your help!


Return to posts index

Sher Ali
Re: hitTest-problem (in Flash8)
on Jan 9, 2007 at 5:11:27 pm

Can you provide the code you used for the hitTest detection? That will help solving the problem.

Sher Ali

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved