Pergunta

I have this small project HERE. Right now it barely does anything but make the character move.

I move the character by using <s:Move>. Now as you can see on the link to my project page, it moves to where you point the mouse and click. I want to be able to stop the character from moving if it hits another object or in this case, the "tree". Is there a script in AS3 that will let me detect collisions or controls that are overlapping each other?

If my question is a bit lacking information, please comment back here and I'll update it with more details as you need.

Please and thank you!

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top