Actions

Difference between revisions of "SPG:Characters"

From Sonic Retro

m (Extra info in intro)
m (General improvements)
Line 4: Line 4:
 
*''For moves like spindash, dropdash, peelout, flying, and gliding, these are detailed in [[SPG:Special_Abilities|Special Abilities]].''
 
*''For moves like spindash, dropdash, peelout, flying, and gliding, these are detailed in [[SPG:Special_Abilities|Special Abilities]].''
  
==Intro==
+
==Introduction==
Characters (or more generally, Player objects) are [[SPG:Basics#Objects|objects]] like any other, and share a lot of the same variables.
+
Characters in game are are [[SPG:Basics#Objects|objects]] like any other (the guide will refer to an in game character object as "the Player", or "Player objects"), and use 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.
+
However, each character in the classic Sonic games is constructed differently. While similar, they can 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 [[SPG:Hitboxes|hitboxes]], hitboxes are separate to the solid size of objects.
+
The sizes of characters are important, they determine how the characters will collide with [[SPG:Solid Tiles|Solid Tiles]], [[SPG:Solid Objects|Solid Objects]] and more. These sizes are not directly related to [[SPG:Hitboxes|hitboxes]], hitboxes are separate to the solid size of objects.
  
For all characters, their '''''Push Radius''''' is always ''10''.
+
Note: For all characters, their '''''Push Radius''''' is always ''10''.
  
 
==Sonic==
 
==Sonic==
 
[[Image:SPGSonicSizes.gif|link=Special:FilePath/SPGSonicSizes.gif]]
 
[[Image:SPGSonicSizes.gif|link=Special:FilePath/SPGSonicSizes.gif]]
  
When standing, Sonic's '''''Width Radius''''' is ''9'' and his '''''Height Radius''''' is ''19'', resulting in ''19'' pixels wide and ''39'' pixels tall.
+
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.
 
 
When Jumping or rolling, his '''''Width Radius''''' is ''7'' and his '''''Height Radius''''' is ''14'', resulting in ''15'' pixels wide and ''29'' pixels tall.
 
  
 
[[Image:SPGWidthRadiusChange.gif|link=Special:FilePath/SPGWidthRadiusChange.gif]]
 
[[Image:SPGWidthRadiusChange.gif|link=Special:FilePath/SPGWidthRadiusChange.gif]]
Line 28: Line 26:
  
 
Tails is much smaller than the other characters.
 
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.  
+
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.
 
 
His size is the same as standing when he flies.
 
  
 
Tails' '''jump_force''' is ''6.5''.
 
Tails' '''jump_force''' is ''6.5''.
Line 39: Line 34:
 
[[Image:SPGKnucklesSizes.gif|link=Special:FilePath/SPGKnucklesSizes.gif]]
 
[[Image:SPGKnucklesSizes.gif|link=Special:FilePath/SPGKnucklesSizes.gif]]
  
Knuckles sizes are the same as Sonic's.
+
Knuckles sizes are the same as Sonic's, except for when he is gliding, climbing and sliding.  
 
 
Well that is except for when he is gliding, climbing and sliding.  
 
  
 
[[Image:SPGKnucklesMoveSizes.gif|link=Special:FilePath/SPGKnucklesMoveSizes.gif]]
 
[[Image:SPGKnucklesMoveSizes.gif|link=Special:FilePath/SPGKnucklesMoveSizes.gif]]
  
Here, his '''''Width Radius''''' is ''10'' and his '''''Height Radius''''' is also ''10'', resulting in ''21'' pixels wide and ''21'' pixels tall.  
+
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 wider and shorter compared to normal (resulting in a square shape), which makes sense for his gliding pose. When falling from a glide, he uses his standing sizes.
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.
 
Knuckles' '''jump_force''' is only ''6'', which results in a lower jump than the others.
  
 
[[Category:Sonic Physics Guide|Characters]]
 
[[Category:Sonic Physics Guide|Characters]]

Revision as of 08:06, 25 June 2023

Sonic Physics Guide
Collision
Physics
Gameplay
Presentation
Special

Notes:

Introduction

Characters in game are are objects like any other (the guide will refer to an in game character object as "the Player", or "Player objects"), and use a lot of the same variables.

However, each character in the classic Sonic games is constructed differently. While similar, they can 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.

Note: For all characters, their Push Radius is always 10.

Sonic

SPGSonicSizes.gif

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.

SPGWidthRadiusChange.gif

Sonic's jump_force is 6.5 (6 pixels and 128 subpixels).

Tails

SPGTailsSizes.gif

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

SPGKnucklesSizes.gif

Knuckles sizes are the same as Sonic's, except for when he is gliding, climbing and sliding.

SPGKnucklesMoveSizes.gif

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 wider and shorter compared to normal (resulting in a square shape), 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.