Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 ViewsSo, how could I randomize a hexidecimal color code for RGB? Such as the FF0000 (pure red) or 0000FF (pure blue). And after doing that, is there a way to store it as a variable?
This account is now defunct and will now serve as an alt - _)-UltimateCJ64-(_
Seriously, I'm serious.
At 7/19/11 07:31 PM, 51lver wrote: var colour = Math.random()*0xFFFFFF;
var colour:int = int(Math.random() * 0xFFFFFF);
never forget that colour is an int (or uint) variable
Ah, that should've been obvious. :P Oh well, thanks guys!
This account is now defunct and will now serve as an alt - _)-UltimateCJ64-(_
Seriously, I'm serious.