0PX

Each frame adds the character's speedValue to the accumulator. When it exceeds 16, the sprite moves one full pixel, and the remainder is stored in the byte.

speedValue = 15
accum += speedValue
0+15 = 15
<16
0px
acc=15
+1 px
Frame
0
speedAccum
1 byte
Pixel
0
Accumulator
0