Closed ChrisBuchholz closed 10 years ago
Hi @ChrisBuchholz. There is not currently any way to directly get at the tile objects in the way you are proposing. I'll add it to my list of things to do. In the meantime, let me know if you get it taken care of.
Also note that with issue #12 I've added the name to tile objects, so you can get at the sprite of a given object much easier.
@ChrisBuchholz did the solution for Issue #12 take care of this for you?
Yes, it got me through the problem anyways. Thanks for the tip!
Perhaps it's already implemented, but I fail to see a way to detect collisions with objects, like you do with tiles.
For detecting collisions with tiles in a particular tile layer, I run this snippet of code from my -(void)update:(NSTimeInterval)currentTime method
This doesn't work using an object layer instead of a tile layer.
Is there a proper way to detect collisions with objects? If not, I should give it a go at implementing it!