Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: RickJ on Sat 15/12/2007 07:59:32

Title: TEMPLATE: BluBox - The AGS Testbed
Post by: RickJ on Sat 15/12/2007 07:59:32
(http://demo.agspace.ws/project/images/blubox00.png)

This is just a handy little GUI useful for testing modules and code snippets. The test GUI consists of an event log, test title and status message, 9 digital meters and their captions, 9 test buttons, and 6 led status indicators.  The Select button allows the user to select different test configurations. 

Each test configuration is implemented in a room script.   When the room loads all of the test controls are disabled (i.e. hidden) by the global script.  Each of the desired controls is enabled or initialized with a single lineof code in the room_Load() event handler.   Test button events are forwarded to the test room's script where they are handled via the on_call() handler.  The Leds and Meters are updated in the room_RepEx() event handler.  Again just a single line of code for each is all it takes.  Items are time tagged and recorded in the event log with a single line of code similar to a display statement. 

The black area above the control panel is the test room's  background image.  This area can be used to work with room objects and areas.  Just create a background image 800x600 where the important elements are in the top half of the screen and import it into the desired test room. 

This can be used to test modules, try out ideas, learn scripting, or to make tutorial packages.  Anyway, give it a try a let me know what you think. 


BluBox-T0100-B02.zip (http://demo.agspace.ws/project/archive/BluBox-T0100-B02.zip)

Title: Re: TEMPLATE: BluBox - The AGS Testbed
Post by: Rui 'Trovatore' Pires on Sat 15/12/2007 09:56:03
Heh, is this in any way related to your old BlueGUI, Rick? ;)
Title: Re: TEMPLATE: BluBox - The AGS Testbed
Post by: RickJ on Sat 15/12/2007 16:46:01
No, Rui, this is completely different from the BluGui, which I hope to bring back some day in module form.  This is adapted from a little thing called ModTest, which I did way back before there were modules in AGS.  I got tired of having to create a GUI everytime I wanted to test somethng out  so I made ModTest and now improved/adapted it to AGS 3.0 in the form of BluBox. 
Title: Re: TEMPLATE: BluBox - The AGS Testbed
Post by: Monsieur OUXX on Thu 20/12/2007 13:17:18
Quote from: RickJ on Sat 15/12/2007 07:59:32
This is just a handy little GUI useful for testing modules and code snippets. The test GUI consists of an event log, test title and status message

This is awesome! I'm surprised that there not more answers to this thread. I suppose this is a bit too much "developers oriented". I was implementing something like this myself, but with a much smaller application range, and with no GUI !

Very good work. Haha, soon there will be a CVS module and an Eclipse skin for in-game interface :)
Title: Re: TEMPLATE: BluBox - The AGS Testbed
Post by: eri0o on Wed 08/01/2020 23:31:30
Necroing again, last necro for the week!! Promise! Does someone have this saved somewhere?