Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / 2D Button Layout Editor (DBPro 5.9)

Author
Message
RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 14th Sep 2006 11:53
This is a little utility I am developing for our OMMORPG project, but it can be used for so much more - it deserves its own wip thread. This is a 2D Button Layout Editor. The basic concept is the editor creates script files that can be used to load a button layout. This includes positioning of the buttons and return-values that can be assigned to buttons. Also, background images can be loaded and scripted as well.

Menu Items:
-Menu: Hover the mouse pointer over the Menu button to view the dropdown menu.
-Load Image: Loads a background image into the editor.
-Load Button: Loads a button image into the editor.
-Load Script: Loads a previously saved script.
-Save Script: Save the current layout as a script file.
-Unlock Images: Used to unlock all background images. This button only appears when any background image is locked.

Special Buttons:
-Lock: Right-click on any unlocked image to activate this button. Clicking the button will lock the image. This is usefull to paste the image to the screen so the mouse no longer will interact with the image.
-Value: Right-click on any button to activate this button. Clicking on this button will open an input box to enter an integer value to assign to the button. This value is usefull for either categorizing buttons, or simply assigning a direct return value which can be used to instruct a program what to do when the button is pressed.

Other Features:
Place the mouse pointer over an unlocked Image or a Button and press the Delete key to delete the Image or Button. There is no "Are you sure?" prompt.

The Source code requires Goga's Free DBP Plugin 2.0 to run, but the included executable should run fine without it. There is also some free media and some test scripts included.

To use the executable, it should be placed/copied in the same folder as the media to use for buttons. The script file will only create scritps with file names, not folder locations.

Included are the project's very usefull parser functions and button functions, both of which can be used to load the script files and make/place the buttons.


Open MMORPG: It's your game!

Attachments

Login to view attachments
RiiDii
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Inatincan
Posted: 14th Sep 2006 11:55 Edited at: 14th Sep 2006 11:55
Here's a screenshot.



Open MMORPG: It's your game!

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-09-29 16:24:22
Your offset time is: 2024-09-29 16:24:22