Useful GML Scripts 2.5.0
-
Added "on confirm" callback support for Menu Spinners.
-
"On change" callbacks now support three addtional parameters:
_index
- the updated index_value
- the updated value_delta
- how the index changed (-1 or 1)
-
Functions that add items to menus (e.g.
*_menu_add_*
) now return the newly added item. -
References to the parent menu add to all Menu Items.
-
*_menu_get_item_by_index
and*_menu_get_item_by_label
added to Column and Grid menus. -
Improved Grid Menu navigation.
-
Fixed "on change" and "cursor move" SFX playing at the same time when moving cursor left or right in a Grid Menu.
-
Adjusted vertical alignment of menu cursor with menu items. Cursor sprites now requires Middle Left origin points instead of Top Left.
-
Add a WIP menu switching system, allowing you to fade one menu out and then fade in another.
-
Added new parameter to DynamicValue constructor:
stop_outside_range
. If set totrue
, theDynamicValue
'sdelta
will be automatically set to 0 when falls outside the range ofmin_v
tomax_v
, before thevalue
is limited. -
Renamed
clamp_mode
parameter in DynamicValue constructor tolimit_mode
-
Added
obj_text_object
component. Draws text according to the instance's sprite properties, e.g.image_angle
,image_scale
, etc. -
Fixed "Y" key in Control Manager demo.