In-Game Windows
by Dustin Witherite · in Torque Game Engine · 04/02/2007 (12:30 pm) · 0 replies
I have been working on getting in-game winows working for a month now. I got to the point where my windows load during in-game play. I can press a key on my keyboard to show the cursor. I can click on, move, resize, minimize, etc. to all my windows. I got my windows to be transparent, and load an opaque image so I can see through the window and still see mostly what is behind it. Now, my problem is that I cannot find a way to put a bitmap into the window (like say a premade mini map bitmap) and make the bitmap resize with the window. I tried to just use the bitmap as the background to my guiWindowCtrl's, but I don't think guiWindowCtrl supports bitmaps or backgrounds. Now I have something along the lines of:
new gameTSCtrl(playgui){
...
...
new guiWindowCtrl(Status){
...
...
new guibitmapCtrl(bitStatus){
... standard bitmap settings ...
};
};
};
I just want the bitmap to stay the same size as the window control so that the user can set the windows in any size/orientation they want to suite their game play. Any help would be greatly appreciated, as I have been reading the forums for quite some time.
Dustin
P.S. I thought MMORPG's were addictive...... TGE = Electronic Heroin
new gameTSCtrl(playgui){
...
...
new guiWindowCtrl(Status){
...
...
new guibitmapCtrl(bitStatus){
... standard bitmap settings ...
};
};
};
I just want the bitmap to stay the same size as the window control so that the user can set the windows in any size/orientation they want to suite their game play. Any help would be greatly appreciated, as I have been reading the forums for quite some time.
Dustin
P.S. I thought MMORPG's were addictive...... TGE = Electronic Heroin