Using Font for Simple Image
by J.C. Smith · in Torque Game Engine · 12/11/2005 (9:21 pm) · 1 replies
Hey all. I couldn't find anything on this anyplace and it's such a simple problem I figured I'd just ask.
In my current project I have a need to display some simple icons to indicate things like who has the flag, if a player is a bot, admin, etc as a small icon on the playlist score. I've got the data sending to the playerlist and I added a new column for it. My thoughts were the best way to do this would be to modify a font and just use a simple icon drawing to substitute charactesr that would never be used (like decimal 120+ things like Alt-A) similar to the tehniques used on the C=64 in the old days with fonts.
I can't figure out how to get Torque to display these characters though in script. I tried passing in the decimal values but it's displaying the string. I tried cutting and pasting the character symbol in but then torque displays it as a ? when I view it in game. Does anyone know how to do this?
In my current project I have a need to display some simple icons to indicate things like who has the flag, if a player is a bot, admin, etc as a small icon on the playlist score. I've got the data sending to the playerlist and I added a new column for it. My thoughts were the best way to do this would be to modify a font and just use a simple icon drawing to substitute charactesr that would never be used (like decimal 120+ things like Alt-A) similar to the tehniques used on the C=64 in the old days with fonts.
I can't figure out how to get Torque to display these characters though in script. I tried passing in the decimal values but it's displaying the string. I tried cutting and pasting the character symbol in but then torque displays it as a ? when I view it in game. Does anyone know how to do this?
Torque 3D Owner J.C. Smith