Controlling multiple actors

Hi, I'm currently working on a 2D shooting game and was looking to have multiple weapons.
The idea I had was to make one base actor (body) and one actor for the arms with weapons.

Any ideas how to make this simple or have any examples on this ?
Thanks.

Comments

  • famekraftsfamekrafts Member, BASIC Posts: 834
    It's not that difficult, main part is getting the separate graphics ready, if ou done that, simply constrain the hand actor to the body actor using x,y position of the base actor and then simply swap the hand actor with guns etc using a real attribute.
  • LyboTechLyboTech Member Posts: 135
    Oh alright, sounds easy enough. Thanks for the help :)
  • famekraftsfamekrafts Member, BASIC Posts: 834
    You have to do some + - in x and y to make the position exact. So self.positin.x = x + 10 etc.
Sign In or Register to comment.