GAMES + DEMOS

SEVEN PROGRAMS WRITTEN IN V IN THIS REPO,
AND EVERY ONE HAS A TEST THAT PLAYS IT.

DEMOWHAT IT ISSIZEBUILT WITH
GHOSTGRIDstealth trainer, ten missions450 KBjaggame
Jaguar Herofive-lane rhythm game506 KBjagkit
MAWtunnel flyer with a psytrance habit438 KBjagkit
WIREWINGwireframe flying game8 KBjagkit
plasmaa first GPU program2 KBjagkit
hellothe smallest complete program4 KBjagkit
hello2hello again, no assembly, plus a coin13 KBjaggame

All of them handle NTSC and PAL, and all run in vjag and in Virtual Jaguar. None has run on real hardware. Got a Jaguar and a flash cart? Open an issue with what happened.

just run demos/maw.jag        # run an image that is already built
just demo maw                # rebuild it from its V source first
just roboplay ghostgrid      # watch its test's robot play it

GHOSTGRID

GHOSTGRID: walking through the depot

An original stealth trainer. The red and white figure is you. The broad teal ones with the red lens are guards, and the amber floor is what they see. Walk, run (guards hear it), crouch behind cover (guards cannot see you there, cameras can) and knock on a wall.

Ten missions of four kinds: DEPOT, VAULT and FOUNDRY are sneak missions; ARCHIVE and STACKS ask for every data chip; SPRINT, DASH and GAUNTLET run a countdown; ANNEX and CROSSING have two rooms. Ranks S, A, B, C, saved to the cartridge EEPROM.

GHOSTGRID title over a drifting neon grid A guard on alert chasing the figure Result screen with rank S
ITS TESTS: a robot that searches for a way through each mission that no guard or camera sees plays all ten on NTSC and PAL from the title, through the menus, to the result. The interpreter plays whole missions alongside the machine and the two agree frame by frame. The worst frame of every room is measured: under 60% of a frame, no frame missed. The robot's run was replayed in Virtual Jaguar and the record it wrote is the same in both chips.

JAGUAR HERO

Jaguar Hero: OMEGA OVERDRIVE, all perfect

A five-lane rhythm game. Five original songs are written as patterns in songs.v and played by a ten-voice DSP synthesizer with drums, bass, distorted rhythm guitar, keys, twin leads and a stereo echo.

Each chart is derived from the song's lead guitar, so what you press is what you hear: miss a note and the guitar drops out.

Keys 1-5 play the lanes. Its test has a robot read the chart out of memory and play the finale perfectly inside the frame budget.

SONGSTYLEBPM
MIDNIGHT ENGINEsynthwave anthem113
COLOSSUSheavy half-time129
IRON GALLOPgalloping rock150
NEON SERAPHneo-classical shred150
OMEGA OVERDRIVEfrantic finale180
Jaguar Hero title screen Song select Results screen

MAW

MAW: follow the green lane

A tunnel flyer with a psytrance habit. Left and right turn the tunnel; follow the green lane through each gate, because the rest of the gate is live.

The GPU draws the tunnel from a lookup table: a Julia set folded into a kaleidoscope for a wall, a palette that turns while you fly, fog, and a window on the table that wanders so the tunnel swerves. The DSP is a three-voice synthesizer and the 68000 runs the rules and the tune: 150 BPM, kick, rolling bass, acid line.

MAW title screen

WIREWING

WIREWING flying over a wireframe landscape

Bank with left and right, pull back to climb, fly through the spinning beacons before the tank is dry. The GPU projects the corners of a rolling landscape around the eye, with perspective, bank and distance shading, and joins them with lines it draws itself, sixty pictures a second.

Fly into a hill and the onboard computer has a remark ready:

WHERE DID YOU LEARN TO FLY?
<-- CLICK IT

PLASMA

plasma

The smallest program that uses the GPU. The 68000 keeps three numbers moving; the GPU turns them into a 160×100 picture every frame, shown at double size. 2 KB. The jagkit guide walks through every instruction.

PAL, BY THE WAY

Anything counted in frames runs a sixth slower at 50 Hz. The tunes are corrected: MAW plays a step every five frames instead of six, and Jaguar Hero advances the song twice on every fifth frame. Movement is not: MAW's tunnel and WIREWING's plane are a sixth slower on a PAL machine.