Computer Science Canada

setscreen("title:")

Author:  guttface [ Tue Mar 02, 2004 9:20 pm ]
Post subject:  setscreen("title:")

when using setscreen("title:") or View.Set("title:") , is there a way to put a variable into the title? i'm making a game and was wondering if i could put the round number in the title. thanks

Author:  shorthair [ Tue Mar 02, 2004 9:23 pm ]
Post subject: 

that has nothing to do wiht hte setscreen commands or view dot set ,

your looking for the font.Draw command i would give you syntax but im short on time , if you f9 that keyword in turing , you the help file will tell you exactly how to use it

Author:  Catalyst [ Tue Mar 02, 2004 9:26 pm ]
Post subject: 

For intergers
code:

View.Set ("title:"+intstr(roundNumberVar)+" the rest")

Author:  shorthair [ Tue Mar 02, 2004 9:43 pm ]
Post subject: 

Catalyst , im not sure if i understand his question , does he not want to output a number on hte screen, would nt font do it really well and look nice

Author:  Catalyst [ Tue Mar 02, 2004 9:48 pm ]
Post subject: 

to me it seems he says he wants to put a round number in the title of the window

Author:  jonos [ Tue Mar 02, 2004 9:51 pm ]
Post subject: 

yeah, i think that's what he want. just put catalyst's in the loop you are using for the game (if you are using a loop)

Author:  recneps [ Wed Mar 03, 2004 3:51 pm ]
Post subject: 

Yep What they said, and you can do it with setscreen too cant you?

Author:  guttface [ Wed Mar 03, 2004 4:02 pm ]
Post subject: 

thanks. by the way i was trying to use setscreen to put a variable in the window title bar. sorry i wasnt clear enough.


: