🔴Game Maker Studio 2 | Basics - Variables: Instance, local, global, inbuild, enum, macros

Channel:
Subscribers:
11,900
Published on ● Video Link: https://www.youtube.com/watch?v=Ulaojbg7dxs



Duration: 15:08
2,354 views
95


This basic video tutorial is meant for beginners who are not sure what the different variables mean and how they work.

The most commonly used variables are the instance variables (blue color) that are being used in the instance itself and not to be confused with the green colored inbuild ones which are predefined variable that define specific attributes of the instance in question. Besides these two, there you will find the local variables (brown color) useful which are not staying in the memory of the game because they get discarded after the end of the event they have been used. These are great for one time checks, loops etc. . Then there are the global variables (purple color) which are defined by the prexif/word "global" with an acessor which is a dot. These can be used in outside the instance. The last types of variables are the constants (red color) which are being preloaded into memory without the instance being the the room. These are being initialized/set once to be used as a static variable, which cannot be change during the runtime. The first one is macros which has very specific syntax (see video) and the enum, which are a group constants.


▶ Gamemaker Studio: https://www.yoyogames.com/get

▶ Trial limitations: https://help.yoyogames.com/hc/en-us/articles/230407528-GameMaker-Studio-2-Trial-Limitations


🎮 My free game Clunky souls:
https://1up-indie2.itch.io/clunky-souls
💓 My assets:
Get some assets at itch.io https://1up-indie2.itch.io/

👑 Support me and get fresh game art and game maker projects every month:
https://www.patreon.com/1upindie

Follow me on:
📸 Instangram: https://www.instagram.com/1upindie
🐦 Twitter: https://twitter.com/1upIndie
💬 Discord: https://discord.gg/gvr98nb







Tags:
gamemaker instance
gamemaker local variable
gamemaker inbuild
gamemaker global
gamemaker enum
gamemaker macros
gamemaker studio varibale
gamemaker studio local
gamemaker studio global
gamemaker studio enum
gamemaker studio macros
gamemaker studio constant
gamemaker studio
game maker tutorial
game maker studio tutorial
gamemaker studio 2 tutorial



Other Statistics

The Game Maker - The 18th Carol Reed Mystery Statistics For 1up Indie

1up Indie currently has 95,238 views spread across 37 videos for The Game Maker - The 18th Carol Reed Mystery. His channel uploaded 6 hours worth of The Game Maker - The 18th Carol Reed Mystery videos, or 6.02% of the total watchable video on 1up Indie's YouTube channel.