HeadlinesBriefing HeadlinesBriefing.com

LEST: First-Person 3D Game Arrives for Commodore 64

Hacker News •
×

A new pre-release first-person 3D game called LEST has arrived for the Commodore 64, asking whether an unmodified C64 can run such a game at full resolution with a decent frame rate. According to developer needlestack, the answer is better than expected.

While many C64 3D games exist—including a DOOM port—most suffer from frame rates under 10 fps and blocky graphics. LEST aims to be smoother and clearer through extensive optimization tricks. These include drawing the screen in character mode rather than bitmap mode, building a character map from millions of rendered frames, vertically mirroring the scene to calculate only the top, ray casting hinted from the previous frame with binary search for corners, interpolating wall edges, projecting wall seams, caching unchanged areas, using hardware sprites for all entities, and culling sprites with precalculated zones.

The game can be played online at https://needlestack.github.io/lest-c64/. Options include cartridge, disk image with 1541 load times, and a Dvorak build. For real hardware, the cartridge image works with Easy Flash 3, Kung Fu Flash, Ultimate 64, or 1541 Ultimate, loading in under a second. The same disk runs on NTSC and PAL machines, though it plays slightly better on NTSC.

Controls support keyboard and joystick in either port. Building requires recent Node.js, Image Magick 7, and Goat Tracker 2 v2.76 with a project-specific player patch.

Source: Hacker News · Summarized by HeadlinesBriefing