Hi,
I have coded up a simple 29-frame animation in a mix of BASIC and assembly (works fine even on 3.5MHz) for showcasing the radastan mode.
It is a conversion of this video: https://depositphotos.com/69116629/stoc ... -runs.html
You are welcome to include it among the slideshow demos on the SD card distribution. In fact, I am considering developing a radastan remake of 3D Monster Maze, the classic ZX81 game, with animations and Wolfenstein 3D-style graphics. Would there be interest in such a game?
Simple radastan animation
- chernandezba
- Mensajes: 841
- Registrado: 02 Oct 2015, 23:35
Re: Simple radastan animation
Nice!!!
I would have put another background colour, but it's nice
How did you make it? The animation is very smooth
I would love that remake!!!
I would have put another background colour, but it's nice
How did you make it? The animation is very smooth
I would love that remake!!!
Re: Simple radastan animation
I sure would be interested!nagydani escribió:(...) In fact, I am considering developing a radastan remake of 3D Monster Maze, the classic ZX81 game, with animations and Wolfenstein 3D-style graphics. Would there be interest in such a game?
Re: Simple radastan animation
Regarding the "how":
The video was first split into frames, then I realized that it is looping every 29 frame (a weird number, for sure), then I picked a 16 color palette (by hand) and then scaled down each frame so that the Rex fit into 32x96 pixels and then found the closest matching color for each pixel from the palette using mean square error and weights 2, 4 and 1 for R, G and B, respectively.
Then I wrote a very simple but fast assembly routine moving the 32x96 pixel sprite into the video RAM so that it reads the source address from SEED system variable that is set by the RANDOMIZE instruction. Finally, I coded up the rest in BASIC. All it does is load the 29 frames into different parts of the RAM (using only uncontended banks, for extra speed) and then call the machine code to display the frames, with PAUSE 1 for frame synchronization.
That's all. Quick and dirty, I know, but I wanted something enjoyable ASAP.
The video was first split into frames, then I realized that it is looping every 29 frame (a weird number, for sure), then I picked a 16 color palette (by hand) and then scaled down each frame so that the Rex fit into 32x96 pixels and then found the closest matching color for each pixel from the palette using mean square error and weights 2, 4 and 1 for R, G and B, respectively.
Then I wrote a very simple but fast assembly routine moving the 32x96 pixel sprite into the video RAM so that it reads the source address from SEED system variable that is set by the RANDOMIZE instruction. Finally, I coded up the rest in BASIC. All it does is load the 29 frames into different parts of the RAM (using only uncontended banks, for extra speed) and then call the machine code to display the frames, with PAUSE 1 for frame synchronization.
That's all. Quick and dirty, I know, but I wanted something enjoyable ASAP.
Re: Simple radastan animation
Looks nice!