Game Development Community

TorqueML

by David Higgins · in Torque Game Builder · 09/03/2006 (8:36 pm) · 2 replies

Is there any documentation available to non-licensed users that relates to TorqueML and what's available within it?

I've discovered how to color text and create links that call your external browser, but I was hoping and wondering if TorqueML had more going for it then just simple text coloring, external links and general emphasis (bold, italic, underline, superscript, etc).

I've run into a bit of a financial issue, and won't be able to license the engine for another 2-3 weeks and I'm extremely impatient and want to get some work done on my GUI Kit (refer to my projects list).

Though, a google search and a GG search turn up nothing at all related to TorqueML -- so I'm just curious if I'll have to wait for it, or if there is something I can read in the mean time.

Any help would be greatly appreciated.

EDIT: To be more precise, a general GG search turns up 3 results -- all of which don't look like they'd provide much information at all, and a Google search only turns up my .plan

#1
02/08/2007 (1:35 am)
The following URL details some of TorqueML's markup tags:tdn.garagegames.com/wiki/GUI/TorqueML:
Quote:
TorqueML is a special markup language which allows one to dynamically change the style and formatting of text in various GUI controls. The following markup tags are recognized by the engine:
<font:fontName:fontSize> - sets the font and fontsize as indicated. Example: <font:Arial Bold:20>
<tag:???> - not sure what this does
<color:rrggbb> - sets text color in hex format. Example: <color:ff0000> will display red text
<bitmap:filePath> - displays a bitmap image indicated by the file path. Example: <bitmap:demo/client/ui/seperator>
<spush> - saves the current text formatting so that temporary changes to formatting can be made. Used with spop.
<spop> - restores the previously saved text formatting. Used with spush. See the file "3. Gui Editor.hlf" included with the TGE demo for an example of usage.
<sbreak> - not sure what this does
<just:left> - left justify
<just:right> - right justify
<just:center> - center justify
<a:ExternalURL>LinkTitle</a> - inserts a hyperlink into the text which will open the user's browser.
The external URL does not need the "http://" format. Example: <a:www.garagegames.com>Garage Games Website</a>
<lmargin: ##> - sets the left margin
<lmargin%: ##> - sets the left margin (not sure what the % does)
<rmargin: ##> - sets the right margin
<rmargin%: ##> - sets the right margin (not sure what the % does)
<clip:> - not sure what this does
<div:> - not sure what this does
<tab:##(,##,etc)> - sets the tab stops (multiple tabs are separated by commas)
 - Breaks the current line and begins a new one.
#2
02/08/2007 (6:52 am)
@Evan, thanks -- this post was actually written prior to my purchase of TGB, and so I did not have access to TDN at the time -- I appreciate the response though.