BBall

A bouncing-ball platformer from 2011, ported using an LLM from C++/Irrlicht to JavaScript

About this port

Thirteen-year-old me wrote this this game in 2011. Fifteen years later, I randomly found it again on an old SD card. The game was written in Windows-specific C++ against the Irrlicht engine. When I found it, I let faithfully ported it to JavaScript with an LLM's help, which worked out wonderfully, without any noticeable differences. I even ported some bugs that were preserved for the archive and my embarrassment. (Can you spot them?)

Play

BBall by Paul Reichert (2011)
Loading…

The four original levels

How to play

You are the red ball. It never stops bouncing. you only decide where it bounces. Reach the green target at the end of each of the four levels. You have three lives for the whole run, which is tough. I kept the game exactly as I built it in 2011, so I didn't change the lives mechanism. But you can reset the lives anytime by clicking one of the level buttons below.

Enterstart / pause / continue after losing a life (press it twice: once to respawn, once to start)
← →steer
↑fall 30% slower
↓fall 30% faster
Escquit the game (admittedly not very useful, but I ported it, too)

Click the game first so it receives your keyboard. The level buttons under the game jump straight to a level with a fresh three lives. I added these buttons to make it easier to test all the levels instead of always dying in level 2.

Use the pad under the game: ◀▶ steer, ▲▼ change how fast you fall, and Start / Pause is the Enter key — after you lose a life, press it twice (once to respawn, once to unpause). The level buttons jump straight to a level with a fresh three lives. I added these buttons to make it easier to test all the levels instead of always dying in level 2. The level editor below is designed for mouse and keyboard.

Things worth knowing

Level editor

Build your own level, either from scratch or starting from one of the original levels. Hit Play to playtest it. The original game's levels are written in a text format. This editor (not from 2011, built using an LLM) helps you to build your own level. You can download or share your level as a link and send it to others. There are some advanced features for which you'll need to edit the text format by hand.

Open the editor
ready

Drag with the left button to move points or pan; scroll to zoom. Platform: click two points (existing or new). Mover: click the platform point it moves, then its waypoints; double-click or Esc to finish. Chaser: makes a point (existing or new) follow the player at the specified speed. For example, you can put an Enemy on it for a chasing enemy or use it on a platform point for a platform that hunts you (if that makes any sense). Coordinates are in units of 10 pixels, the window is 64×48 units. The bright edge of a platform is its bounce side.