MechanicsTechniquesGamesGenresGlossaryResearchClaimsSourcesSearch
Source · Secondary · guide

Sonic Physics Guide: Calculations (Pixel and Subpixel)

Sonic Retro contributors. n.d. “Sonic Physics Guide: Calculations (Pixel and Subpixel).” Sonic Retro.

Cite as
Sonic Retro, “Sonic Physics Guide: Calculations (Pixel and Subpixel)”
Original
https://info.sonicretro.org/SPG:Calculations
sha256
d8b4604923cae80ef37fc50a94c90b6fb6bdea56e21168ecad4ce5fd3e1a679c
Archived
https://web.archive.org/web/20251008002715/https://info.sonicretro.org/SPG:Calculations
Accessed
2026-10-20
Credit
Sonic Physics Guide, written and maintained by the Sonic Retro community.

Cited on

  • Fixed-point arithmetic
  • Gravity
  • Subpixel
  • Variable jump height

Claims (1)

In the running game, the object fall routine and the speed-to-position routine move Sonic's 32-bit position each frame by his speed shifted left 8 bits, X by this frame's X speed and Y, in the air, by the Y speed before gravity, so positions are 16.16 and speeds 8.8 fixed point.Pixel and SubpixelVerified
AboutFeedbackSupportFor AI agentsCredits