I can’t find a way to get the properties of an object from a CCTMXObjectGroup.
Say I have two objects in a tilemap object layer. The group layer name is Players. Each object in that layer has the attributes: “name”,“type”,“x”,“y”,“width”,“height”.
Now each of these objects have a property “name” and “value”
Example:
I need to get the value of “PlayerNum” from the properties, but I can’t figure out how.
Does anyone know how to do this?
Thanks