Hi folks. I’m new with Phaser and not too experienced with gamedev. I’m curious how should I handle multiple game objects which are parts of some logical whole.
For example: I have character consisting of two sprites. head and body. What is a proper way to code it? Should I subclass Game Object and use composition? Or should I use composition with vanilla object? Or something else? What is Phaser-way?