Games / 3D rail shooter
Space Saber
From alien grasslands to the heart of a mothership.
A solo browser-based 3D rail shooter that carries players through six stages while they shoot down enemies. Stage 1, Verdant Frontier, begins with a spacecraft landing on grasslands where emerging plants and leaping beasts attack. Stage 2, Lumen Metropolis, threads between buildings, bridges, crane arms and closing gates. Stage 3, Veinbound Cavern, races through a tight cave between rock walls and ceilings. Stage 4, Astral Rift, pits the player against formations emerging from a mothership in space. Stage 5, Shatterstream, weaves through moving rocks toward the ship, and stage 6, The Inner Sanctum, takes the fight inside. Each stage ends with a large boss. Completing all six leads to an escape from the mothership, a return to a blue planet and a score summary for all six stages. Lock onto enemies one at a time, then hold fire to send homing shots in lock order.
View the live projectAn independent project.
New scenery, enemies and hazards in every stage.
An earlier version changed the colors of three zones in a corridor of light, but play was much the same throughout. Version 3.0.0 reworked each stage's setting, enemies, obstacles, boss and music to expand on classic arcade 3D shooters. Version 3.1.0 added the cave and space stages, 3 and 4. Version 3.2.0 added the asteroid field, mothership interior and ending, completing all six stages. For 3.3.0, frame-by-frame measurements of player movement in classic arcade footage informed faster movement and the ability to reach the screen edges.
Overly bright effects were reduced so the scenery stays visible, and a countdown shows the time remaining until the boss. As in the earlier version, shot sounds and destruction flashes follow the music's beat.
Blender models in code-built worlds.
The humanoid player craft with wings of light, 37 enemy types, six bosses and power-up items were made in Blender for this game. Stage 1 places plants with cyan and pale-purple fruit, rocks and mountains on grasslands beneath a purple sky. Stage 2 sets lit towers and elevated roads against a sunset. Stage 3 is a cave of stalactites, teal and amber minerals and glowing moss. Stage 4 layers stars at different depths as a planet slowly sinks from view. Stage 5 fills space with asteroids from foreground to distance as the mothership draws closer. Stage 6 is a dark metal interior lined with lights and pipes, with warning stripes on closing doors. Programmatically built scenery extends into distant mountains and buildings.
Bloom is weaker than in the earlier version, and only enemy attacks glow in warm colors. Enemy bullets have white-hot centers, red-orange edges and black outlines that stand out against bright ground and sky. Beams are red streaks; homing missiles, mines and thrown rocks have dark bodies with warm glowing parts. Player shots are blue streaks with bright white cores, accompanied by a small spark at the craft's nose.
Lock on and fire to the beat.
Each press of E or Shift locks one enemy ahead, up to six targets. Holding Space fires homing shots at them in sequence. Eleven synthesizer music tracks and 27 sound effects were made with music and sound-generation tools. Shot, lock and destruction sounds align to sixteenth notes. Repeated shots on the same beat merge into one louder sound so they remain audible.
Enemies use beams, homing missiles, mines and falling objects. Every attack is telegraphed and checks that an escape route is available before firing. On impact, the player craft flashes red, shakes and becomes translucent and invulnerable for one second. The stage 1 boss is a segmented wyvern that grows shorter as segments break. Stage 2 has three craft rotating in a triangle, speeding up as each is destroyed. Stage 3 has a giant insect that emerges from floors and walls after glowing cracks appear. Stage 4 has two battleships flanking the player, defeated one at a time. Stage 5 has three sword-bearing guardians that take turns swinging blades of light. Stage 6 has a brain protected by four eyes; all eyes must be destroyed before shots can damage the brain. Defeated enemies drop golden P items that raise attack power with each pickup, up to twice the base power.
Tilt to fly, fight with one thumb.
On desktop, use WASD or arrow keys to move, E or Shift to lock, hold Space to fire, C to charge, Ctrl to boost, Q for pulse, and Esc or P to pause. The same actions are available on a gamepad.
Hold a phone in portrait orientation and tilt it to fly. Tap with the right thumb to fire once, or hold to lock enemies ahead one at a time and release to fire at the locked targets. Swipe up to reveal boost, pulse, charge and pause buttons. Devices without tilt controls use an on-screen stick.
On desktop and mobile, the player can move in every direction to the screen edges, stopping short of the score and health displays. Camera placement adapts to the screen size, and the horizon rises as the player climbs. On portrait screens, the scenery tilts slightly with the player's height to keep the craft at a consistent apparent size.
Quality settings include Auto, Low, Medium and High. Auto lowers quality when performance slows. Reduced-flashing and reduced-motion settings disable beat-synced light pulses, color separation on damage and camera zooms.
Project details
- Version
- 3.3.0
- Project type
- Independent project
- Scope of work
- Planning, design, 3D models, audio & development
- Technologies
- JavaScript / three.js / Vite / Web Audio / Blender
- Supported screen sizes
- Desktop (keyboard & gamepad) / mobile (touch & tilt)