Page 1 of 1

What's a clean/simple way to do side-scroller collision?

Posted: Sun Jan 10, 2010 5:37 am
by Fourex
I'm experimenting with a side-scrolling game. I can't figure out a good way to check when my main character is running into walls, or on the ground. I need a way to check if he is hitting his left, right, bottom, and top sides. Does anyone know of any tutorials, or examples? It doesn't really need to be for Love specifically, I just need a basic method. Thanks in advance!

Re: What's a clean/simple way to do side-scroller collision?

Posted: Sun Jan 10, 2010 6:22 am
by bmelts

Re: What's a clean/simple way to do side-scroller collision?

Posted: Sun Jan 10, 2010 7:08 am
by Fourex
Thanks!

EDIT: Woah, this, and the other tutorials on that blog, are basically everything I will ever need to know for platformer collisions...