keepcalculator

06 Numbers and Powers

Run and Jump Codes: Meaning & How to Use Them

Card No. 06·85345 · Updated · Standard formula, shown below

Average speed 10.00 m/s
Time per 100m
10.00 s/100m
Result
Time (seconds)
10 s
You entered
Distance (meters)
100 m
You entered
You enter
Time (seconds), Distance (meters)
You get
Average speed, Time per 100m
Rounding
2 dp

Run and jump codes are shorthand commands used in speedrunning and game testing to trigger a character’s movement actions—specifically running and jumping—often to automate inputs or verify game mechanics. You enter a sequence of button presses or script commands, and the game executes the run or jump action instantly. This article explains what these codes are, how they work across different contexts, and how to use them effectively.

Formula

The calculator above computes average speed from time and distance, which is the core math behind any run or jump code that measures movement. The formula is:

Speed = Distance ÷ Time

Where:

  • Distance (d) – the total horizontal distance covered, in meters (m).
  • Time (t) – the total time taken, in seconds (s).
  • Speed – the average velocity, in meters per second (m/s).

For a jump, you might instead calculate vertical height using h = (v² × sin²θ) / (2g), but the principle is the same: input parameters, output a measurable result.

Worked Example

Using the default values from the calculator: time = 10 seconds, distance = 100 meters.

  1. Divide distance by time: 100 ÷ 10 = 10 m/s.
  2. The average speed is 10 meters per second.
  3. To find pace per 100m: (10 ÷ 100) × 100 = 10 seconds per 100m.

The calculator shows the same result: speed = 10.00 m/s, pace = 10.00 s/100m.

What Are Run and Jump Codes?

Run and jump codes are input sequences or script commands that make a game character perform a running or jumping action. They appear in several forms:

  • Cheat codes – like the classic “Sonic the Hedgehog” level select codes that also alter movement physics.
  • Speedrun macros – scripts that press the jump button at precise frames to execute a perfect jump.
  • Accessibility tools – remapped keys that let players with limited mobility trigger run/jump with a single press.
  • Testing scripts – automated inputs used by developers to verify collision detection and animation states.

How Run and Jump Codes Work

In most games, movement is controlled by a binary state: the character is either idle, walking, running, or jumping. A code sends a signal to the game engine to change that state. For example, in a platformer like Super Mario Bros., pressing the A button sets the player’s vertical velocity to a specific value. A run-and-jump code might combine the run button (holding right) and the jump button (A) in a single macro.

In emulator-based speedrunning, tools like TAS (Tool-Assisted Speedrun) use frame-perfect input files. These are not “codes” in the traditional sense but scripted sequences that tell the emulator which buttons to press each frame. The code is a list of hexadecimal values representing controller inputs.

How to Use Run and Jump Codes

Using these codes depends on your platform:

  1. For cheat codes – enter them at the title screen or during gameplay, usually via a controller combination (e.g., Up, Up, Down, Down, Left, Right, Left, Right, B, A).
  2. For emulator macros – use the emulator’s macro feature to bind a single key to a sequence of inputs (e.g., hold right + press A).
  3. For TAS scripts – write a text file with frame numbers and button states, then load it in the TAS tool.
  4. For accessibility remapping – use the game’s settings or a third-party tool to assign run/jump to a single button or a toggle.

Common Problems and Misconceptions

A frequent mistake is confusing run and jump codes with wall-jump or double-jump codes. Those are separate mechanics that require additional logic. Another issue is timing: a code that works on one frame may fail on the next due to game physics. Always test codes in a controlled environment (like a practice room) before using them in a real run.

Misconception: “Run and jump codes are cheating.” In speedrunning, using external macros is often banned in competitive categories, but it’s allowed in TAS categories. In casual play, cheat codes are part of the game’s design. Always check the rules of the community you’re in.

Comparing Run and Jump Codes to Other Movement Codes

Run and jump codes are just one type of movement manipulation. Compared to:

  • Walk codes – slower, but often allow for precise platforming without overshooting.
  • Fly codes – bypass ground collision entirely, making jump codes irrelevant.
  • Dash codes – a horizontal burst that may have different physics than a run.

Run and jump codes are unique because they combine two separate actions into one macro, which is essential for speedruns that require frame-perfect jumps after a sprint.

Costs and Availability

Most run and jump codes are free—they come from cheat code databases or community forums. For emulator macros, the software is free (like BizHawk or RetroArch). TAS tools are also free. There is no cost to use these codes beyond the game and hardware you already own. However, some console-specific cheat devices (like GameShark) may require a physical cartridge, which can cost money on the secondhand market.

Safety and Legitimacy

Using run and jump codes is safe for your hardware—they are just button inputs. However, be aware of online multiplayer: using macros to automate movement may violate anti-cheat policies and result in a ban. In single-player games, there is no risk. Always read the game’s terms of service if you plan to use codes online.

Alternatives to Run and Jump Codes

If you don’t want to use codes, you can achieve similar results with:

  • Manual practice – learn the timing by muscle memory.
  • Controller mods – add back buttons that let you press run and jump simultaneously without a macro.
  • Game settings – some games allow you to toggle “auto-run” or “auto-jump” in the options menu.

Frequently Asked Questions

Do run and jump codes work on all games?

No. Each game has its own input system and physics engine. A code written for a 2D platformer won’t work in a 3D game. You need to find codes specific to the game you’re playing.

Can I get banned for using run and jump codes online?

Yes, if the game has an anti-cheat system that detects automated inputs. In single-player, there’s no risk. Check the game’s rules before using macros in multiplayer.

Are run and jump codes the same as cheat codes?

Not always. Cheat codes are often built into the game by developers. Run and jump codes can be cheat codes, but they can also be TAS scripts or accessibility macros that aren’t officially part of the game.

How do I find run and jump codes for a specific game?

Search for “[game name] speedrun codes” or “[game name] TAS script” on community sites like Speedrun.com or GitHub. For classic games, cheat code databases like GameFAQs are a good start.

What is a frame-perfect jump?

A frame-perfect jump requires pressing the jump button on exactly one specific frame (typically 1/60th of a second) to achieve the maximum height or distance. Run and jump codes are often used to automate this timing.

Related

Formula used
in t | Time (seconds) | s | 10 | 0 | 3600
in d | Distance (meters) | m | 100 | 0 | 10000
out speed | Average speed | m/s | d / t | 2
out pace | Time per 100m | s/100m | (t / d) * 100 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →