Yip

What it is

A side-scrolling space shooter. The world scrolls to the right while you fly a small ship inside the left part of the screen, firing at yellow enemies that shoot red shots back at you. You switch weapons with 1, 2 and 3 (normal, laser and triple; the laser still fires the normal shot), and Ctrl+E brings in a new enemy.

The top left keeps score: enemies beaten out of those that came, shots that hit out of those fired, and the enemy shots you took.

How it's built

I wrote it in C++ on SFML, and it now builds with C++23 on SFML 3.1 and kazilib, my own C++ library. The same code compiles to a Windows executable and to WebAssembly.

Timeline

I worked on it by hand between 2019 and 2022; in 2026 I moved it to SFML 3.1 and kazilib, fixed old bugs (collisions, score, player bounds, enemy aim) and, with AI help, put it in the browser.

Technologies

Demo