Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17079

How do I use Tiled custom properties?

$
0
0

@WhackingMuffin wrote:

I've been following this tutorial on how to make a turret defence game. I understand most of it but I'm having a lot of trouble using Tiled's custom properties.

I have a tile with the property "buildable" and the value "True". I want to check the value is true before I can add a tower using the method canBuildOnTilePosition() as shown in the tutorial.

Can anyone give a code snippet or explain how to get the property, and the value?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>