/zx-spectrum-demo-assembly-game

Demo game written in Assembly for ZX-Spectrum

Primary LanguageScheme

Demo game for ZX-Spectrum

Language: Assembly

Development toolchain used:

Visual Studio Code – Editor, with the following extensions:

Z80 Assembly 0.0.3 by Imanolea

DeZog 2.2.3 by Maziac (this is a renamed update to Z80 Debugger 0.9.1, also by Maziac)

ZEsarUX 9.1 – Emulator

sjasmplus 1.18,2 – Z80 compiler

Details how to use and install the toolchain:

http://www.breakintoprogram.co.uk/hardware/computers/zx-spectrum/assembly-language/z80-development-toolchain

This is a demostration game only What is included:

  • Animated Sprite management
  • Output sound
  • Input from keyboard
  • Collison detection

Screen

The purpose of this game is to collect as high score as possible. You have to shoot down the rockets. You get more scores if you are closed to the right of the screen, but it makes mode dangerous to shoot down the rocket as you have less time to act.

Keys:

  • A up
  • Z down
  • N left
  • M right
  • Space fire.

Downlad the game as TZX to try in your emulator:

https://github.com/olbrichattila/zx-spectrum-demo-assembly-game/raw/main/game.tap

I've also createad online animated sprite editor, what you can use to create your sprites, and generate the assemble definitions:

Try it here: https://attilaolbrich.co.uk/hobby-projects/zx-spectrum-sprite-editor/

Screensot:

Screen

Source code (ReactJs)

https://github.com/olbrichattila/zx-spectrum-sprite-editor

Enjoy