General Question

Kameron's avatar

Set boundaries in Flash As2?

Asked by Kameron (14points) January 9th, 2010

How can I set boundaries to where, when I click a building my guy doesn’t move over top of it. An example would be like Club Penguin, how can I make it so It isn’t walking in the air?

My Movie clip moves where the mouse clicks.

Observing members: 0 Composing members: 0

2 Answers

markyy's avatar

Try looking for tutorials that focus on the use of the hittest function. Good luck with your game.

drClaw's avatar

@markyy is right, you will likely need to use hittest. If you post a source file I might be able to help a little better.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther