zelcard Posted January 11, 2020 Share Posted January 11, 2020 I've created an Object Layer in Tiled, added two enemies and gave them custom properties, but after creating enemies using createFromObjects and no matter what I do I can't seem to access those custom properties I added in Tiled. What am I doing wrong? Already tried: sprite.properties.propertyName - not working, says propertyName doesn't exist. sprite.properties[propertyName] - not working, says propertyName doesn't exist. sprite.propertyName - not working, says propertyName doesn't exist. Anyone can help? Link to comment Share on other sites More sharing options...
Recommended Posts