Rampart

ReleasedVersion 1.0

Real-time two-lane tower defence: build towers to stop monsters reaching your wall. 15 waves, then endless mode.

Four-line screen: the RAMPART title drawn in custom characters, with a scrolling line about tower defence
Title
Four-line screen between waves: two towers built on the top bank, 5 gold left, and WAVE 1: GRUNTS, SPACE=GO in the lanes
Building, between waves
Four-line screen during a wave: towers on the top bank, a monster in lane A and a shot flying towards it, the castle wall on the left
A wave in progress

Download

Build: pack image

File
rampart-1.0.opk
Version
1.0
Size
30,531 bytes
Date
SHA-256
ed1903be1e529f4f81f331969525bd6a644045a38525b681910f4975faec6bfa

Download the build

Source + build (zip)

File
rampart-1.0-source.zip
Version
1.0
Size
254,790 bytes
Date
SHA-256
aa6569153e1aaeee070843ccedef2ea32756670aec088bbfda7de45cb624780e

Download source + build

30,531 bytes: a 32K Datapak. In an emulator, load the pack image into slot B of an LZ or LZ64. On a real Organiser, load the psion/ folder from the source + build zip with RPBOOT (about 32K, or about 14K without the source text).

Licence: MIT.

Compatibility

ModelRuns it?Note
CMNot supportedNeeds the four-line screen
XPNot supportedNeeds the four-line screen
LANot supportedNeeds the four-line screen
LZWorksFour-line screen
LZ64WorksFour-line screen

Tested on the Jape emulator (LZ64), with the balance checked against a Python simulation.

About

A real-time, two-lane tower defence game in OPL. Monsters march right to left along the two middle lines towards your castle wall; you build towers on the top and bottom lines to stop them. There are 15 waves in three acts, ending with a dragon, then an endless mode and a high-score table.

Four towers (Archer, Cannon, Frost and Mage), six kinds of monster including a troll and the dragon, gold with interest between waves, and a once-a-wave pot of boiling oil.

Install

  1. Download the pack image, rampart-1.0.opk.
  2. In the Jape emulator: Select OPK file, choose the file, Create, then Slot B.
  3. On the Organiser: Prog, Run, press MODE until the prompt shows B:, type RAMPART and press EXE.
  4. For a real Organiser, see Getting started for loading with RPBOOT.

Manual

Key Action
LEFT / RIGHT Move the cursor along a bank (wraps round)
UP / DOWN Top bank or bottom bank
EXE Empty slot: the build menu. Tower: its type, level, upgrade cost and sale value
A C F M Build an Archer, Cannon, Frost or Mage tower at the cursor
U Upgrade the tower at the cursor
DEL Sell the tower at the cursor, for half of everything spent on it
O Boiling oil, once a wave: 3 damage to every monster in the 5 cells nearest the wall
SPACE Start the next wave
MODE Key reminder
ON/CLEAR Pause menu: Resume or Quit

Towers:

Tower Cost Upgrade Damage Range Notes
Archer 10 15 1, then 2 1 Armour blunts it
Cannon 25 30 3, then 5 2 Every 2nd tick; ignores armour
Frost 30 30 none 1 Freezes its lane for 1 tick (2 when upgraded)
Mage 45 50 2, then 4 2 Shoots its own lane, else the other

At most 12 towers at once. You start with 40 gold and 20 lives (Easy 60 and 30, Hard 30 and 10). A cleared wave pays 5 plus the wave number, 5 more if nothing got through, plus interest of 1 per 10 gold held (up to 5).

Technical notes

  • 29 OPL procedures; the high scores are kept in the data file A:RAMPHS.
  • During a wave the Organiser's own cursor is switched off and replaced by a blinking block, because it would chase every update round the screen.

Changelog

DateVersionChange
1.0First release.

Source

The source is in the source + build zip, under the MIT licence. It holds the program as committed, the shared Psion tools it builds with, and the built pack, and it rebuilds the same pack byte for byte. A public repository will follow.