Search found 14 matches
- Fri Oct 07, 2016 12:11 am
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
Hey Karai, it's me (sorry). So it seems like STI is doing some weird drawrender stuff and I was wondering how to disable it or correct it. Here are some screenshots: Screen Shot 2016-10-06 at 6.36.32 PM.png Screen Shot 2016-10-06 at 6.36.38 PM.png If I get a certain distance away it looks like it's ...
- Thu Sep 22, 2016 11:05 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
Alright cool I'll check it out!Karai17 wrote:Yes it does (it's in the docs). I don't have any examples unfortunately. I'm not terribly familiar with box2d. Maybe you could come and hang out in the #love IRC channel and see if someone there knows more?
- Thu Sep 22, 2016 10:55 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
Does STI check for sensor:true? Do you have any code examples?Karai17 wrote:The case of the haunted TMX file!
And yes, if you set an object's properties (collidable:true, sensor:true), then it will create a "hollow" collision (you won't bounce off of the box). This allows you to execute a callback.
- Thu Sep 22, 2016 10:12 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
I am baffled, but I'll take another look at it today after work. Okay, weird. I made a new tiled map on a different computer, and now it works. I'm so confused, but it's okay because it works. Thank you for helping me debug, sorry for bugging you about this (I am so confused as to why this happened...
- Thu Sep 22, 2016 4:46 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
This is what tiled looks like. The collisions would work sure but it would stop being an isometric map and be more of an ortho map on its corner.
- Thu Sep 22, 2016 4:03 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
That shouldn't affect it, the math is generic and should work for any shape and size. But for posterity, try adjusting your tileset in Tiled so that the tiles are 32x32 and place them the same way they are currently placed (so use twice as many tiles so it looks the exact same) and see if that fixe...
- Thu Sep 22, 2016 2:03 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
My test maps are in the STI repo, just download the repo and run it in love. main.lua has 4 different maps you can toggle. So I looked at the test map and the only difference between the two is that your tiles are squares and mine aren't. Your tiles are 184x184 and mine are 32x64. The way you're dr...
- Wed Sep 21, 2016 11:23 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
the isometric code should be fine (since your tiles are in the correct position). The issue seems to either be in box2d.lua or utils.lua. Edit: What confuses me, is that my test maps seem to work just fine (including isometric). What version of Tiled are you using? Try exporting from 0.16.0 and see...
- Wed Sep 21, 2016 10:48 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
Can you try using the bump.lua plugin (requires bump.lua!) and see if the same issue occurs? Couldn't find a bump tutorial for sti, but I can try. In the meantime I was messing around with the library and noticed that you can change the collision boxes being drawn in line 403-406 in the init.lua of...
- Wed Sep 21, 2016 10:22 pm
- Forum: Libraries and Tools
- Topic: Simple Tiled Implementation - STI v1.2.3.0
- Replies: 915
- Views: 838180
Re: Simple Tiled Implementation - STI v0.16.0.3
Hm. I must of buggered up the code somewhere then. I'll try to fix it. So I was messing around trying to figure out why it was doing that weird stretching. I made all the layers solid and this was the result: Screen Shot 2016-09-21 at 5.16.12 PM.png It looks like it's stretching the outsides and li...