View Single Post
Old 03-19-2013, 07:14 PM   #3
justin_ator
🥓<strong><span style="col
Resident Overseer
FFR Veteran
 
justin_ator's Avatar
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
Default Re: Thoughts about a monochromatic option for FFR gameplay?

It's VERY easy to implement in Velo's engine, I'd assume it's not much harder in the official.

All I did (did something of the sort toying around with velo's engine before on the community engine site) was to set up a mod (similar to stealth) just instead of the opacity value being changed, just have an overwrite for the color values for each note changed to whatever color is decided on.

Code:
my_color = new Color(_root.main.gameboard["a" + dir]);
        myColorTransform = new Object();
        switch (_global.noteBox[0][2])
        {
            case "blue":
            case "red":
            {
                myColorTransform = {ra: "100", rb: "0", ga: "100", gb: "0", ba: "100", bb: "0", aa: "100", ab: "00"};
                break;
            } 
            case "green":
            {
                myColorTransform = {ra: "100", rb: "255", ga: "100", gb: "0", ba: "100", bb: "-107", aa: "100", ab: "00"};
                break;
            } 
            case "orange":
            {
                myColorTransform = {ra: "100", rb: "0", ga: "100", gb: "100", ba: "100", bb: "-255", aa: "100", ab: "00"};
                break;
            } 
            case "pink":
            {
                myColorTransform = {ra: "100", rb: "255", ga: "100", gb: "-25", ba: "0", bb: "-255", aa: "100", ab: "00"};
                break;
            } 
            case "purple":
            {
                myColorTransform = {ra: "100", rb: "255", ga: "100", gb: "41", ba: "100", bb: "231", aa: "100", ab: "00"};
                break;
            } 
            case "white":
            {
                myColorTransform = {ra: "94", rb: "157", ga: "50", gb: "-84", ba: "100", bb: "50", aa: "100", ab: "00"};
                break;
            } 
            case "yellow":
            {
                myColorTransform = {ra: "100", rb: "255", ga: "100", gb: "255", ba: "100", bb: "255", aa: "100", ab: "00"};
                break;
            } 
            case "cyan":
            {
                myColorTransform = {ra: "100", rb: "204", ga: "100", gb: "185", ba: "100", bb: "-255", aa: "100", ab: "00"};
                break;
            } 
            default:
            {
                myColorTransform = {ra: "100", rb: "0", ga: "100", gb: "100", ba: "100", bb: "255", aa: "100", ab: "00"};
                break;
            }


so for this "mod" you'd just change the color values to all be the same thing, thus making it a "flat" noteskin. I'm assuming this only works with the regular noteskin, and also assuming Velo didn't change the way the engine uses the default noteskin.

edit: I guess my point in posting this is that the reason for not doing it should be a valid "We don't think it's a good idea" not a "we don't feel like implementing it"...

followup edit: I recall Velo showing us an example of a customizable swf for all the noteskin colors, so I do believe that his goal was to have all the noteskins run on the same "color" code for each "note", which would mean that this "mod" I posted about above could apply to all noteskins in his newer engines if he stuck to his original plan.
__________________

Last edited by justin_ator; 03-19-2013 at 08:04 PM..
justin_ator is offline   Reply With Quote