Collisions on complex map 2D
Posted
by
waxx
on Game Development
See other posts from Game Development
or by waxx
Published on 2012-12-17T09:17:04Z
Indexed on
2012/12/17
11:14 UTC
Read the original article
Hit count: 233
2d
|collision-detection
I'm currently thinking about collision and map system that I want to use in my next game and I'm kind of puzzled. Maps are going to be somewhat complex with lots of irregularities and thus tiling is out of question.
I thought about an editor where you'd draw rectangles on the map that would represent areas that are collidable with and then saving such "collision map" with only black/white gfx. Or maybe should I save exact rectangles data with their x/y/width/height into some text file and go from there?
What would you recommend? Thanks.
© Game Development or respective owner