This is a WIP remake/port of the "Space Race" TIC-80 game by Fubuki. I have managed to make a version of the game that, with some compromises, runs at a stable 30fps and provides a simple game experience, in which the ship has to run along an endless tube, avoiding walls.
I have added collision detection and a simple scoring system to the game, as well as made the game use perspective-correct maths for everything.
Version 3: added a rendering hack that simplifies the topmost and bottommost parts of walls hidden by other walls, should make the game run at a stable 30 FPS all the time.
made some improvements to the code, added extra code so that obstacles are more visible from afar and turn transparent if behind the ship, optimized drawing so the game almost never falls below 30fps.
[Please log in to post a comment]