Page 1 of 1

Help - Platformer Collision

Posted: Wed Jul 09, 2014 6:34 pm
by soverin
hey,

I'm trying to program a small platformer-game with owls :crazy: for my gf.
Apparently, I can't get past the collision detection problem. I don't really get, how the hardoncollider lib works.
I tried various combinations, but nothing useful happened.
You'll find the full source below.

Image

Could someone please help me out? :?
It's probably something reaaaally simple, but I'm not seeing it.

Re: Help - Platformer Collision

Posted: Sun Jul 13, 2014 5:50 pm
by Jimanzium
Hi, I haven't used Hardon-collider myself but if all you want is a "small platformer-game" I don't think you're really going to need it. Hardon will most likely over complicate it. Sorry I can't help much but if anything this'll atleast bump your post and I have attached a platformer example/template that doesn't use any libs if you want to take a look at that.

Edit: Kikito's Bump.lua might be better for you than Hardon, viewtopic.php?f=5&t=9489

Re: Help - Platformer Collision

Posted: Tue Jul 15, 2014 7:00 pm
by soverin
hey thanks. I'll definitely look into it. :3
The Bump lib looks very promising to me. I'll try my best.

Re: Help - Platformer Collision

Posted: Tue Jul 15, 2014 9:05 pm
by kikito
Note that the post linked by Jimanzium is for an older version of bump.lua. The current one is simpler to use and more efficient. Its post is here:

http://love2d.org/forums/viewtopic.php?t=78086&p=170208