Hi, I’m currently learning the various aspects of platformer development in Phaser. I’m currently working with shapes in place of images as I’m just learning the specifics of platformers (adding platforms, camera movement, player movement, etc).
I would now like to create a group of circle shapes so I can add collectable items to a scene, where by the player can collect them. I already know how to add a collider or overlap for the player to collect the shape item.
What I don’t know is how to create a group of shapes so I can manage them collectively.
I’ve looked at the Group and Arcade Group classes documentation and as far as I can tell, they only work with image/sprite assets and not other game objects.
Any help would be much appreciated.
Thanks.
Edit: I would like to take advantage of the group class’ repeat feature.