acleverpun / letsgoonanadventure

Adventure game prototype built from our skeleton
0 stars 0 forks source link

Make Tiled utility #24

Open rosshadden opened 9 years ago

rosshadden commented 9 years ago

We should have all of the functions that interact with Tiled maps be pulled out into a utility module.

And more should be added, like a generic function that parses and normalizes properties. All custom properties in Tiled are strings, but we can and should convert them smartly. Eventually maybe even convert things to our own classes, in addition to primitives.

rosshadden commented 9 years ago

Maybe and/or a tiled Nixon, which not only parses and normalizes properties, but sets them in a uniform way on said entity.

rosshadden commented 9 years ago

Needs to address the offset issue explained in #21.