Search found 27 matches

by pevzi
Wed Jan 28, 2015 1:04 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.5

Well, I'm still concerned about that flipping bug (or a bunch of bugs to be exact). First of all, there is still no handling for the case when all three flip bits are set. Here's the solution, I guess. Secondly, the implemented scale/rotation shift compensation method does not work correctly for two...
by pevzi
Sat Nov 01, 2014 8:25 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

I think so too. Anyway the compensation method should be changed in some way because it doesn't work as intended.
by pevzi
Sat Nov 01, 2014 8:06 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

There's another fix I've made but I'm really unsure about this one. The trivial part: at the line 475 there was a missing case of all three bits set. The more dubious part: I've made use of "origin" arguments of SpriteBatch:add to correctly rotate and flip quads (and also to correctly gene...
by pevzi
Sat Nov 01, 2014 3:23 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

Sorry for a delay. I've also found a bug (flipped tile objects caused STI to crash) and tried to fix it in a reasonable way. So here is the pull request, hope it's not too ugly.
by pevzi
Fri Oct 31, 2014 6:48 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

Ow, this sounds like some superfluous work to be honest. What's wrong with the "setUserData" approach? Just made a quick hack of the STI source code to implement this and it works fine and seems to be pretty convenient for me.
by pevzi
Fri Oct 31, 2014 6:19 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

1) Yes, you can access a tile's properties. If you want to set a custom property in tiled for a door tile called "door" then you can look for that property during a collision. Sorry, still don't understand how to access a tile itself. In a callback I have two Fixtures and a Contact, so wh...
by pevzi
Fri Oct 31, 2014 4:04 pm
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372871

Re: Simple Tiled Implementation - STI v0.9.2

First of all, thank you for a great library, definitely going to use it in a game of mine. But I'm still unsure about several things related to its usage. Sorry if these are too silly or already answered but I've read the entire thread and these things are still unclear for me. 1. Is it possible to ...