User:Dig494/Sandbox

Movement speed is one of the player's stat and affects how quickly they can travel around. Many features can affect movement speed, such as Movement Accessories, Wings, Mounts, Minecarts and Liquids, along with certain Buffs, Debuffs, Armor and other hazards such as Ice Blocks and Cobwebs. Movement speed can be broken down into horizontal movement, which is the most affected component by most sources, and vertical movement, which is mostly affected by Wings and Movement Accessories.

Horizontal speed
[To do]

Minecarts
[To do]

Vertical speed
Vertical speed is mostly affected by jump speed and gravity, which can be improved with the use of Wings, Mounts and certain Movement Accessories. When jumping, vertical speed matches the jump speed value subtracted by the gravity value (see Gravity) and remains constant for the duration of the jump. With wings and rocket boots, speed accelerates after the initial jump(s) towards a certain speed limit.

By default, a full jump causes a vertical speed of ~18.8 tiles/s against a gravity of 1.5 tiles/s and lasts for 0.25 seconds, giving a jump height of ~4.3 tiles.

[To complete]

Extra jumps
Certain accessories or mounts allow for one or more extra mid-air jumps. Extra jumps use the same jump speed as the first jump and have a jump duration multiplier.

Jumps of the same type won't stack with each other but will stack with other types, allowing for more than two consecutive jumps. For example, the Bundle of Balloons which allows for 3 different types of jumps by itself.

The different types of jumps always happen in the same order:, , , then. 

Gravity
Gravity applies a slowdown affect when moving upwards and determines how quickly speed is accelerated towards the maximum fall speed. For more information, see Gravity.

Flight speed
During upwards flight, speed accelerates towards a maximum vertical flight speed which is directly proportional to the jump speed value after bonuses are applied.

Mounts
[To do]

Other effects
Other notes:
 * Canceling a grappling hook with the key will result in a jump with half duration, unless currently moving or holding the  key in which case no jump happens.

[To complete]

Mph
Mph (miles per hour) is the unit of measurement of movement speed displayed by the Stopwatch. It takes into account both vertical and horizontal movement.

Mph conversion is hard coded as  which directly multiplies the pixel per tick velocities used by the game. This coincides with the number of ticks per hour (60 ticks per second and 3600 seconds per hour = 216000 ticks) and the number of pixels per mile (16 pixels per tile, 1/2 tile per foot and 5280 feet per mile = 42240 pixels).

Thus, 1 mph is equal to:
 * 11/15 tiles per second (tiles/s)
 * 44/225 pixels per tick (px/t)