[Help] Color
#9

Not sure why you're talking about *= 16... And you don't just add the numbers together, you need to times them by powers of 256.

_________________________________________________

A *= 10

is the same as:

A = A * 10

_________________________________________________

You have to do the strval bit or whatever for yourself, but you need to have the numbers you want stored in the variables R G and B, before you do what I just did to them. If in doubt send the code.

_________________________________________________

Note, I just changed the code so that it would work.
Reply


Messages In This Thread
[Help] Color - by borisblat - 19.07.2009, 16:48
Re: [Help] Color - by Weirdosport - 19.07.2009, 16:58
Re: [Help] Color - by borisblat - 19.07.2009, 17:00
Re: [Help] Color - by Weirdosport - 19.07.2009, 17:02
Re: [Help] Color - by borisblat - 19.07.2009, 17:03
Re: [Help] Color - by ByFukara - 19.07.2009, 17:04
Re: [Help] Color - by borisblat - 19.07.2009, 17:05
Re: [Help] Color - by ByFukara - 19.07.2009, 17:06
Re: [Help] Color - by Weirdosport - 19.07.2009, 17:09
Re: [Help] Color - by borisblat - 19.07.2009, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)