Collision detection?

Started by
2 comments, last by wildbunny 12 years, 8 months ago
Im planning to build an isometric game, but given the requirements I see no need to implement a tile grid for rendering the world, instead I was thinking of just displaying one sprite for the land and multiple sprites for the level props (houses, trees...) The problem is I have no idea of a good way to handle collisions in this kind of situation.

My initial thought is to just assign rotated rectangles that somehow match the area where the collision should be

Im open to better alterantives
Advertisement
You could give them AABB and use them for collision detection just like you would a 3D game. It depends on your requirements. Sprite based collision detection obviously won't work. You need to build your game like a 3D game.
Developer for Novus Dawn : a [s]Flash[/s] Unity Isometric Tactical RPG - Forums - Facebook - DevLog
well pretty much what I was thinking.. I guess theres no other way
Hi there,

Take a look at a couple of articles I wrote on the subject:

http://www.wildbunny.co.uk/blog/2011/02/23/2d-isometric-land-breaking-out-of-the-grid/

http://www.wildbunny.co.uk/blog/2011/03/01/2d-isometric-land-%e2%80%93-breaking-out-of-the-grid-part-2/

http://www.wildbunny.co.uk/blog/2011/03/18/2d-isometric-land-breaking-out-of-the-grid-update/

:)

Cheers, Paul.

This topic is closed to new replies.

Advertisement