Platformer Jumping Help

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
scrubbyguy
Prole
Posts: 2
Joined: Sat May 10, 2014 12:48 am

Platformer Jumping Help

Post by scrubbyguy »

Hi, I'm just starting to make a platformer. I used the wiki platformer tutorial to make an object jump, and then I implemented a really hacky version of hit detection for a single block.
The problem I'm having is that the jump height when you are on a block is lower than on the ground. (Max height is different)
Could somebody help me with this? Also any feedback and advice on how to make the code more elegant would be greatly appreciated.
Thank you!
Attachments
Platformer.love
(12.99 KiB) Downloaded 45 times
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Platformer Jumping Help

Post by micha »

There is a quiet complete tutorial on platformers on exploding rabbit. Unfortunately it is written for LÖVE 0.8. And the library Advanced Tiled Loader does not work for the current version of LÖVE. It is still a good read on how to implement collision detection for a tile based platformer.

Also I suggest reading The guide to implementing 2d platformers.
scrubbyguy
Prole
Posts: 2
Joined: Sat May 10, 2014 12:48 am

Re: Platformer Jumping Help

Post by scrubbyguy »

Fantastic! Thank you!
Post Reply

Who is online

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