I’ve got an objects layer in Tiled, and I’ve assigned a few objects a specific type.
In this case I’ve assigned them a type of “block”.
I want my player to collide with these “blocks”.
The thing I need help on, is how to loop through the object layer and only loop through objects of type “block” ?
However that just gets a single block, and it’s only looking by name.
I want it so, it looks for every object in my objects layer in tiled with type “block”
**Note:* I’m using win32