Game Development Community

5 quick Qs

by Joseph Euan · in Torque Game Engine · 11/30/2004 (9:11 am) · 1 replies

Hi all,

Could someone answer afew quick questions please?

1. How do I add more than 1 image to the main game load screen?

2. What file do I edit to change the colour of the gui box? (I have already edited the GUI box items)

3. I want to use another font (for the chat hud), how do I add it?

4. When I add a new item to the player GUI then change the res the item moves... how do I stop it?

5. Where do I edit the colour of the GUI button text.

Thanks in advance

Also, sorry for posting this twice.

Joseph

#1
12/01/2004 (2:29 am)
1. Do you want to add it on top of another image or next to it? Just start up the engine, hit F10, and select loadingGui from the middle drop-down list. Then from the left drop-down list, select GuiBitmapCtrl and give it the properties you want on the right side. Alternatively, you can edit the loadingGui.gui file.

2, 3, 5. To edit color/text and other properties of a gui, first check which profile it's using (i.e. GuiDefaultProfile, GuiWindowProfile, etc.) and edit it's properties in the customProfiles.cs and defaultGameProfiles.cs files. I recommend you create your own custom profile though.

4. Make sure you set "horizSizing" and "vertSizing" to relative. You also need to set it's parent controls to relative also.

If you play around a little with the GUI Editor, and the .gui files, you'd be surprised on how much you'll learn by changing properties.

Nick