Using Macros in GameMaker
DragoniteSpam
0:00 / 0:00
Using Macros in GameMaker
889 просмотров · 4 дня назад
DragoniteSpam
12,8 тыс. подписчиков
889 просмотров · 4 дня назад
You can create text macros that are replaced with other code when your game is built in GameMaker. This can be useful any time you want to define an expression that can be referenced by name instead of being written out the long way every time.
0:00 Introduction
0:43 examples of built-in constants
2:29 constants vs macros
2:44 defining a macro
6:53 minding your order of operations
11:38 examples in the game
14:29 macros and uppercase-ness
16:01 really cursed things you can do with macros
20:06 using multi-line macros to make a mess of your code
23:03 these arent quite like C preprocessor macros
24:20 the end
You should all go wishlist Wizarducks and the Lost Hat:
https://store.steampowered.com/app/27...
#GameMaker
#GameMakerMacros
#GameMakerConstants
- - - -
I've now made that Patreon:
/ wizardragon
That promised social media link spam.
/ dragonitespam
Transition / idle music is by my old friend Kamex:
/ greatgabite
Rate, comment, subscribe, watch more, enjoy!