Releases: mstop4/useful-gml-scripts
Releases · mstop4/useful-gml-scripts
Useful GML Scripts 2.4.2
- Added new menu type: Grid Menu
- Renamed Menu to Column Menu
- Added new menu item: Key Config
Useful GML Scripts 2.3
- Added two functions:
choose_from_array
: Picks a random element from an arrayhide_overflow
: Truncates a string to a desired maximum width, hiding the rest with a suffix (e.g. "...")
Useful GML Scripts 2.2
Menu System
- Menus now use a global control handler. The controls used for controlling menus is now configurable in
MenuControlState
'spoll_input
function
Useful GML Scripts 2.1
- Added basic Menu system and basic Control Manager
- Added bilinear interpolation function (
blin
) - Added
add
andsubtract
functions toVector2
andVector3
- Added
split_string
function
Pre-2.3 scripts migrated to GMS 2.3
Migrated all scripts to 2.3 functions and structs and bundled them into a local package. Previously buggy or non-functional scripts have been rewritten to work properly.
Additional changes:
- Colours
interpolate_rgb
is DEPRECATED. It is redundant since duplicates the native GML functionmerge_colour
.
- Delta Timing
- DT Alarm scripts converted into
DeltaTimeAlarmManager
struct
- DT Alarm scripts converted into
- Drawing
draw_circle_meter
- uses triangle strips instead of triangle fan
- sprite texture is now optional
- draw target is now a surface
- starting angle and direction can be specified
draw_curved_meter
completely rewritten with most of the same enhancements asdraw_circle_meter
- Easing
- Added In/Out easings
- Geometry
- Added
LineSegment
andRectangle
structs. - Refactored functions to use Math and Geometry structs.
- Added
- Input
- Added detection of more keys
- Math
- Added structs:
Vector2
,Vector3
,DynamicValue
- Refactored functions to use
Vector
s instead of arrays - Renamed
soft_max
andsoft_min
tosoft_ceiling
andsoft_floor
respectively
- Added structs: