[SDL] simple collision detection
Paul Lowe
pauls_lists at tetravista.net
Mon Oct 25 19:55:14 PDT 2004
I highly recommend the bitmask collision library available
on the SDL website. I've been using it in my game and not
only is it extremely fast, it's also got neat features like
per-pixel collision detection and such!
Cheers,
Paul Lowe
On Monday 25 October 2004 05:59 am, Donald wrote:
> Hi all,
>
> I would like to know if anyone has some tips of making a
> basic collision dectection function. Basically, I need a
> bounding box routine for my Lunar Lander clone so that I
> can check to see if the lander has touched a platform.
> Both the lander and the platform are surfaces in my game.
>
> Any help in the form of code snippets or links to
> websites would be great.
>
> Thanks,
> Don
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list