Thursday, February 16, 2023

It Came from the West

Last month a new disease was found going on the country side. Those infected go berserk in an eating frenzy, sort of rabies they say. It transmits through the saliva and has a fast infection rate, person goes crazy in a matter of minutes. The good side is that these people won't be catching any planes, said the government, so it is contained, and while dangerous and with no cure, they end up dying of starvation some days later.

Last week all sorts of communications went down. Not that they didn't work, it was just that nobody sent or responded anything. Some days later, people stopped showing up in town, merchants stopped travelling. It was something to do with rumors of people disappearing or never coming back, even those who looked for them.

Early today a few military trucks showed up, they were in a shocking condition, the captain said that the region has been declared lost grounds, that the condition is serious and they will do their best to carry the ones with needs but everyone should follow them east right away, for the infected will reach the area in 4 hours.

Well, it is now 5 hours past that speech, most people went away. I fail to trust those who were leaving us to a sudden death if not for the supplies they ended up taking. I think they won´t blink to cannon fodder me should the need appears. I got a car outside with some fuel, food, supplies and a gun, I may do better on my own with the others.


This is a zombie survivor rogue-like game for the Color Computer. Not a complete project yet but an exercise in code size reduction and possible features to keep. The plan is to create a 10 line version for the competition of the same name. More about the compo here:  https://www.homeputerium.de/


Tuesday, January 24, 2023

TRS-80 Color Computer PMODE4 artifact color drawing system

This proof of concept works inside Adobe Photoshop through an ACTION, a PAL file and a layered TIFF file. One works with the TIFF file on an specific layer in an area of 256x192 pixels located on the Double Dragon colored preview you see here (top left):


The top 2 screens starts empty, you draw on the left one using the 2 rows of pure colors right underneath it, the rows below are what they will become after processed. There is a total of 24 colors to be used.

Notice some are marked background black? Those produce specific dithers that might not combine with everything and must be used considering its tone and texture, a good example is the blue/red brick color, the third from the left, you don´t want bricks on the sky nor the clouds unless you are doing a cloud city ;)

The pallets on the low right have 18 colors, they skip the specific ones, and are arranged as an RGB sequence, 8 hues with 3 shades each for the left scheme and 4 hues with ~5 shades for the right one.

These ones are easy to work with and good grounds for converting existing stuff, like the Double Dragon II screen shot you see there. This 18 color pallete is very close in appearance to the dithered artifact colors, it is best used when you want to create something original. For conversions, you might want to work-shift those tones into a more general RGB space and do the back indexing.

So, on the left screen, you then have your image/art using a palette that is contained on the lower pallete rows. Press F5 to activate the ACTION and it creates a layer containing the preview (as we actually see on the above screen shot) and a black and white equivalent to send to the COCO.
---
Art wise, it helps to better understand the native colors and dithers, so here are the 24 indexed pure colors you are going to do your art with, analysed with the superb DawnBringer's tool.


Discard the diagrams that deals with the pure colors dithers, they won´t work and the coco artifact colors already have their own dithers. Keeping that in mind, next is the previewed artifact colors:


As you can see, some of the diagrams are very inspiring into what can be done and how things are going to mix/blend in. Finally, you have the black and white equivalent just for fun:


An interesting aspect on the black and white version is its usage on the alternate green set (no artifacts) or on a Dragon computer. If it needs to be compatible with the COCO, then if it uses these dithers, you may know what it will look like on the other side.

The system is now complete as its intended goal, a proof of concept prototype running inside Photoshop that helps creating PMODE4 artifact colors. Only proper documentation is missing now ;)

Since this works just fine (at least for me :) ), it might be worth looking into making a better system or an add-on to an open source tool. What would you recommend?

Update: Here is the image running on the real machine and tube TV, courtesy of Luciano Scharf.