HN Hall of Fame Weekly email

A guide to implementing 2D platformers

higherorderfun.com Books & learning Tutorials & guides Computer games Class of 2022-05 Hall of Fame
Screenshot of higherorderfun.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 8 calendar years, with breakout response in 3 of them.

submissions
12
submitters
8
observed span
2012–2024
peak thread · 37 comments
307 pts
latest 20+ return · 2024-09-27
122 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

> Before anything on the scene is stepped, determine whether the character is standing on a moving platform. This can be done by checking, for example, whether his center-bottom pixel is just one pixel above the surface of the platform. If it is, store a handle to the platform and its current position inside the character. I implemented a 2D platformer with moving platforms once; we solved this simply by using another rule in the article — the one for…

One other example of the "bitmask" type of platformer (although you probably wouldn't call it a "platformer", at least not a "jump'n'run" game, as far as the genre is concerned) is Lemmings. The levels of the original Lemmings games are definitely not saved as bitmaps (at 120 levels, that would have far exceeded the capacity of an Amiga floppy), and they're not tile-based either. AFAIK the levels (https://www.mobygames.com/game/amiga/lemmings/screenshots/ga...) were created by repeating certain graphical elements…

rob74·190-point thread·

I like the idea of a guide like this. Reminds me of “Implementation of Hex Grids,” another high quality game-related guide: https://www.redblobgames.com/grids/hexagons/implementation.h... and before that, “Beej’s Guide to Network Programming”: https://beej.us/guide/bgnet/

Very informative. The use of code examples is a nice touch. I imagine that a lot of novice game developers could benefit from this guide.

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
668

reference only — not used in Hall rules or ranking

Total comments
81

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2012-05-22The Guide to Implementing 2D Platformersmrclownpants312
2012-06-04The guide to implementing 2D platformersiiska52
2012-08-21The guide to implementing 2D platformersgeca30
2013-02-25The guide to implementing 2D platformersnetworked20
2013-09-18The guide to implementing 2D platformersImpossible10
2015-09-11A guide to implementing 2D platformersFirst breakout · Best threadingve30732
2017-12-29The guide to implementing 2D platformersingve20
2019-02-24The guide to implementing 2D platformersingve10
2021-04-02The guide to implementing 2D platformers (2012)Tomte20
2021-09-10The guide to implementing 2D platformers (2012)Tomte20
2022-05-20Guide to implementing 2D platformers (2012)Hall inductionTomte19037
2024-09-27Guide to implementing 2D platformers (2012)Latest 20+ point returnvvoruganti1228