Help - Platformer Collision

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
soverin
Prole
Posts: 2
Joined: Wed Jul 09, 2014 6:17 pm

Help - Platformer Collision

Post 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.
Attachments
hoot-adv.zip
full source
(241.72 KiB) Downloaded 119 times
User avatar
Jimanzium
Party member
Posts: 103
Joined: Sun Jun 03, 2012 2:39 pm
Contact:

Re: Help - Platformer Collision

Post 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
Attachments
Platform.love
(2.47 KiB) Downloaded 156 times
soverin
Prole
Posts: 2
Joined: Wed Jul 09, 2014 6:17 pm

Re: Help - Platformer Collision

Post by soverin »

hey thanks. I'll definitely look into it. :3
The Bump lib looks very promising to me. I'll try my best.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Help - Platformer Collision

Post 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
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 5 guests