You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 to true, the DynamicValue's delta will be automatically set to 0 when falls outside the range of min_v to max_v, before the value is limited.
Renamed clamp_mode parameter in DynamicValue constructor to limit_mode
Added obj_text_object component. Draws text according to the instance's sprite properties, e.g. image_angle, image_scale, etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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.
This discussion was created from the release Useful GML Scripts 2.5.0.
Beta Was this translation helpful? Give feedback.
All reactions