SPG:Characters
From Sonic Retro
Sonic Physics Guide |
---|
|
Collision |
|
Physics |
|
Gameplay |
Presentation |
Special |
Notes:
- The research applies to all four of the Sega Mega Drive games and Sonic CD.
- For moves like spindash, dropdash, peelout, flying, and gliding, these are detailed in Special Abilities.
Contents
Intro
Characters (or more generally, Player objects) are objects like any other, and share a lot of the same variables.
Each character in the Sonic games is constructed differently. While similar, they differ in size, physics constants, and move set.
The sizes of characters are important, they determine how the characters will collide with Solid Tiles, Solid Objects and more. These sizes are not directly related to hitboxes, hitboxes are separate to the solid size of objects.
For all characters, their Push Radius is always 10.
Sonic
When standing, Sonic's Width Radius is 9 and his Height Radius is 19, resulting in 19 pixels wide and 39 pixels tall.
When Jumping or rolling, his Width Radius is 7 and his Height Radius is 14, resulting in 15 pixels wide and 29 pixels tall.
Sonic's jump_force is 6.5 (6 pixels and 128 subpixels).
Tails
Tails is much smaller than the other characters. When standing, his Width Radius is 9 and his Height Radius is 15, resulting in 19 pixels wide and 31 pixels tall.
The only time this changes is when he jumps or rolls, where his Width Radius is 7 and his Height Radius is 14, much like Sonic, resulting in 15 pixels wide and 29 pixels tall.
His size is the same as standing when he flies.
Tails' jump_force is 6.5.
Knuckles
Knuckles sizes are the same as Sonic's.
Well that is except for when he is gliding, climbing and sliding.
Here, his Width Radius is 10 and his Height Radius is also 10, resulting in 21 pixels wide and 21 pixels tall. This makes him very wide but very slim compared to normal, which makes sense for his gliding pose. When falling from a glide, he uses his standing sizes.
Knuckles' jump_force is only 6, which results in a lower jump than the others.