ROAD 1.0 RC1 - pseudo-3D racer for the Pico Computer 3 (PicoMite V7, MMBasic)
(c) Matthias (homa) with Claude - 2026
Based on Jake Gordon's javascript-racer (MIT licence) and Lou's Pseudo 3d Page.
Written entirely in MMBasic (firmware 7, no CSUB).  Video: https://youtu.be/W4qjgm6pynE
Manual: ROAD_Manual_EN.pdf / ROAD_Handbuch_DE.pdf

INSTALL
Copy all files into one folder on the SD card, then at the prompt:
  cd "road"            (the folder with the files)
  load "road.bas"
  run
Once at the prompt (important for the speed):
  OPTION RESOLUTION 640x480, 378000     (clock 378 MHz)
  OPTION COMPILE ON                     (V7 compiler)
Needs an RP2350 with PSRAM (the background pictures use the RAM image slots 4-8).

PLAY
Title: LEFT/RIGHT track or WORLD TOUR, ENTER start, N driver name, O options, ESC quit.
Race:  arrows (or W A S D), P pause, ESC menu, M music, E engine sound, I info, T map.
Finish a track to unlock the next one - or finish the world tour to unlock them all.
OPTIONS: DIFFICULTY rookie / veteran (own records), MODE race / practice
(no traffic, no records - unlocked tracks only), MENU MUSIC on / off.

FILES
  ROAD.BAS        the game
  roadN.trk       track N (text: road, sprites, palette, times, music, background)
  roadN.bmp       sprite sheet of track N
  roadNsky.bmp    background layers of track N (any width from 320 up,
  roadNfar.bmp      16 standard colours, black = transparent; see LAYER in road1.trk)
  roadNnear.bmp
  roadN.mod       music of track N (with the effect samples)
  road1fx.mod     effects only, no music (key M in the race)
Written by the game
  road.cfg        driver name, unlocked tracks, options
  roadN.hi        top 5 of track N (rookie), roadNv.hi = veteran
  world.hi        top 5 of the world tour (rookie), worldv.hi = veteran

HISTORY (key steps)
  RACER V1-V16   feasibility study: javascript-racer ported to MMBasic; road drawn
                 row by row with BOX arrays instead of POLYGON, 378 MHz + compiler
                 (10 -> 20 fps), MOD music with effect samples
  ROAD 0.1-0.3   real game: title, driver name, 3 laps, time limit, checkpoints,
                 records; tracks as text files with own sheet, music and palette
  ROAD 0.4-0.11  English UI; 5 tracks: Green Valley, Texas, California (coast,
                 4/2 lanes), Circuit (figure 8, bridge, tunnel), City (night)
  ROAD 0.12-0.14 quit questions, hazards (bull skulls), world tour, credits,
                 time bonus per checkpoint
  ROAD 0.15-0.18 pixel-art background layers (BLIT FLASH from PSRAM), parallax,
                 wide panoramas that turn with the road
  ROAD 1.0 RC1   options: rookie / veteran, practice, menu music; times measured

Have a good drive!
