Blockland Forums > Suggestions & Requests
256 Colors in a Colorset
(1/5) > >>
TristanLuigi:
Right now, colorsets can only hold 64 colors, or 26. This makes no sense to me. A full byte contains 8 bits, so unless those other two bits are used to store a brick's rotation, we're letting two valuable bits of information in every brick go to waste. A full byte can store a value of 28 or 0-255 (or -128 to 127, but colors shouldn't need negatives), meaning that we could have 256 colors per byte if we include 0. So why not? Obviously, no reasonable colorsets would include 256 colors, but I've faced this problem designing a colorset myself. You just need that one extra column, but you have no space for it.

I could be completely wrong about how this works, but as far as I know there's no number type in C++ that has a value of 0-63, so I assume Blockland uses bytes for this.
Pah1023:
If I am correct, the reason we don't have more colors is because every single color requires 5 datablocks each (Probably more), and that adds up.

Each color requires a paint can image, projectile,
emitter, explosion, and particle.
So, a full colorset requires 320 datablocks.
But I do agree that the colorset limit should be higher, to atleast 128.
TristanLuigi:

--- Quote from: Pah1023 on November 26, 2013, 10:00:25 PM ---If I am correct, the reason we don't have more colors is because every single color requires 5 datablocks each (Probably more), and that adds up.

Each color requires a paint can image, projectile,
emitter, explosion, and particle.
So, a full colorset requires 320 datablocks.
But I do agree that the colorset limit should be higher, to atleast 128.

--- End quote ---
Paint can image I get.
Particle, emitter, and explosion can all be rainbow for every color.
Projectile might have to be different.
2*256 still adds up to 512, but no colorset would have 256 colors, it's just a suitable maximum. It would help current colorsets, too - from 320 to 125.
Pah1023:

--- Quote from: TristanLuigi on November 26, 2013, 10:03:53 PM ---Paint can image I get.
Particle, emitter, and explosion can all be rainbow for every color.
Projectile might have to be different.
2*256 still adds up to 512, but no colorset would have 256 colors, it's just a suitable maximum. It would help current colorsets, too - from 320 to 125.

--- End quote ---
It would be kinda silly seeing everyone spraying rainbow paint, but still, all the data sent to the client is the color information, because the client should have all the images/models.
I believe the limit for datablocks should be modified to allow a higher count for paint, because I find myself sometimes missing colors in my builds and wish I had more colors.

It would be cool if we could just have limitless colors, but that would probabily never be made.
TristanLuigi:

--- Quote from: Pah1023 on November 26, 2013, 10:07:59 PM ---It would be kinda silly seeing everyone spraying rainbow paint, but still, all the data sent to the client is the color information, because the client should have all the images/models.
I believe the limit for datablocks should be modified to allow a higher count for paint, because I find myself sometimes missing colors in my builds and wish I had more colors.

It would be cool if we could just have limitless colors, but that would probabily never be made.

--- End quote ---
Bricks would have 4 bytes of color information and colorsets would just be a set of presets.
Save files would be larger, but more colors :P

I would much prefer more colors and silly rainbows over less colors and better-looking sprays.
Navigation
Message Index
Next page

Go to full version