Hey guys,
I am trying to get this working, I want to have an object that is broken up into 2 parts the head and the body…each with their own touch events… Sounds simple and I have it working somewhat simply by adding event listeners to each part of the body(they are seperate images) however I need to be able to group those images together so they move together when the object moves…simple enough I put them in a group…now I also need to put the group(containing the head and body) into another group for the level specific stuff…this is where the problem arises as you cant(that im aware) but a group into another group…
Now a few questions
Is there any way you can have one touch event for the whole object(body and head) and somehow get the actual touch point and call different functions according to where they player touched?
Is there any way to easily “attach” 2 objects together without grouping them so that i can manipulate their coordinates while still having them in the large level group(containing multiple head and bodies)?
If this is confusing or more info is needed please let me kno and thanks in advanced! [import]uid: 141138 topic_id: 25850 reply_id: 325850[/import]
[import]uid: 52491 topic_id: 25850 reply_id: 104614[/import]