Back to Browse

Anti-optimizations - Structs vs. Instances - Optimizing Games in GameMaker

4.0K views
Feb 6, 2026
22:24

People often try to replace GameMaker instances with structs containing step or draw methods to avoid the overhead that instances carry with them. But does this actually work? A game that I made that uses all structs for everything: https://www.youtube.com/playlist?list=PL_hT--4HOvreDB5Kj0BtGBx2yIAaYDPMC The profiler: https://youtu.be/4WsBgGR-PS0 Optimizing loops: https://youtu.be/m6k3v1nkhKk All GameMaker optimization videos: https://www.youtube.com/playlist?list=PL_hT--4HOvrfPwIVWvsnaTmDnM2ptTzR2 The tier list: https://forum.gamemaker.io/index.php?threads/the-ultimate-gamemaker-optimization-tier-list.122141/ 0:00 Introduction 0:53 wtf is this? 6:09 converting instances to structs 11:07 misc minor gains 15:09 the final verdict 17:40 YYC and GMRT 20:11 the end #gamemaker #GameMakerOptimization - - - - - I've now made that Patreon: https://www.patreon.com/wizardragon That promised social media link spam. https://twitter.com/DragoniteSpam Transition / idle music is by my old friend Kamex: https://www.youtube.com/user/GreatGabite/about Rate, comment, subscribe, watch more, enjoy!

Download

0 formats

No download links available.

Anti-optimizations - Structs vs. Instances - Optimizing Games in GameMaker | NatokHD