Category: Advanced Topics

Animations

Animations

Animations Button and Label Animations uiAnimated=false; The best method to see it in action is through the sample project (button animation room). That way you can play with different speed and rotations. To animate...

Button Hovering

Button Hovering

Button Hovering Button hover is what to do with Button Widgets when you mouse over them. You have the option of setting uiHoverMode to determine what to do. uiHoverMode=1; 0 = None (no hover)...

Widget Sounds

Widget Sounds

Widget Sounds The widget library supports a simple method in playing sounds on presses. uiClickSound = snd_yoursound; If you set this on your widget then it will automatically play the sound for the widget....

Anchoring

Anchoring

Anchoring Anchoring allows you to setup a Parent/Child relationship for GUI widgets. For example, we could create a ui_panel widget (Parent, lets call the instance “myInstPanel”) and then we create many controls on the...

Custom Draw Scripts

Custom Draw Scripts

Custom Draw Scripts This is an advanced section, that you should be comfortable with GML/scripts to accomplish. It is a powerful feature that allows you draw within a cell/line, and have the widget handle...