Simple Tiled Implementation - STI v1.2.3.0
Re: Simple Tiled Implementation - STI v0.7.4
Exporting to Lua reduces load times by exponential amount. Check out my Benchmark in the OP. Well worth the extra step.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Simple Tiled Implementation - STI v0.7.4
I'm sure it is! Some sort of automation in Tiled for automatically generating the Lua on save would be ideal.
Re: Simple Tiled Implementation - STI v0.7.4
You could post an issue on Tiled's issue tracker requesting such a thing.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
- hairy puppy
- Prole
- Posts: 29
- Joined: Tue Apr 22, 2014 3:34 pm
Re: Simple Tiled Implementation - STI v0.7.4
just to say 'thanks' for STI. just getting into using tiled properly, as in, actually using it too its full affect.
did get confused, as the documentation, from what i saw , did not say about lua export from tiled. but got it to work none-the-less. so thanks
this is will come in super handy now.
did get confused, as the documentation, from what i saw , did not say about lua export from tiled. but got it to work none-the-less. so thanks
this is will come in super handy now.
Re: Simple Tiled Implementation - STI v0.7.4
It isn't explicitly stated, but I think I did imply exporting to lua in the new() docs
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
- Philbywhizz
- Prole
- Posts: 24
- Joined: Mon May 13, 2013 3:17 am
- Location: Brisbane, Australia
- Contact:
Re: Simple Tiled Implementation - STI v0.7.4
I just want to say a big thankyou for STI - it has made me writting my Adventureworld game so much easier (and I've learn so much about tables in the process - I actually get it now).
Philbywhizz.com - a blog too far...
Re: Simple Tiled Implementation - STI v0.7.4
<3
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Simple Tiled Implementation - STI v0.7.4
I'm creating a top-down hack-n-slash type game, and I'm using Tiled 0.9.1 (and LOVE 0.9.1 of course) with STI 0.7.4 and everything is working really well. Perfectly in fact, except I have no idea how to get my collision_layer (Tile Layer 2) from Tiled to work with HardonCollider (Via STI). I admit I am fairly new at this, but I would be willing to write or help to write a quick tutorial (with my game as an example), to help people like me who find collision detection can be quite intimidating on this scale. If anyone can give me a detailed explanation of a solution to my problem, that would be wonderful. Thanks
Re: Simple Tiled Implementation - STI v0.7.4
Hi Permadeath,
Here's an example that might help.
https://dl.dropboxusercontent.com/u/103 ... ample.love
I'm adding individual Hardon Collider shapes for each of the tiles, which doesn't seem like a good long-term solution. For my own game, I used an object layer with polygon shapes drawn around the map borders. The way things are done in this example causes the sim to explode. Personally I prefer the built-in Box2D physics. AFAIK, Hardon Collider doesn't do collision resolution, which means if your game has walls, you'll have to figure out yourself how to keep entities from walking through walls. Box2D is a bit more complex, but it will take care of that for you. Still, only you know what features are needed for your game.
Hope this helps. Good luck!
Here's an example that might help.
https://dl.dropboxusercontent.com/u/103 ... ample.love
I'm adding individual Hardon Collider shapes for each of the tiles, which doesn't seem like a good long-term solution. For my own game, I used an object layer with polygon shapes drawn around the map borders. The way things are done in this example causes the sim to explode. Personally I prefer the built-in Box2D physics. AFAIK, Hardon Collider doesn't do collision resolution, which means if your game has walls, you'll have to figure out yourself how to keep entities from walking through walls. Box2D is a bit more complex, but it will take care of that for you. Still, only you know what features are needed for your game.
Hope this helps. Good luck!
Re: Simple Tiled Implementation - STI v0.7.4
Thanks a lot. I'll look at the example, and I appreciate the advice! Getting my head around some physics might actually be the best thing in the end anywayClean3d wrote:Hi Permadeath,
Here's an example that might help.
https://dl.dropboxusercontent.com/u/103 ... ample.love
I'm adding individual Hardon Collider shapes for each of the tiles, which doesn't seem like a good long-term solution. For my own game, I used an object layer with polygon shapes drawn around the map borders. The way things are done in this example causes the sim to explode. Personally I prefer the built-in Box2D physics. AFAIK, Hardon Collider doesn't do collision resolution, which means if your game has walls, you'll have to figure out yourself how to keep entities from walking through walls. Box2D is a bit more complex, but it will take care of that for you. Still, only you know what features are needed for your game.
Hope this helps. Good luck!
Who is online
Users browsing this forum: No registered users and 4 guests