Skip to main content

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

Pixelated Pope

I changed TDMC code in my game and the example project to use precise tile collision and noticed that if  you move diagonally against tile wall, the player kind of studders, which looks odd. 

This does not happen with the object based collision. Have you noticed this? You wouldn't happen to have any idea how to fix that?

It is noticeable at sub pixel speeds, 1.25 for example

Yup 1.25 is sort of the worst speed imaginable for my system.

I DO have a solution... but oh boy, is it weird.

I probably need to write another blog post on the solution, but I don't know when I'll have time for that.

In the mean time, try picking a move speed that doesn't stutter too bad, or just "deal with it" until I can get the post up.

The fix should slot in pretty easily to any existing tile based collision system, so you shouldn't have to worry about continuing with your project and finishing it later.

thank you for the quick reply!
Good to hear that you have something in the works already ;) - can't wait. 

Yup.  It's a rare nitpick, but one I was prepared for... it's just not an easy to consume fix so it isn't something I was willing to include in the asset for people who probably wouldn't even want/need it.