Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help making all text white.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Mattlap




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Raknarg




PostPosted: Tue May 03, 2011 8:01 pm   Post subject: RE:Help making all text white.

color (white)

That'll make all text white Razz
RandomLetters




PostPosted: Tue May 03, 2011 8:03 pm   Post subject: RE:Help making all text white.

Text.Color sets the color of the text.
Mattlap




PostPosted: 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?
RandomLetters




PostPosted: 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.
Mattlap




PostPosted: 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.
RandomLetters




PostPosted: Tue May 03, 2011 8:10 pm   Post subject: RE:Help making all text white.

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




PostPosted: Tue May 03, 2011 8:15 pm   Post subject: Re: Help making all text white.

Thanks!
Sponsor
Sponsor
Sponsor
sponsor
Prince Pwn




PostPosted: 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.
Raknarg




PostPosted: 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
Insectoid




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 11 Posts ]
Jump to:   


Style:  
Search: