Tenebra
- Year
- 2023
- Publisher
- Haplo (free / name-your-own-price download)
- Type
- Game
- Category
- Light-and-darkness puzzle game
- Developer
- Ali Pouladi (Haplo)
- Language
- 6502 assembly
- Requirements
- Atari XL/XE (PAL or NTSC); joystick; XEX loader (disk image, SIO device or emulator)
- Related
- Altirra, Atari800, FujiNet, SIO2SD, Adam Is Me
Overview
Tenebra (Latin for "darkness") is a small, atmospheric puzzle game by the developer Haplo (Ali Pouladi). Its hero is afraid of the dark and will not step on any square that is not lit, so the puzzle is about light. Each level is a dungeon in near-total blackness. You have to make a lit path to the exit by moving torches, sliding lamps along rails and lighting cold braziers.
Haplo wrote it for several 8-bit machines, including the Commodore 64, MSX and BBC Micro, and released the Atari 8-bit version on 9 September 2023. A corrected-text update followed three days later. The download is only about 18 KB. The game has since been ported to well over a dozen systems, from the ZX Spectrum and Amstrad CPC to the Atari ST, Jaguar and the NES. It has been popular with players, and the Atari release was picked up by the Polish FujiCup list and the retro news sites.
Gameplay
There are 31 levels. The lit areas are drawn as dithered pools of light, and the walls and objects appear only where light falls on them. The elements, introduced level by level, include:
- Torches that you can pick up and move to extend the light.
- Lights on rails that you push along a track. Broken rails can be fixed with a hammer.
- Keys and doors, cold braziers to light, and archways that collapse behind you once you pass, so the order of moves matters.
- Oil barrels that make your torches burn brighter, and cracks in broken walls you can squeeze through.
- Sensors that open the exit when you light them.
Each level shows a four-character code. On the title screen you can enter a code with the joystick to jump straight back to that level, or press fire to skip. During play, R restarts the level and F toggles flicker. The title screen calls this edition Tenebra Extended.
Behind the scenes
The Atari port is written in assembly, and Haplo's questions on AtariAge while making it show how close to the metal it runs. He was testing in Altirra with the "NoKernel" ROM and interrupts disabled, and found that no sound came out until he initialised POKEY himself. Most example code assumes the OS has already done this. Forum members supplied the register sequence (clear AUDF1–AUDCTL, then set SKCTL to 3), and his next job was reading the keyboard with no ROM or interrupts.
Tenebra 2
Tenebra 2 (Atari version released 25 November 2023) is a direct sequel with 35 levels and new mechanics, the headline being a portal gun. It keeps the same rule that the hero only walks in the light, and the same code system. It is another free, roughly 18 KB download, and it is listed separately on AtariMania and Gury.
Playing it today
- Download the Atari ZIP from Haplo's itch.io page (name your own price, free allowed). It contains an executable you can run in Altirra or Atari800, or load from an SIO2SD, SDrive, FujiNet or a DOS disk on real hardware.
- It works on both PAL and NTSC machines.
- Write down the level codes as you go, because the game has no save feature.
Credits
- Picture: The first level of the Atari version, with the level code shown at the bottom of the screen. — Screenshot from AtariMania (atarimania.com)
- Haplo — Tenebra on itch.io (description, platforms, devlog) — h4plo.itch.io
- Haplo — 'Atari 8-bit version released!' devlog (9 Sep 2023) — h4plo.itch.io, 2023
- Haplo — Tenebra 2 on itch.io — h4plo.itch.io
- AtariMania — Tenebra (Haplo, 2023) and Tenebra II — Screenshot from AtariMania (atarimania.com), 2023
- Gury's Atari 8-bit Forever — Tenebra and Tenebra 2 — Gury (Atari 8-bit Forever portal)
- AtariAge — Sound effects on Atari 8-bit machines (thread 354601, Haplo's porting questions) — AtariAge forum members
