I have made a game.

ZX-Team Forum
Antworten
SirMorris
User
Beiträge: 31
Registriert: 11.04.2008, 10:58

I have made a game.

Beitrag von SirMorris » 05.02.2018, 20:58

Hello Zeddy Friends!

I made a game. It has a submarine and many enemies. It has hardware requirements which may mean its audience is limited but it works well in EO. Apart from the sound. And I'm working on that.
Screen Shot 2018-02-05 at 19.57.02.png
Screen Shot 2018-02-05 at 19.57.02.png (28.75 KiB) 671 mal betrachtet
The absolute requirements are:

At least 32K RAM 8-40k. UDG board capable of redefining all 128 displayable characters.

Optional but nice:

Zon-X compatible sound for title music and in-game effects.

Extra features are enabled when using ZXpand:

Joystick control and high-score saving.

The game features pixel-perfect collisions using a kind-of 'micro-bitmap' technique that allows the main character and bullets to be positioned at any pixel position on screen, while merging with background characters. Some of the later enemies in the game require the bullet to be aimed with sub-character accuracy.

The program also features something that I believe is a first for a ZX81 game - pixel scrolling. I know such techniques have been shown in demos but never used in a full application such as this. I have benefitted from the input of Mr. Rea and Klotblixt in this regard.

If you are interested the full source code is up on GitHub, and this is where the game may be downloaded from too. I will attach a version here but I can't promise to update it - visit the github site to be sure of downloading the latest version.

To play the game in EO make sure you are using a modern version (V1.7+) and use the following settings:
Screen Shot 2018-02-05 at 19.55.15.png
Screen Shot 2018-02-05 at 19.55.15.png (34.01 KiB) 671 mal betrachtet
Enjoy!
Dateianhänge
zedragon.p
(15.87 KiB) 24-mal heruntergeladen

Benutzeravatar
tokabln
User
Beiträge: 1316
Registriert: 10.11.2013, 00:24
Wohnort: D, Berlin (Mariendorf)

Re: I have made a game.

Beitrag von tokabln » 05.02.2018, 21:07

Ah... the screen shot looks nice...

I will give it a try in EO, because of the HW stuff I do not have :lol:
Lieben Gruß Torsten
BMZ MFA, ZX80Core, AX81, ZX81, ZX81NU, Spectrum+, Harlequin, Amstrad NC100, Cambridge Z88, C64, C128D, Amiga 500, Amiga 1200, Atari Portfolio, HP200LX, IBM PC 5155, TP755c, T41, PS/2 (Model 40SX), PS/2E, Accura 101, Apple //e

SirMorris
User
Beiträge: 31
Registriert: 11.04.2008, 10:58

Re: I have made a game.

Beitrag von SirMorris » 05.02.2018, 21:21

There is a little video here

Avoid contact with enemies or the environment. Don't run out of air. Surface regularly to refill your tanks.

ZXpand joystick or the following keys move your sub:

Key Direction
Q Up
A Down
N Left
M Right

Space fires. Hold fire while moving to slow the sub's movement for tight spots.

Benutzeravatar
schombi
User
Beiträge: 2402
Registriert: 05.09.2012, 09:45
Wohnort: Kreis KA

Re: I have made a game.

Beitrag von schombi » 06.02.2018, 12:15

Great game. Thanks!

Benutzeravatar
bodo
User
Beiträge: 319
Registriert: 14.02.2007, 17:21
Kontaktdaten:

Re: I have made a game.

Beitrag von bodo » 10.02.2018, 18:58

Wow, unbelievable! Applause!

Y'know, I'm quite curious and so I always have the virtual screen of EO as wide as possible… :wink: It looks like that there are "artificial" vsyncs at three lines of the frame. At least I can see the traces of some "black souls". :P What purpose do they serve?
B0D0: Real programmers do it in hex.

SirMorris
User
Beiträge: 31
Registriert: 11.04.2008, 10:58

Re: I have made a game.

Beitrag von SirMorris » 12.02.2018, 11:26

Thanks :D

The display is split in three places, top and bottom there are 40 character lines, and a 32 line window between. I think the artifacts may be related to the 40 column nature of the split. The display driver was adapted from Andy Rea's original by Adam Klotblixt, aka nollklltroll. You would have to ask him for the more technical details ;)

didier
User
Beiträge: 29
Registriert: 18.07.2008, 13:31

Re: I have made a game.

Beitrag von didier » 31.03.2018, 16:50

hello sir morris

excuse me for my english (i'am french)

I HAVE a zx81 (16ko) and a zxpand +

I recorded the zedragon program in the SD card

and when I load the program: the screen display shows
weird characters ?? I do not have the udg card!

does the program work only with zxpand + ?
without the udg card ?

thank you sir morris

sorry for my english

best regard

didier

didier

Benutzeravatar
Jungsi
User
Beiträge: 718
Registriert: 05.10.2012, 13:53
Wohnort: Simbach am Inn
Kontaktdaten:

Re: I have made a game.

Beitrag von Jungsi » 31.03.2018, 17:18

Damit es richtig arbeitet wird die UDG-Karte benötigt!
Vieles rund um Sinclair und andere Retro-Computer:
http://www.jungsi.de

Antworten