Uploaded May 2021 | Updated September 2026, 10 hours ago
Let's look at variables in GMS2 and the different variable types and scopes.
👉 Series Playlist: youtube.com/playlist?list=PLUEcBPiXnlBwCuwpDCFsUbHAiP4xpVHIY
🎓 The course is under development -- to receive an email upon release, register here: matharoo.net/courses/signup
💗 Udemy Course Trailer: youtube.com/watch?v=aUq4xBsruHI
(Really appreciate all the support!)
🤝 Join our Discord for free help: discord.gg/TykHyqK
🐤 Follow me on Twitter to stay updated: twitter.com/itsmatharoo
Timestamps:
00:00 Intro
00:06 Variables
09:11 Function Returns
11:44 Data Types
12:14 String
15:20 Boolean (true/false)
16:13 Comments
17:12 Variable Scopes
17:41 Instance Variables
18:46 Global Variables
20:33 Local Variables
Let's look at variables in GMS2 and the different variable types and scopes.
👉 Series Playlist: youtube.com/playlist?list=PLUEcBPiXnlBwCuwpDCFsUbHAiP4xpVHIY
🎓 The course is under development -- to receive an email upon release, register here: matharoo.net/courses/signup
💗 Udemy Course Trailer: youtube.com/watch?v=aUq4xBsruHI
(Really appreciate all the support!)
🤝 Join our Discord for free help: discord.gg/TykHyqK
🐤 Follow me on Twitter to stay updated: twitter.com/itsmatharoo
Timestamps:
00:00 Intro
00:06 Variables
09:11 Function Returns
11:44 Data Types
12:14 String
15:20 Boolean (true/false)
16:13 Comments
17:12 Variable Scopes
17:41 Instance Variables
18:46 Global Variables
20:33 Local Variables



![Making Your First Game | PART 6: Room Boundary | [GameMaker Studio 2]
This tutorial covers implementing a room boundary so that the player ship stays in the room.
📚 Get the full course on Udemy: https://www.udemy.com/makegames/?couponCode=YOUTUBEPROMO
🎥 Part 7: https://youtu.be/lLNTGZp_zvo
🐤 Follow me on Twitter: https://twitter.com/itsmatharoo
💗 Join our Discord server: https://discord.gg/TykHyqK Making Your First Game | PART 6: Room Boundary | [GameMaker Studio 2]](https://i.ytimg.com/vi/rgLzIODT6AQ/mqdefault.jpg)






