Remix.run Logo
Froztnova 10 hours ago

Tiled is really great. I'm using it in a project that I occasionally poke at as well, only with Love2D, and as a sidescroller sort of project. I was impressed by how easy it was to set it up to work with my game in spite of how generic it is.

The functionality to export directly to lua source files was a particular treat, though there are probably situations where you'd want to still just use json or one of the other formats supported by Tiled even when working in a lua project.

krapp 10 hours ago | parent [-]

Anyone trying to implement the Tiled API probably needs to reference this: https://eishiya.com/articles/tiled

It's a bit vague in some places (I'm still not exactly sure how parallax is supposed to be implemented) but absolutely worthwhile.

Froztnova 10 hours ago | parent [-]

I'm not sure if it's the proper method, but I actually did implement parallax in my project, though I just did it by essentially creating a layer which I marked as parallax and then had my game draw it with a parallax offset from the rest of the map depending on the camera position.

https://doc.mapeditor.org/en/latest/manual/layers/#parallax-...

These docs do seem to go more in depth about the canonical values related to parallax that Tiled offers though.