Structs - light objects [Game Maker | Basics] @1upIndie
Structs - light objects [Game Maker | Basics]  @1upIndie
Uploaded May 2022 | Updated September 2026, 10 hours ago
This basics video tutorial crash course shows you what structs are in GameMaker. An advanced video will go into constructors and more functions.

Structs are in principle ligh object or simply data containers. These data containers have a specific syntax which is very similar to the JSON standard (OOP: object oriented programming). Jason stands for Java script object notation and is an universal file format for human reading. The idea is that you have keys (the name of a variable) and values (the actualy value assigned to the variable) inside a struct. That can be used to created topdown hierarchies (nesting, a struct in a struct etc.) that can be chained (with the dot operator) together .

In short: Structs are light weight object with key values data inside them. That's it.

Offical manual:
manual.yoyogames.com/GameMaker_Language/GML_Overview/Structs.htm

Video in detail about structs:
youtube.com/watch?v=xe2GziffrIo

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

Follow me on:
📸 Instangram: instagram.com/1upindie
🐦 Twitter: twitter.com/1upIndie
💬 Discord: discord.gg/gvr98nb
📜 Udemy: udemy.com/course/become-a-video-game-developer-with-gms-23 (See youtube about page for discount)


CHAPTERS
-------------------------------------------------------------------------------------------------------
0:00 What we will do
0:33 Subscribe
0:44 What is a struct? Spoiler, a light object
2:04 Syntax of a struct (JSON format)
6:02 The big no noes what not to do
6:42 Why use structs
7:50 Game shown: Tears of Astalon
Structs - light objects [Game Maker | Basics]External Hit Animation  - Juice up any game [GAME DESIGN CODE]Metroidvania Map the easy way - Concept  [GameMaker]Contra style turret [Game Maker Studio 2 | Enemy Ai]🔴Loot Vfx - The easy way [GameMaker | Vfx]Splash Screen Parallax [GameMaker | Vfx]How to make a platformer in Gamemaker (the easy way) #2Hit Animation - Juice up any game [GAME DESIGN]Move_and_Collide - Hyper speedo, in detail   [Game Maker | Basics]Patch V2022.3 - More cool features [GameMaker Studio 2]Decide Junes content direction, please vote!Patch V2022.2 - Before you update [GameMaker Studio 2]
1up Indie |

Structs - light objects [Game Maker | Basics]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER