Terra Magma

Terra Magma is an endless-runner game crossed with a platformer. The goal is to accumulate points by moving to the right at your own pace, while jumping over lava and dodging fireballs.

Terra Magma is one of the most popular games on Khan Academy, with over 4,000 votes from users of the community, making it one of the top 20 programs on the website.

I originally learned programming by making games on Khan Academy, and this is my most popular.

Terra Magma uses KA's processing.js environment to allow me to render to a canvas.

It features collision detection, simple infinite world generation, and a parallax effect created by a custom 3D rendering system based on the artistic principle of linear perspective. (Not bad considering I finished it in 2016.)

A screenshot of Terra Magma, showing a purple square jumping between green blocks floating over lava

Play Terra Magma on Khan Academy

Background from Hero Patterns; CC BY 4.0