Author |
Message |
xmdxtreme
|
Posted: Sat May 15, 2004 11:46 am Post subject: dont get it... |
|
|
what does -= and += mean? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Paul
|
Posted: Sat May 15, 2004 12:04 pm Post subject: (No subject) |
|
|
+= is variable:= variable + something
so a+=1 is a:=a+1
same goes for -= |
|
|
|
|
|
xmdxtreme
|
Posted: Sat May 15, 2004 12:38 pm Post subject: (No subject) |
|
|
o ok i got 1 more qestion how can i set my back ground color black and text green cause every time i do it only the background behind the text is black not the whole screen? |
|
|
|
|
|
MyPistolsIn3D
|
Posted: Sat May 15, 2004 12:46 pm Post subject: (No subject) |
|
|
This help?
code: | var font := Font.New ("arial:18")
Draw.FillBox (0, 0, maxx, maxy, black)
Font.Draw ("This is how", 100, 100, font, brightgreen) |
|
|
|
|
|
|
xmdxtreme
|
Posted: Sat May 15, 2004 12:47 pm Post subject: (No subject) |
|
|
yeah thats what i wanted thx! |
|
|
|
|
|
xmdxtreme
|
Posted: Sat May 15, 2004 12:49 pm Post subject: (No subject) |
|
|
no thats no use sorry but i have to put everything in that. I know theres another way. |
|
|
|
|
|
MyPistolsIn3D
|
Posted: Sat May 15, 2004 12:56 pm Post subject: (No subject) |
|
|
explain more what you are doing, or post your code to give me a better idea of what yer doing. |
|
|
|
|
|
guruguru
|
Posted: Sat May 15, 2004 1:13 pm Post subject: (No subject) |
|
|
To set the background color use colorback(black) and to set the text color use color(green). The thing with colorback- it is the background of the text, not of the screen. An easy way to get around this is simply to clear the screen once after you set the background color.
code: |
colorback(black)
cls
color(green)
put "Yay!!! The background is black and this text is green!!!"
|
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
xmdxtreme
|
Posted: Sat May 15, 2004 1:39 pm Post subject: (No subject) |
|
|
thank you |
|
|
|
|
|
|