Bug hunt
More tweaks on the Helmet Generator (no more embedding; it bores me)....
-- Fixed the hex-color bug (if a randomly-generated color produced a hex-color with leading zeros, those zeros were getting chopped off, leaving a five- and sometimes four-character hex color, which just doesn't work.
-- Fixed it so that hex-colors will now always be in caps. Not fatal, not by any means, but annoying.
-- The process for computing the randomly-generated colors into hex and assigning the random colors to the color-pickers was just wrong. If it's wrong enough that I can tell, it's wrong. Reconfigured the randomization sequence, now seems to be working, but hey, I could be wrong.
-- Restacked the layers a bit. The foam pads inside the helmet were actually atop the facemask at one point. Put the logo/decal layer back under the shine/darken/bling/reflect layers, so that will give it a little more depth, at the cost of lessened visibility under some circumstances.
I'm thinking this'll be it for major features. Flash can't save to local files, so there goes exporting the helmets as PNGs/JPGs. (I could save to the server and link to that, but...no, that opens up a whole new can of worms. Not for now.)
-- Fixed the hex-color bug (if a randomly-generated color produced a hex-color with leading zeros, those zeros were getting chopped off, leaving a five- and sometimes four-character hex color, which just doesn't work.
-- Fixed it so that hex-colors will now always be in caps. Not fatal, not by any means, but annoying.
-- The process for computing the randomly-generated colors into hex and assigning the random colors to the color-pickers was just wrong. If it's wrong enough that I can tell, it's wrong. Reconfigured the randomization sequence, now seems to be working, but hey, I could be wrong.
-- Restacked the layers a bit. The foam pads inside the helmet were actually atop the facemask at one point. Put the logo/decal layer back under the shine/darken/bling/reflect layers, so that will give it a little more depth, at the cost of lessened visibility under some circumstances.
I'm thinking this'll be it for major features. Flash can't save to local files, so there goes exporting the helmets as PNGs/JPGs. (I could save to the server and link to that, but...no, that opens up a whole new can of worms. Not for now.)