Page 1 of 1

IW3 is here! :D

PostPosted: Tue Mar 30, 2010 2:13 pm
by Hblade
Hi everyone! IntoWindow3 is here, now you dont need a silly file telling you what your window color should be! you can completly customize your window color easily!

Try out the new and improved IntoWindow3, here's the code.
Code: Select all
//Draw the window with a custom RGB, not loaded from a file//
void IntoWindow(int RR, int GG, int BB, int BR, int BG, int B_B, float T, float BT)
{
    int line;
    erase(255, 255, 255, 1);
    for (line=3;line<height-3;line++)
    {
        setpen(RR+(line/4), GG+(line/4), BB+(line/4), T, 1);
        moveto(3, line);
        lineto(width-3, line);
    }
    setpen(BR, BG, B_B, BT, 2);
    moveto(3, 2);
    lineto(width-3, 2);
    setpen(BR, BG, B_B, BT, 2);
    moveto(2, 4);
    lineto(2, height-3);
    moveto(3, height-2);
    lineto(width-3, height-2);
    moveto(width-2, height-3);
    lineto(width-2, 3);
}


But wait, there's more. Using the Customizable, Preset colors, you can make windows in half the time.
The code for the customizable quicksets is here
Code: Select all
#define StarOcean 0, 89, 89, 255, 255, 255, .30, 0
#define FF7 0, 0, 90, 255, 255, 255, 0, 0
#define Dusk 88, 38, 0, 255, 255, 255, .30, 0

#define PurpleNight 38, 0, 38, 255, 129, 255, 0, 0
#define GreenGrass 0, 49, 0, 200, 255, 200, 0, 0
#define StarLight 0, 0, 0, 0, 0, 255, 0, 0
#define Ocean 0, 0, 49, 255, 255, 255, .30, .30


To use these, simply type in IntoWindow(StarOcean); to get the Star Ocean look You can also make your own colorsets.

Screenshots
Screen3.JPG

Screen4.JPG

Screen 1.JPG

Screen 2.JPG

Screen 3.JPG




Information & Help

[---- How to use ----]
You can use this code by copy and pasting the code above.
To call this function, simply type

IntoWindow(0, 0, 0, 0, 0, 0, .30, .30);

The first 3 0's are the color of the window.
The second 3 0's are the color of the border.
The first .30 is the transparency of the window.
The second .30 is the transparency of the border.


[---- Quicksets ----]
You can also use Quicksets. Quicksets allow for
1 word color modding, you can make your own or
you can use the built in ones. Try them all out and
see if there's one you like.

[---- Credits ----]
There is no credit needed.





Please reply and let me know what you think, and let me know of ways I can improve it.

Thanks :D

Re: IW3 is here! :D

PostPosted: Thu Jun 24, 2010 8:09 am
by lcl
This is cool! :D
But I want ask about canvas... Does it shade automatically?
I mean that in top of canvas the color is deeper and as you look down it goes lighter... :|
Is this true??? It seems to me... :D

Re: IW3 is here! :D

PostPosted: Thu Jun 24, 2010 12:36 pm
by Game A Gogo
in order to have shaded drawings on the canvas, you just need to change the color of the pen when drawing on it, it's not done automatically

Re: IW3 is here! :D

PostPosted: Thu Jun 24, 2010 3:02 pm
by lcl
Game A Gogo wrote:in order to have shaded drawings on the canvas, you just need to change the color of the pen when drawing on it, it's not done automatically

Ok. :oops:
Then my eyes lie to me, 'cause for example the last of the Hblades posted images
has the dark box in left side and it really seems to me to shade smoothly from top dark to underneath light.
But I don't know... :|

Re: IW3 is here! :D

PostPosted: Thu Jun 24, 2010 3:26 pm
by Game A Gogo
They all do, HBlade included it in his code to make it that way :)

Re: IW3 is here! :D

PostPosted: Thu Jun 24, 2010 3:49 pm
by lcl
Oh. :oops: Thanks for explain! :D