StarBam
A Star Fox-style rail shooter - dodge, roll and blast, protected by a 10-hit shield. Basic, but shows the power of b2dDrawQuadDepth() and b2dSetDepth().
▶ Play now
Opens in a new tab
- Description
- An on-rails space shooter that fakes 3D on a 2D runtime using nothing more than a depth value per sprite. Every ship, laser and piece of scenery is a flat sprite; b2dSetDepth and b2dDrawQuadDepth sort and scale them so they weave convincingly through 3D space, fronted by a real 3D fighter converted from a model. Enemy craft steer with simple AI while you dodge, roll and barrel-roll behind a shield. Written in BambooBasic and transpiled to JavaScript for the browser.
An unofficial project inspired by Star Fox. Star Fox and related trademarks belong to Nintendo. Not affiliated with Nintendo. - Genre
- Rail shooter
- Engine
- 3D-in-2D using the depth buffer (b2dSetDepth)
- Controls
- Arrows fly, Space fire, Z/X roll (double-tap for a barrel roll)