Game Development Community

Dynamic Scriptable Textures (!!)

by Ben Lewis · in Torque Game Engine · 05/05/2004 (6:56 am) · 4 replies

Hi Guys,

Could be a long shot but here goes....

My game calls for a billboard object (that I have made using quark) to display game information to players. For example a score board. I would like the information displayed to be controlled via scripting.

What I was wondering is if anyone has had experience with doing something similar, or could point me in the right direction.

I hope that makes sense! It did when I wrote it, but have been up all night on a mammoth code sesh! :)

Ben

#1
05/05/2004 (8:09 am)
Hmmm. This could be done fairly well but not with a single layer. You'll have one layer for each letter IMO - if you want to use bitmaps. Scripting something like dynamic text is another matter which I don't know anything about.

Bitmaps on the other hand is not hard at all. Just use if statements and rows and when you got everything done, write it out from the script to the bitmaps.
#2
05/05/2004 (8:17 am)
Yeah kind of figured the bitmaps thing wasn't too hard, but it was really dynamic text that I was after.
#3
05/05/2004 (10:29 am)
Render text to texture, display texture on interior.
#4
05/06/2004 (12:14 am)
Sounds simple! Will give it a go today if I have the chance. Am doing the day job at the moment!

NT Kernel Mode file system drivers suck :)