Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 10 submissions in the queue.
posted by janrinok on Tuesday December 27 2022, @06:42PM   Printer-friendly

https://8bitworkshop.com/docs/posts/2022/happy-holidays-2022.html

Every December, I try to make a little wintery demo to exercise one of 8bitworkshop's platforms. This year, I chose the Atari 800 to test out the new native TypeScript emulator in 8bitworkshop. You can see the demo emulated here.

I revisted my Bally Astrocade "Happy 2020" Demo, which simulates falling snow. It uses pixel-level collision to simulate each falling particle, which creates neat little piles of snow and particles that ripple off the sides of obstacles.

Atari ANTIC Mode $F uses the GTIA chip to add additional modes beyond what the original CTIA chip provides. I used GTIA Mode 10, which is 80 x 192 pixels with nine different colors.

I changed the snow-falling algorithm so that the snow piles up only when it collides with existing snow. This scheme reserves one of the palette entries for snow, so we can detect snow vs. background.


Original Submission

This discussion was created by janrinok (52) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 2) by crafoo on Tuesday December 27 2022, @07:15PM

    by crafoo (6639) on Tuesday December 27 2022, @07:15PM (#1284141)

    Fun demo, nice writeup. Using neural net generated image for the background worked out well. I hadn't heard of 8bitworkshop. The online IDE is great.

(1)