Значок ресурса

Matrix Digital Rain

Нет прав на скачивание
🎮 Запустить в эмуляторе

Автор: Marco Varesio
Год: 2021
Издатели: Marco's Retrobits
Языки: 🇬🇧 Английский
Формат: 📼 TAP лента
Требования: 🖥️ ZX Spectrum 48K

Ссылки:
Страница на ZXArt
Страница на Spectrum Computing

Скриншоты:
0037974-open-1.png
0037974-run-1.png


Описание:
Matrix Digital Rain — это демо для ZX Spectrum 48k, созданное Марко Варезио под брендом Marco's Retrobits в 2020 году. Демо вдохновлено культовым эффектом цифрового дождя из серии научно-фантастических фильмов «Матрица». Этот визуальный эффект характеризуется падающими зелеными символами на черном экране, имитируя вид компьютерного кода.

Программа позволяет пользователям испытать эффект цифрового дождя в различных режимах. Пользователи могут переключаться между режимами «стандартный», «инверсные капли» и «женщина в красном», каждый из которых предлагает уникальный визуальный опыт. Режим «женщина в красном» включает битмап-изображение, добавляя интересный поворот к классическому эффекту.

Пользователи также могут настраивать цвет дождя, нажимая цифровые клавиши, выбирая из синего, красного, пурпурного, зеленого, цианового и желтого. Эта настройка добавляет уровень интерактивности, позволяя пользователям персонализировать свой опыт цифрового дождя.

Matrix Digital Rain был написан на языке C и скомпилирован с использованием z88dk и компилятора ZSDCC. Его можно запускать на ZX Spectrum или через эмуляторы, такие как FUSE, а также в веб-браузерах через эмулятор JSSpeccy. Демо демонстрирует технические возможности ZX Spectrum, привнося часть кинематографической истории в мир ретро-вычислений.

-------------------------------------------

Matrix Digital Rain for the ZX Spectrum 48k

-------------------------------------------



By Marco Varesio (Marco's Retrobits) 2020






Coded for the Matrix Challenge, organized by Retro Programmers Inside




This is my implementation of the well known Digital Rain (also referred to as

Raining Code) effect, featured in The Matrix science fiction movies.

Watch the video:



Load the "coderain.tap" file in your ZX Spectrum or your favorite emulator.

A good emulator available for many platforms is FUSE:


You can even try Matrix Digital Rain in your web browser

(powered by JSSpeccy emulator):




While the code rain animation is running, you can change the effects

by pressing the following numeric keys:

7: set mode to "inverted drops"

8: set mode to "standard" (default)

9: set mode to "woman in red"



You can change the colour by pressing the following numeric keys:

1: blue

2: red

3: magenta

4: green

5: cyan

6: yellow



Implementation details

----------------------



The adopted technique is to initially fill the screen with random characters

(or with a bitmap image for the "woman in red"), making them not visible

(black ink on black paper).

Then, within an endless loop, the rain effect has been implemented by altering

the screen attributes memory area, to make the "drop" and its trail visible.

The “drops” start falling at random position and each “drop” falls at a

random speed and leaves a trail with random length.

In the "standard" and "inverted drops" mode, the trail is brighter immediately

after the “drop” and becomes darker as the “drop” slides down; moreover,

random characters at random positions are periodically printed to the screen.



The Matrix Digital Rain for the ZX Spectrum has been coded in C language and

built with z88dk using the ZSDCC compiler.



Source files:

coderain.c: the actual program

udg.c: the custom characters

woman.c: the "woman in red" bitmap



Compile with:

zcc +zx -vn -startup=1 -clib=sdcc_iy -lm woman.c udg.c coderain.c -o coderain -create-app
Автор
Verter_bot
Загрузки
0
Просмотры
1
Расширение
zip
Размер
10.3 КБ
Хэш
ab0e59058fc36fe588eb25096369a347
Первый выпуск
Последнее обновление

Оценки

0.00 звезд(ы) 0 оценок
Назад
Вверх