Fonts and Custom Cursors not showing when I deploy project
by Stanley D Chatman · in Torque Game Builder · 02/02/2008 (11:03 am) · 2 replies
I am running Vista and when I run my project from Torsion or from the Game Builder everything is fine. However when I run Build Project and deploy the project none of my fonts show up(only Arial) nor does my custom cursors.
I have synced up all my font UFT's in 3 directories (deploy, development and app directory).
Here is my code for my custom cursor
Is there is something I am missing to make this run correctly in my deployed environment?
I have synced up all my font UFT's in 3 directories (deploy, development and app directory).
Here is my code for my custom cursor
new GuiCursor(CustomCursor3)
{
hotSpot = "1 1"; // Set this to the X/Y coordinate of where you want the hotspot
bitmapName = "game/data/images/cursor_hand3";
fillColor = "255 255 255";
};Is there is something I am missing to make this run correctly in my deployed environment?
#2
Thank You!!
That was the problem. I was putting my custom cursor code in the guiProfiles.cs file located in game/gameScripts folder. Once I moved to the cursors.cs file in common/folder it worked and it also corrected my font problem also. I verified this too. If I put back to the way I originally had it, the fonts do not work.
02/03/2008 (5:42 am)
@MikeThank You!!
That was the problem. I was putting my custom cursor code in the guiProfiles.cs file located in game/gameScripts folder. Once I moved to the cursors.cs file in common/folder it worked and it also corrected my font problem also. I verified this too. If I put back to the way I originally had it, the fonts do not work.
Associate Mike Lilligreen
Retired T2Der