Search found 4 matches

by supagu
Mon Jan 17, 2022 9:18 am
Forum: Support and Development
Topic: Platformer collision issues
Replies: 7
Views: 5054

Re: Platformer collision issues

Thanks guys. I now have this working by changing away from box2d.
I tried bump (love-physics-test-2.zip) and that was the easiest to get working. It didn't need to split x and y components, it just worked out of the box.
I also managed to get HC working with some extra code (love-physics-test-3.zip).
by supagu
Sun Jan 16, 2022 8:48 am
Forum: Support and Development
Topic: Platformer collision issues
Replies: 7
Views: 5054

Re: Platformer collision issues

I see here it looks like a similar issue has been discussed
https://love2d.org/forums/viewtopic.php?f=5&t=81075
I think the problem *might* have been solved in bump or splash physics engines?
by supagu
Fri Jan 14, 2022 3:51 am
Forum: Support and Development
Topic: Platformer collision issues
Replies: 7
Views: 5054

Re: Platformer collision issues

Thanks for the help but it is a bit unclear how you step on X then Y? Can you do a bit of pseudo code or modify the sample program I have attached?
I've built a simplified love example of the problem I am having (see attached zip file)
by supagu
Thu Dec 23, 2021 6:29 am
Forum: Support and Development
Topic: Platformer collision issues
Replies: 7
Views: 5054

Platformer collision issues

I've been working on a platformer and I am having issues where my player can't slide along the platform which is getting stuck on the edge between tiles. Source code available here: https://github.com/bit-shift-io/fido-and-kitch inn map.lua:138 I print out the rectangles for my tile collisions which...