Help with Platformer Jitter

Published 2023-06-12


Hey guys! I'm doing a quick test on making a 2D platformer by using color-dependant collision. The only problem I have is what's known as the 'jitter problem', where because of gravity I need to set the player's y value over the ground, but when this happens after the player is in the ground it causes a noticeable jitter. (Try holding jump when on ground to see the effect)

Could anyone help me with this? I don't mind changing gravity and acceleration as long as it is similar. Thanks in advance! :)