TGB Resource - Easy Edit
by David Higgins · 01/20/2007 (3:10 am) · 3 comments
Easy Edit
A Custom Resource Floater for Torque Game Builder
This resource is not necessarily "useful" as a functional tool, but is a perfect example of creating "useful" tools in TGB quickly and easily. The total time spent on this resource was just over an hour -- 20 minutes was wasted attempting to make the controls "bitmap" buttons, and this idea was dropped when I realized I could not rotate the bitmaps on the GuiBitmapControl and did not want to clutter the resource with a series of 'useless' images (if this resource were used 'in house' I would have spent some time cleaning up the UI and making it 'purty' -- correction, Steve would have made it 'purty').
Here is a quick screenshot of the resource:

You can download this resource from Gear Worx Productions download page -- Download Page
What does it do?
Well, as you can see from the sreenshot above, the resource is a floater window with 9 buttons. Each button is labelled with "N", "S", "E", "W", "NE", "SE", "NW", "SW" and "O".
These buttons move the current Level Builder Scene Window Camera in the given direction, using a 'step' value defined in the 'resourceDatabase.cs' (right at the top for easy tweaking).
You can toggle the resource on/off by using the "View->Toggle Easy Edit" menu or using the shortcut key (by default, Ctrl-D, also configurable in resourceDatabase.cs)
I hope this resource finds itself useful to those who may be looking for "quick and easy" tweaks to the level builder UI and asked themselves, "how do you do it?".

Torque 3D Owner Josef Rogovsky
This will come in handy.