How to make only SOME of the screen colored with colorback
Author |
Message |
Cinderblock
|
Posted: Sun Sep 18, 2011 12:29 pm Post subject: How to make only SOME of the screen colored with colorback |
|
|
What is it you are trying to achieve?
I am trying to make a status box where everything that is happening in the game will be printed in text (kind of like pokemon if anyone here has ever played it) on the top right corner i have a drawn box, i can easily locate all the text to appear there, the only problem is that the white colorback overides my box and erases a a bit of a line with every line of code, if i change the colorback to grey (the color of the box) it makes the whole line grey, i am looking to keep the text only inside of the box and
What is the problem you are having?
read above
Describe what you have tried to solve this problem
ive tried litterairly all me and my little programing brain can think of nothing worked
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using
latest version |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
Posted: Sun Sep 18, 2011 12:39 pm Post subject: RE:How to make only SOME of the screen colored with colorback |
|
|
The whole line is grey because put "hello" implicitly means "hello + newline". You want to not colour the newline.
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
|
|