Blast Effects

Developer(s): Dan Tandberg
Date: 1982
Type: Program
Platform(s): ZX81, TS 1000
Tags: Demo

A short demonstration of a “blast” effect for arcade-type games. The program draws a small cannon at the left of the screen. Each time you press a key, line 210 prints six 27-character strings one over another at the cannon’s mouth: grey blocks, X’s, asterisks, equals signs, minus signs and finally spaces. This gives a quick laser or cannon flash.

Change the characters in the strings, or the number of strings, to make your own effects. Stop it with BREAK.

The Syntactic Sum of the program as typed here is 22301; Syntax printed 22447. The graphics characters in lines 30 to 110 are faint on the page and were read as closely as the scan allows, but no reading of them accounts for the difference of 146. The program runs as described.

Published in Syntax August 1982 (Blast Effects on ZX81).

Image Gallery

Source Code

   1 REM "BLAST"
  10 SLOW
  20 LET A$="▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓"
  30 LET B$="XXXXXXXXXXXXXXXXXXXXXXXXXXX"
  40 LET C$="***************************"
  50 LET D$="==========================="
  60 LET E$="---------------------------"
  70 LET F$="                           "
  80 LET R=10
  90 LET C=5
 100 PRINT AT R,C-5;"█████"
 110 PRINT AT R+1,C-5;"0 0"
 200 IF INKEY$="" THEN GOTO 200
 210 PRINT AT R,C;A$;AT R,C;B$;AT R,C;C$;AT R,C;D$;AT R,C;E$;AT R,C;F$
 220 GOTO 200

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.