Starfields

Version 1 of 6

Cockpit view.

Atari 8-bit · 160 wide · 1979

This version

In the spirit of Star Raiders: three brightness levels, wide pixels, a crosshair and a HUD counting down energy.

How this version works

A 160-pixel-wide buffer is cleared to black each frame, then 90 stars advance towards the viewer by decreasing their depth. Dividing each star's horizontal and vertical coordinates by depth projects it around the screen centre, with stars recycled at the far plane when they get too close. Three grey brightness levels indicate distance, and the nearest stars occupy two horizontal pixels. An orange crosshair and blue text overlay provide a cockpit display with time-driven counters.

The trick in this version

The code suggests a low-resolution cockpit using sparse pixel plots and discrete brightness changes. It draws directly into a CPU pixel buffer rather than emulating Atari display hardware.

Historical context · 8-bit

  1. 1979 · Doug Neubauer · Atari

    Star Raiders

    A first-person space game whose 3D starfield streaming past the cockpit made the effect iconic on home computers.

Platform
Atari 8-bit · 160 wide
Era
8-bit
Rendered on
CPU
Tags
3D · crosshair
Sources
Star Raiders (1979)