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

Username:   Password: 
 RegisterRegister   
 Font
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
canada123




PostPosted: Fri Jun 02, 2006 9:01 pm   Post subject: Font

Does anyone know how to change the size of font without Font.Draw or anything with Font in it? thnxs for the help
Sponsor
Sponsor
Sponsor
sponsor
canada123




PostPosted: Fri Jun 02, 2006 9:14 pm   Post subject: (No subject)

Well to be more specific this is the problem.
I have a variable that is a int
i.e
var score : int

then i want the "score" to appear in a dif font and color...put when i do:
Font.Draw (score, 50, 30, font1, red)

it says, "argument is the wrong type." Help world appreciated.
Dan




PostPosted: Fri Jun 02, 2006 9:37 pm   Post subject: (No subject)

i think you might have to convert the int into a string with intstr.

code:

Font.Draw (intstr(score), 50, 30, font1, red)


As for font size and color see Font.New and Font in your turing help thing.[/code]
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
canada123




PostPosted: Fri Jun 02, 2006 10:01 pm   Post subject: (No subject)

Hacker Dan wrote:
i think you might have to convert the int into a string with intstr.

code:

Font.Draw (intstr(score), 50, 30, font1, red)


As for font size and color see Font.New and Font in your turing help thing.[/code]


WOW THNXS MAN, I LOVE YOU!!
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  [ 4 Posts ]
Jump to:   


Style:  
Search: