Remix.run Logo
tuzemec 11 hours ago

Nice!

A couple of years ago, I tried something in that direction[1] using Phaser[2], and it was quite fun. I used Tiled Editor[3] to create the map and some pixel art that I purchased from itch.io.

[1] - https://story.tuzemec.com (not very mobile friendly)

[2] - https://phaser.io

[3] - https://www.mapeditor.org/

Froztnova 10 hours ago | parent | next [-]

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.

nonethewiser 8 hours ago | parent | prev [-]

yo im up here https://i.imgur.com/2wlE1FS.png