Z
zorngeist
Guest
I am completely new to GM (and programming in general) and have been looking for something akin to structs to use in my project. Anyone know if Lightweight Objects are going to make it in before 2019 is over? Described here: https://www.yoyogames.com/blog/514/gml-updates-in-2019
A quick Google has returned a few alternatives to structs. It sounds like #1 is the easiest for the time being, but speaking as a complete noob, I wanted to get some input on this from the GM community. How do you guys handle structs in your projects?
#1 Combining enums with arrays to make structs:
https://forum.yoyogames.com/index.php?threads/can-i-make-a-struct-in-gml.57527/
#2 A redditor's method using deactivated instances:
https://www.reddit.com/r/gamemaker/comments/bdt6q4/gms2_presenting_struct_true_structs_in_gamemaker/
#3 GMStruct:
https://forum.yoyogames.com/index.php?threads/gmstruct-struct-generation-for-gamemaker-studio.29731/
A quick Google has returned a few alternatives to structs. It sounds like #1 is the easiest for the time being, but speaking as a complete noob, I wanted to get some input on this from the GM community. How do you guys handle structs in your projects?
#1 Combining enums with arrays to make structs:
https://forum.yoyogames.com/index.php?threads/can-i-make-a-struct-in-gml.57527/
#2 A redditor's method using deactivated instances:
https://www.reddit.com/r/gamemaker/comments/bdt6q4/gms2_presenting_struct_true_structs_in_gamemaker/
#3 GMStruct:
https://forum.yoyogames.com/index.php?threads/gmstruct-struct-generation-for-gamemaker-studio.29731/