Jump to content

Phaser3 Modular character + object


triztan
 Share

Recommended Posts

Hello, hope you are doing well... I'm already working with a friend on a new game with Phaser3 and we came to the question:
Which is the best way to handle modular characters + objects?
Let's say we have a boy character, the boy can take a box, when the character moves the box moves with him... I know maybe add something at the update method to change it's position would be an easy solution, but i think this can be handled by "Containers" or maybe parent > child relationship between objects?
Thanks in advance, hope i can start helping other soon with P3!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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