notnullgames / tiled-kaboom

Load maps made in Tiled into Kaboom!
https://notnullgames.github.io/tiled-kaboom/
20 stars 3 forks source link

meta-data / object-properties #6

Closed konsumer closed 3 years ago

konsumer commented 3 years ago

Object (and layer/map) properties are useful for adding other meta-data in tiled. I made some demo code for pulling properties, but it might make sense to pre-parse properties into the returned map-object, for even simpler lookups, or even pull them out into a separate objects map, so you can keep track of all of them in one place.

Relates to #1

konsumer commented 3 years ago

I'm going to close this. the example code shows how to get properties on demand, and works pretty well.