Tilemap collision detection

Tilemap collision detection
0.0 0


Tilemap collision detection is so hard.
Is there any examples? I’ve seen some java and object-c examples, but i’m not family with those languages, I only know js. It seems the official test examples doesn’t have tiled map collision dection.


Cocos2d engine doesn’t integrate Tilemap collision in default. I think it is better to implement by yourself.

You may add a data layer in Tilemap editor which can release some collision attribute data for your tilemap.


Oh, but this feature is needed in lots of games. I believe it should be a standard function for a 2d game engine, don’t you? Strongly recommended.