walking inside a specified area

  • mayoarm11
  • Born
  • Born
  • mayoarm11
  • Posts: 1

Post 3+ Months Ago

hello. I have 2 MC's - one of my main character, and one of a specific area, I wish to confine my MC in. My main character has the ability to move (lol) and I do not wish for him to move outside of the boundaries of the second movie clip. Now this would be very easy if the second movie clip would be rectangulary (sp?) shaped - but it's not unfortunately. I was wondering if there is some kind of function similar to hitTest that compares the two MC's pixel by pixel, rather than setting the second MC's boundaries as a rectangle around it.
For example, what if my second MC is oval shaped, with no filling - like the '0' symbol for example...
If it that is impossible (i doubt it is but w/e), then this is a approximately what my second MC looks like:
http://img91.imageshack.us/img91/9477/11 782324hw6.gif

thank you in advance for any of your help. This is my first post, and hope that my question will get answered, and that I will be welcomed into the ozzu community.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 15 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.