Making a collision detection system

Posted by Sri Harsha Chilakapati on Game Development See other posts from Game Development or by Sri Harsha Chilakapati
Published on 2012-10-13T15:47:09Z Indexed on 2012/10/13 15:55 UTC
Read the original article Hit count: 247

Filed under:
|

I'm very new to game development (just started 3 months ago) and I've learning through creating a game engine. It's located here. In terms of collision, I know only brutefoce detection, in which case, the game slows down if there are a number of objects. So my question is How should I program the collisions?

I want them to happen automatically for every object and call the object's collision(GObject other) method on each collision.

Are there any new algorithms which can make this fast?

If so, can anybody6 sh6ed some light on this topic?

And I think of making it like the game maker

Thanks

© Game Development or respective owner

Related posts about java

Related posts about collision-detection