by date
TGB Resource - Easy Edit
TGB Resource - Easy Edit
| Name: | David Higgins | ![]() |
|---|---|---|
| Date Posted: | Jan 20, 2007 | |
| Rating: | 3.8 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for David Higgins |
Blog post
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?".

Recent Blog Posts
| List: | 11/19/07 - Cacheable Web Resources... Oh My! 09/29/07 - The Adventures of Coco the Gorrila in: CocoNuts 09/23/07 - How's it all Add Up? 07/11/07 - Ever wondered how to get your game project update to the rest of the team? 06/30/07 - The dog ate my homework, I swear! 06/20/07 - My latest news, and the new site I just launched ... 05/09/07 - $5,000 sound interesting? 05/01/07 - What Time is It? |
|---|
Submit your own resources!| Josef Rogovsky (Jan 20, 2007 at 06:26 GMT) |
This will come in handy.
| Leroy Frederick (Jan 20, 2007 at 14:39 GMT) Resource Rating: 4 |
| David Higgins (Jan 20, 2007 at 19:32 GMT) Resource Rating: 5 |
You must be a member and be logged in to either append comments or rate this resource.



3.8 out of 5


