Sign in to follow this  
Amm0niA

[mod request] ex pixel pack

Recommended Posts

Amm0niA    0

In a conventional pixel pack, a 4-bit signal corresponds to 4 pixels.
After all, a pixel can only choose two colors.

What I want to do is reduce the pixel pack to 1 square instead of 4 squares.
When one pixel receives a 4-bit signal, 16 colors can be selected.

This will be more useful for drawing pixel art.

Share this post


Link to post
Share on other sites
pether    1419
17 hours ago, Amm0niA said:

This will be more useful for drawing pixel art.

I doubt, you will have terrible problem with ribbon connections not to overlap with pixels next to each other

Share this post


Link to post
Share on other sites
Amm0niA    0

There is no need to separate the ribbon signal separately. Pixels can display different colors even when receiving the same signal. Collect a lot of pixels, connect the ribbon signal in one line, and when the player decides the color, you can create 16 different pixel art. However, if want to separate the ribbon signal, can make it 1 pixel but increase the size to 2x2.

Share this post


Link to post
Share on other sites
RomenH    21

Sounds like a fun small mod. Any other modders interested in doing this?

I would make it 2x2 to avoid the cable routing madness.
Another option would be to use a shared 4 bit bus, so you can route one ribbon to all of the pixels.
Then have a separate single automation input to tell the building to read the bus. Sort of like addressable pixels.
Or maybe using a row and column input so you can have a proper addressable matrix.

0000 would be off / black. Also when no automation is connected.
Then rotate through the color spectrum for each increment. Red, Yellow, Green


Could also use 1 bit for brightness making it 8 colors and 2 brightness levels for each.

0000: Black
0001: White
0010: Dark Red
0011: Bright Red
0100: Dark Yellow
0101: Bright Yellow
0110: Dark Green
0111: Bright Green
1000: Dark Cyan
1001: Bright Cyan
1010: Dark Blue
1011: Bright Blue
1100: Dark Purple
1101: Bright Purple
1110: Dark Magenta
1111: Bright Magenta

Or even better, just use these as defaults and let the user customize the palette in a config file.

Edited by RomenH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this