Spaceshooter
A space dogfight through an asteroid field, the camera riding behind your ship
Concept
On the site this cabinet is called Wingman. You fly a fighter in six degrees of freedom through a seeded asteroid belt of 110 rocks, so it is the same belt every run. Far out there are 10 oil blobs that shoot back. Waves of enemies come at you, and six kills wins the mission. If you die, the run starts again three seconds later.
Combat
The machine gun checks the whole path of each round, so fast shots still land. Ships are built from named parts, each with its own hit box and health, so a ship can lose pieces before it dies. Enemies fly with an orbiting AI. You can lock on and fire homing missiles. Bullets, missiles and debris all come from pools and recycle on a clock.
Look
The sky is a procedural starfield and nebula. Dust drifts past the camera, and the sun has a lens flare and bloom. The camera rides behind and above the ship and rolls with it. Hits leave explosions, debris and bullet holes. The HUD paints the reticle and the lock.
Courses
I also wrote it up as a three-part course on Babylon.js Market. Course one is flight, a ship in deep space and a camera that follows it. Course two is combat, with guns, part loadouts, enemy AI and missiles. To finish, course three adds the asteroid belt, the oil blobs, the waves, the mission and the presentation.