New Struct Shorthand in GameMaker

Опубликовано: 27 Октябрь 2024
на канале: DragoniteSpam
942
59

GameMaker has added a small shorthand for defining structs! This could be nice to have in a few places.

Additionally, someone at YYG has pointed out that this makes closure-like behaviors easier:
method({ wow }, function () { return wow * 2; });

This is definitely convenient if you find yourself using callback functions often.

GameMaker Studio 2.3 playlist:
   • GameMaker: New & Beta Features  
GameMaker 3D playlist:
   • 3D in Game Maker Studio 2  

#gamemaker
#GameMakerStructs
- - - -
I've now made that Patreon:
  / wizardragon  
Join our Discord:
  / discord  
That promised social media link spam.
  / dragonitespam  
Transition / idle music is by my old friend Kamex:
   / greatgabite  

Rate, comment, subscribe, watch more, enjoy!