Sprite Drawing
by Aaron Murray · in Torque Game Engine · 01/20/2002 (1:46 pm) · 5 replies
Okay, here's the situation... During the player rendering code, I want to draw a sprite on the screen. So I tried using the dglDrawBitmap() function, which is used in a few other places throughout the code. Problem is, nothing gets drawn when I do this. Any ideas?
I have one other question, where would be the best place to insert GUI rendering code that isn't using the GUI system? (For example... A targetting aimer that tracks an enemy across the screen)
Thanks!
I have one other question, where would be the best place to insert GUI rendering code that isn't using the GUI system? (For example... A targetting aimer that tracks an enemy across the screen)
Thanks!
#2
01/21/2002 (4:50 pm)
Thanks... I believe that WILL help out rather nicely, and hopefully answer both questions... One thing though, what exactly is it called? I can't find anything like what you typed in in the code...
#4
01/21/2002 (7:02 pm)
engine/game/fps/guiShapeNameHud.cc
#5
01/22/2002 (2:34 pm)
Ahh, thanks a bunch!
Associate James Lupiani
Sickhead Games