Skip to main content

    2D platformers: a game programmer's guide

    2D platformers: a game programmer's guide

    /

    High-Order Fun has a helpful guide to programming 2D platformers that walks through how to calculate basic movement, slopes, ladders, stairs, one-way platforms, moving platforms, jumping, and acceleration.

    Share this story

    sonic original
    sonic original

    Tired of first-person shooter after first-person shooter at this year's E3? Nostalgic for the classic 2D platformers of old? Interested in programming your own? Take a look at this helpful guide to programming 2D platformers from High-Order Fun that walks through how to calculate basic movement, slopes, ladders, stairs, one-way platforms, moving platforms, jumping, and acceleration in four different commonly used programming methods. The guide is a great read for anyone interested in the methods behind classics like Sonic the Hedgehog, Super Mario World, and Super Metroid — and more recent games like Limbo and Worms — or anyone interested in coding their own. The article admits that some calculations are beyond its scope, but be sure to check the comments section where helpful readers have supplied some other great programming resources.