Skip to content

Releases: mstop4/useful-gml-scripts

Useful GML Scripts 2.4.2

17 Aug 01:29
Compare
Choose a tag to compare
  • Added new menu type: Grid Menu
  • Renamed Menu to Column Menu
  • Added new menu item: Key Config

Useful GML Scripts 2.3

02 May 21:58
Compare
Choose a tag to compare
  • Added two functions:
    • choose_from_array: Picks a random element from an array
    • hide_overflow: Truncates a string to a desired maximum width, hiding the rest with a suffix (e.g. "...")

Useful GML Scripts 2.2

18 Apr 21:30
Compare
Choose a tag to compare

Menu System

  • Menus now use a global control handler. The controls used for controlling menus is now configurable in MenuControlState's poll_input function

Useful GML Scripts 2.1

04 Jan 01:44
Compare
Choose a tag to compare
  • Added basic Menu system and basic Control Manager
  • Added bilinear interpolation function (blin)
  • Added add and subtract functions to Vector2 and Vector3
  • Added split_string function

Pre-2.3 scripts migrated to GMS 2.3

20 Sep 14:09
8a3d6f5
Compare
Choose a tag to compare

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 function merge_colour.
  • Delta Timing
    • DT Alarm scripts converted into DeltaTimeAlarmManager struct
  • 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 as draw_circle_meter
  • Easing
    • Added In/Out easings
  • Geometry
    • Added LineSegment and Rectangle structs.
    • Refactored functions to use Math and Geometry structs.
  • Input
    • Added detection of more keys
  • Math
    • Added structs: Vector2, Vector3, DynamicValue
    • Refactored functions to use Vectors instead of arrays
    • Renamed soft_max and soft_min to soft_ceiling and soft_floor respectively