Jump to content

Updating Sprites w.r.t. a physics enabled sprite


Akshar Patel
 Share

Recommended Posts

I'm making a Platformer. The player plays as an archer. I want to create the character in such a way that when the player takes aim, the head, the arms, the bow and the arrow, point to the pointer location. Currently I have a spritesheet with images drawn for different angles.

 

Is it possible to separate the components into torso, head, left arm, right arm, bow and arrow such that they themselves update to point to the location of the pointer? Also, the components need to move w.r.t. the torso which will have Arcade physics enabled.

Link to comment
Share on other sites

Almost certainly yes. I think you need to create a group and have each 'body part' as a separate element within that group. Then you will be able to animate them individually.

 

I'm not sure how you would get them to all point to a specific location though.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...