akari
akari copied to clipboard
A pixel perfect lie
The player has a running speed of 100
, this means that he moves 1.666
pixels per frame.
In reality, this causes an alternating sequence of 2, 2, 1, 2, 2, 1, ...
. As the gameplay
is scaled by 3
, this is 3
pixel difference is noticeable as some kind of stuttering.
Solutions:
- set max speed to
120
. - only draw each sprite scaled, do not round the positions to a multiple of 3.
solved by setting max speed to 120
. Still fairly annoying