Poll

Should I make SetRandomFXColor and/or ifColor

Do both.
Only do SetRandomFXColor.
Only do ifColor.
No.
Make something else.

Author Topic: SetRandomColor  (Read 5169 times)

0 - 63 only as that can be transmitted in 6 bits. 0 - 64 wouldn't make sense as that'd require an extra bit which could be used for 0 - 127. Any unused colours in the 0-63 set will be set to some obscure pink colour that has zero alpha.

Isn't that what I said simplified? :o

Lololol second page :D

Isn't that what I said simplified? :o

Lololol second page :D
No:
Quote
so this means a colorset with 64 colors has an extra placeholder color set to 64, meaning that the colorset technically has 65 colors.
It only has 64 colors. Color ID 64 does not exist.

It only has 64 colors. Color ID 64 does not exist.

64 colors, plus the glitchy pink alpha = 0 color.



64 colors, plus the glitchy pink alpha = 0 color.
Any undefined ID uses the 64th colorset color, ID 63. In the default paint set there is less than 64 colours so this is a glitched pink one.


Nice, could be used for anything.
onActivate> Self> FireRelay
onRelay> Self> FireRelay
onRelay> Named Brick (disco)> SetRandomColor
DLed.
Have a couple of cookies:  :cookie: :cookie:
« Last Edit: July 14, 2009, 05:31:34 PM by Sarky56 »

onActivate> Named Brick (disco)> FireRelay
onRelay> Named Brick (disco)> FireRelay
onRelay> Named Brick (disco)> SetRandomColor
That would only work once, the Relay failed. You set a random color, and sent the same brick a Relay. Unless you had more events in brick Disco, then it wont work.
I have no idea what Space Guy and gamefandan are arguing about. Sounds the same to me..
Ontopic: Nice. Downloaded.



Why? If nobody has a comment about your Add-On then nobody posts in it. Artificially bumping your topic is stupid unless you actually have new information or updates.

Why? If nobody has a comment about your Add-On then nobody posts in it. Artificially bumping your topic is stupid unless you actually have new information or updates.

I'm in New Jersey with nothing to do but bus tables, I'm loving bored.

I'm in New Jersey with nothing to do but bus tables, I'm loving bored.

Is it fixed? (Used to only do random reds)