Hi all,
I have a large number of sprites They're instanced into my level scene. As I added them to the level scene, I added each one to a group, called "bricks".
So as it stands, I have a level, there are about 300 of these sprites and they are all in the "bricks" group.
I want to parse through each "brick", retrieve its statistics and do specific work on each one.
Everywhere I look when researching a solution is groups and in particular is_in_group()
.
The problem is I can only find the ability to use this if there is a collision. For example: body.is_in_group("group name")
comes up a lot. I'm not using collisions though.
Is there a way to parse over the items in my "bricks" group without collisions happening? It MUST be something simple but I've spent an hour looking and have had no luck.
Any advice would be really appreciated.