Computer Science Canada

colouring only one character on the screen

Author:  chalcids [ Mon Dec 19, 2011 12:56 pm ]
Post subject:  colouring only one character on the screen

Hello again, i need some help with my program. I want to change the colour of one character like * in my program and not the whole screen. What code do i need to do so?
Thanks in advance.

Author:  Dragon20942 [ Mon Dec 19, 2011 1:08 pm ]
Post subject:  RE:colouring only one character on the screen

Put everything before the one character and use :*, change the colour, put the alternately coloured character and use :*, change the colour back, and put the rest of the text.

Or you can just use Font.Draws, or call text saved as images.

Author:  chipanpriest [ Mon Dec 19, 2011 1:11 pm ]
Post subject:  Re: colouring only one character on the screen

If you're just putting something on the screen then you can just type
Turing:
colour () %Thats whatever colour you want

so like
Turing:
colour (7) %black
put "hey, ho"..
colour (12) %red
put "w"..
colour (7) %back to black
put " are you?"

let me know if it helps Smile

Author:  Dragon20942 [ Mon Dec 19, 2011 1:18 pm ]
Post subject:  Re: colouring only one character on the screen

Oops my bad it was supposed to be ".." instead of ":*" sorry Embarassed

Author:  chipanpriest [ Mon Dec 19, 2011 1:21 pm ]
Post subject:  Re: colouring only one character on the screen

ya dont listen to dragon :p jk


: