My brain is turning circles! Please help T.T

Non-platform specific questions.

My brain is turning circles! Please help T.T

Postby Hblade » Fri Jun 25, 2010 9:07 am

Dude I'm so confused at this! I am adding onto my Iw, (Into window) function, now you can add patterns, such as lines or squares to the window, okay? Problem is, I couldnt seem to set the darn transparency of the lines / patterns, nor could I set the color using setpen, so I removed setpen all together and O.O! It still apears as black and dark NOTHING I do can change it T.T

Any ideas as to why this would happen?

Current code: (Dont say anything about using case instead, I already know lol)
Code: Select all
setpen(189, 0, 0, .99, 1);
    if (Pattern == 0)
    {
        for (i=3;i<height-3;i+=3)
        {
            moveto(3, i);
            lineto(width-4, i);
        }
    }
    if (Pattern == 1)
    {
        for (i2=4;i2<width-4;i2+=3)
        {
            moveto(i2, 3);
            lineto(i2, height-4);
        }
    }
    if (Pattern == 2)
    {
        for (i2=4;i2<width-4;i2+=3)
        {
            moveto(i2, 3);
            lineto(i2, height-4);
        }
        for (i=3;i<height-3;i+=3)
        {
            moveto(3, i);
            lineto(width-4, i);
        }
    }


Previous Code:
Code: Select all
    if (Pattern == 0)
    {
        setpen(189, 0, 0, .99, 1);
        for (i=3;i<height-3;i+=3)
        {
            moveto(3, i);
            lineto(width-4, i);
        }
    }
    if (Pattern == 1)
    {
        setpen(189, 0, 0, .99, 1);
        for (i2=4;i2<width-4;i2+=3)
        {
            moveto(i2, 3);
            lineto(i2, height-4);
        }
    }
    if (Pattern == 2)
    {
        setpen(189, 0, 0, .99, 1);
        for (i2=4;i2<width-4;i2+=3)
        {
            moveto(i2, 3);
            lineto(i2, height-4);
        }
        setpen(189, 0, 0, .99, 1);
        for (i=3;i<height-3;i+=3)
        {
            moveto(3, i);
            lineto(width-4, i);
        }
    }


The reason it is .99 is because I was testing it out, I even tried making it 189, 0, 0 but its still Black T.T
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: My brain is turning circles! Please help T.T

Postby Bee-Ant » Fri Jun 25, 2010 11:16 am

Use 0.99 instead of .99
And since it's 0.99 (almost 1), the lines are so transparent, try to use 0.8
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: My brain is turning circles! Please help T.T

Postby Hblade » Fri Jun 25, 2010 11:27 am

Tried didnt work o.o

Hblade wrote:The reason it is .99 is because I was testing it out, I even tried making it 189, 0, 0 but its still Black T.T
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: My brain is turning circles! Please help T.T

Postby Bee-Ant » Fri Jun 25, 2010 11:45 am

It worked here...
I think it's your GE bug
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest