Author |
Message |
xmdxtreme
![](http://www.battle.net/war3/images/nightelf/units/animations/demonhunter.gif)
|
Posted: Sat May 15, 2004 11:46 am Post subject: dont get it... |
|
|
what does -= and += mean? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Paul
![](http://i12.photobucket.com/albums/a207/paulbian/DDRDuck.png)
|
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 -= |
|
|
|
|
![](images/spacer.gif) |
xmdxtreme
![](http://www.battle.net/war3/images/nightelf/units/animations/demonhunter.gif)
|
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? |
|
|
|
|
![](images/spacer.gif) |
MyPistolsIn3D
![](http://tinypic.com/6f7cif.jpg)
|
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) |
|
|
|
|
|
![](images/spacer.gif) |
xmdxtreme
![](http://www.battle.net/war3/images/nightelf/units/animations/demonhunter.gif)
|
Posted: Sat May 15, 2004 12:47 pm Post subject: (No subject) |
|
|
yeah thats what i wanted thx! ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
xmdxtreme
![](http://www.battle.net/war3/images/nightelf/units/animations/demonhunter.gif)
|
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. |
|
|
|
|
![](images/spacer.gif) |
MyPistolsIn3D
![](http://tinypic.com/6f7cif.jpg)
|
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. |
|
|
|
|
![](images/spacer.gif) |
guruguru
![](http://www.vialattea.net/esperti/immagini/einstein.gif)
|
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!!!"
|
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
xmdxtreme
![](http://www.battle.net/war3/images/nightelf/units/animations/demonhunter.gif)
|
Posted: Sat May 15, 2004 1:39 pm Post subject: (No subject) |
|
|
thank you ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
|