
-----------------------------------
canada123
Fri Jun 02, 2006 9:01 pm

Font
-----------------------------------
Does anyone know how to change the size of font without Font.Draw or anything with Font in it? thnxs for the help

-----------------------------------
canada123
Fri Jun 02, 2006 9:14 pm


-----------------------------------
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
Fri Jun 02, 2006 9:37 pm


-----------------------------------
i think you might have to convert the int into a string with intstr.


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]

-----------------------------------
canada123
Fri Jun 02, 2006 10:01 pm


-----------------------------------
i think you might have to convert the int into a string with intstr.


Font.Draw (intstr(score), 50, 30, font1, red) 


As for font size and color see Font.New and Font in your turing help thing.

WOW THNXS MAN, I LOVE YOU!!
