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!
Platformer Jumping Help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 2
- Joined: Sat May 10, 2014 12:48 am
Platformer Jumping Help
- Attachments
-
- Platformer.love
- (12.99 KiB) Downloaded 45 times
Re: Platformer Jumping Help
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.
Also I suggest reading The guide to implementing 2d platformers.
Check out my blog on gamedev
-
- Prole
- Posts: 2
- Joined: Sat May 10, 2014 12:48 am
Re: Platformer Jumping Help
Fantastic! Thank you!
Who is online
Users browsing this forum: Bing [Bot], bostonstrong567 and 3 guests