Hello, since people are on about UI systems from AppGameKit, I though I'd start a WIP for my own version.
It's not designed to be like BBB gui or blue gui for DBPro, but more like a menuing system for games, which also can be made to look like windows controls.
I've designed this engine to be quite like PowerPoint in its usage. It's based around the Screen/Element system, like PowerPoint.
You start by creating a new screen. (Slide in PowerPoint) Then you add various elements to it. (Such as etc.) Each element can trigger multiple script commands.
It's defined completely in a human readable XML format, and controls everything that's displayed. An example of the script is below:
< Screen >
Name( Main )
MaxAlpha( 255.0 )
OnActivate( ShowScreen( TempScreen ) )
InboundTransition( 1 )
OutboundTransition( 1 )
TransitionSpeed( 1.0 )
< Element >
Image( Buttons.Png, << Back, 42.5, 40.0, 0.0, 15.0, -1.0, 100.0, 1, 3, 0 )
OnClick( SkipTrack( 0 ) )
< /Element >
< Element >
Image( Buttons.Png, Next >>, 57.5, 40.0, 0.0, 15.0, -1.0, 100.0, 1, 3, 0 )
OnClick( SkipTrack( 1 ) )
< /Element >
< Element >
EditBox( EditBox, Text Goes Here, 50.0, 25.0, 50.0, 15.0, 100.0 )
OnClick = ActivateEditBox
< /Element >
< /Screen >
____________________________________________________________
Currently implemented are:
Images
Text
Animated Buttons
Scalable edit boxes
Debug graph
XBox style popup message box
AGK Community Ad system
Music player (If music filename is formatted correctly, it'll display track/artist information.)
Screen entry/exit transitions. (Cut, fade, slide)
____________________________________________________________
What I'm working on next:
Software Keyboard
____________________________________________________________
What I plan to add:
Dropdown lists
Check boxes
Radio Buttons
____________________________________________________________
Here's an early video showing the music player, as well as the popup message system.
Here's a quick video showing the usage of the editbox, debug toggle, and advert system.
Let me know what features you'd like to see, and give this quick demo a try.
Download the demo (22Mb RAR file)