Computer Science Canada

Help making all text white.

Author:  Mattlap [ Tue May 03, 2011 7:51 pm ]
Post subject:  Help making all text white.

What is it you are trying to achieve?
So basically my brother suggested that I make a text based adventure game with Turing. I accepted the challenge and I want to make the program all nice and pretty and text-based-adventury. I have noticed that text based adventure games aren't the same unless it's a black background with white text. I don't know how to make white text for all of my text in the program.

Any and all help is appreciated!

-Matt

Please specify what version of Turing you are using
4.1.1

Author:  Raknarg [ Tue May 03, 2011 8:01 pm ]
Post subject:  RE:Help making all text white.

color (white)

That'll make all text white Razz

Author:  RandomLetters [ Tue May 03, 2011 8:03 pm ]
Post subject:  RE:Help making all text white.

Text.Color sets the color of the text.

Author:  Mattlap [ Tue May 03, 2011 8:04 pm ]
Post subject:  Re: Help making all text white.

One more question, how would I make the entire screen black? I did the Draw.Fill but if I do that then when I put colour white it just makes the whole line white.

EDIT: Also I need to think of a good name for the game but I got nothing, any suggestions?

Author:  RandomLetters [ Tue May 03, 2011 8:07 pm ]
Post subject:  RE:Help making all text white.

Text.Colorback
Unfortunately, I don't think turing can make transparent colors, so you'll just have to have black highlighting.

Author:  Mattlap [ Tue May 03, 2011 8:08 pm ]
Post subject:  Re: Help making all text white.

If i do the text.colourback(black) then it just makes the current line black and not the whole screen.

Author:  RandomLetters [ Tue May 03, 2011 8:10 pm ]
Post subject:  RE:Help making all text white.

Yes. You'll still have to use the fillbox.

Author:  Mattlap [ Tue May 03, 2011 8:15 pm ]
Post subject:  Re: Help making all text white.

Thanks!

Author:  Prince Pwn [ Thu May 05, 2011 2:54 pm ]
Post subject:  RE:Help making all text white.

I recommend using Font.Draw instead of the color and put commands, much more customizable.

Author:  Raknarg [ Thu May 05, 2011 8:43 pm ]
Post subject:  RE:Help making all text white.

Yes, but making your own usable font out of Font.Draw when your fairly new isn't quite as easy Razz

Author:  Insectoid [ Thu May 05, 2011 9:37 pm ]
Post subject:  RE:Help making all text white.

If you use colorback, and call cls immediately after you'll color the whole screen.


: