Setting up collision using a tilemap and cocos2d
- by James
I'm building my first platformer using cocos2d and a tilemap. I'm having trouble coming up with a decent way of determining if the character is colliding with an object. More specifically, in which direction is the character colliding with an object.
Following the tutorial here, I have made a separate "meta" layer of collidable tiles. The problem…