↓ Skip to main content
  1. Home projects/

Bruce Lee: a browser port of a 1984 platformer

··Index: 3·

I ported Bruce Lee, the 1984 platformer by Ron J. Fortier published by Datasoft, to TypeScript. To open the exit of each of its 20 chambers you have to collect all the lanterns, while a ninja and a sumo wrestler try to stop you, and you can either fight them or try to get out of their way.

My version draws on a 320x176 canvas (the resolution of the original, scaled up) at 60 frames per second. Scenes are described as data: platforms, ladders, lanterns, traps, enemies and doors. The player and enemies are small state machines that walk, jump, climb and fight. You control Bruce with WASD or arrow keys, and F attacks.

Bruce Lee port: scene data and keyboard input drive the player and enemy state machines, drawn on a 320x176 canvasscene dataplatformsladderslanternstrapsenemiesdoorskeysWASD / arrows, F attacksplayerwalk, jump, climb, fightenemiesninja, sumo wrestlercanvas320x17660 frames per secondplayer and enemies are small state machines
Schematic of the port: scene data and keys drive the state machines, drawn on a small canvas

This is a fan port I made to learn from, and it’s not playable here. Graphics, maps and music all come from the original game, which is under copyright, so I don’t host the build on this site.

Related