Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Movement collision

A topic by ghosteon created 83 days ago Views: 40 Replies: 2
Viewing posts 1 to 3

I believe your collision system works based on distances, but since the length of my character's animations can vary, it's causing issues — the character always looks like they're falling and not making contact with the ground. How can we fix this?

My character uses a bottom-centered origin, so I had some trouble integrating it. I have a lot of animations as well. Do you have any advice?

Developer

I suggest using a rectangle as the collision box and drawing the character and its animations on top of them, instead of using the actual sprites as the collider.