Back to Browse

How To Use Macros (And How To Not) - GameMaker Tutorial

2.7K views
Feb 8, 2020
31:37

Macros are a pretty powerful tool when it comes to writing code. You can use them to represent constant values, sure, but there's plenty of other weird stuff that you could do with them if you wanted to. Timestamps, because this is a long video: 0:00 - everyday use 7:40 - non-constant macro values 12:45 - common pitfalls to watch out for 17:33 - GML has no macro functions 18:05 - bonus C++ 20:43 - Black programmer magic: GML function shorthand 23:05 - More black programmer magic: Replacing built-in GML functions (which you definitely should not do, but totally can) 27:30 - "writing" to read-only values Code: http://www.mediafire.com/file/oo0jqosm0b2z48j/Macros.yyz/file #GameMaker #Macros #Preprocessor - - - - - I've now made that Patreon: https://www.patreon.com/wizardragon That promised social media link spam. https://twitter.com/DragoniteSpam Anyone wanna donate? https://tinyurl.com/DragoniteSpamSellsOut Rate, comment, subscribe, watch more, enjoy!

Download

1 formats

Video Formats

360pmp451.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How To Use Macros (And How To Not) - GameMaker Tutorial | NatokHD