Uploaded March 2021 | Updated December 2026, 3 hours ago
Making a vision cone and going over functions to get distance, direction, and the difference between to angles in the series on Making Enemies in GameMaker Studio 2.3.
Support me on Patreon!
patreon.com/samspadegamedev
Source Code on Github
github.com/samspadegamedev/YouTube-Let-s-Make-Some-Enemies-Public
Outline
0:00 Introduction
0:17 Distance, Direction, and Angles
2:21 Making the Enemy
3:30 GameMaker Project
5:15 Coding the Vision Cone
6:55 Point Direction Diagram
8:11 Important Caveat and Running the Demo
#GameMaker
#LetsMakeSomeEnemies
#GML
Making a vision cone and going over functions to get distance, direction, and the difference between to angles in the series on Making Enemies in GameMaker Studio 2.3.
Support me on Patreon!
patreon.com/samspadegamedev
Source Code on Github
github.com/samspadegamedev/YouTube-Let-s-Make-Some-Enemies-Public
Outline
0:00 Introduction
0:17 Distance, Direction, and Angles
2:21 Making the Enemy
3:30 GameMaker Project
5:15 Coding the Vision Cone
6:55 Point Direction Diagram
8:11 Important Caveat and Running the Demo
#GameMaker
#LetsMakeSomeEnemies
#GML


![Multitouch Basics [GameMaker Studio 2.3.1]
Learn how to deal with multiple touches and code your own multitouch system in GameMaker Studio. The first two videos will work for most versions of GameMaker, but the code in the final videos will require GameMaker Studio 2.3.1.
Support me on Patreon!
https://www.patreon.com/samspadegamedev
Outline
0:00 Series Outline
0:25 User Input Generally
1:03 Built-in Events
1:31 Built-in Functions
1:56 What Makes Multitouch Tricky?
3:05 Other Key Differences
3:56 Order of Touches Example
4:41 Summary
Photo by Markus Spiske on Unsplash
#GameMaker
#Multitouch
#GML Multitouch Basics [GameMaker Studio 2.3.1]](https://i.ytimg.com/vi/PCFmcZoifAM/mqdefault.jpg)

![Garbage Collection [GameMaker Studio 2.3.1]
A short video about the new Garbage Collector in GameMaker Studio 2.3.1 as part of the Coding Fundamentals in GML Tutorial Series.
Patreon Support
https://www.patreon.com/samspadegamedev
Github Repository
https://github.com/samspadegamedev/YouTube-Coding-Fundamentals-in-GML-2.3
Links:
https://en.wikipedia.org/wiki/Garbage_collection_(computer_science)
https://youtu.be/2JasKMJonaQ
https://manual.yoyogames.com/GameMaker_Language/GML_Reference/Garbage_Collection/Garbage_Collection.htm
https://forum.yoyogames.com/index.php?threads/garbage-collector-is-crashing-with-null-pointer-dereference-on-physics-object.79508/#post-472667
Outline
0:00 Memory Management!
1:51 Why you shouldnt mess with GMs Garbage Collector
2:24 GC Functions
2:57 So what does the GC collect?
4:00 Summary
4:18 Additional Resources (actually read these)
#GameMaker
#CodingFundamentals
#GML Garbage Collection [GameMaker Studio 2.3.1]](https://i.ytimg.com/vi/PLvNYdzO2yk/mqdefault.jpg)




![Miscellaneous Function Stuff [GameMaker Studio 2.3]
A short video about miscellaneous functions stuff for GameMaker Studio 2.3 in the Coding Fundamentals in GML Tutorial Series.
Patreon Support
https://www.patreon.com/samspadegamedev
Github Repository
https://github.com/samspadegamedev/YouTube-Coding-Fundamentals-in-GML-2.3
Links:
https://manual.yoyogames.com/GameMaker_Language/GML_Overview/Variables/Builtin_Global_Variables/argument.htm
https://manual.yoyogames.com/The_Asset_Editors/Code_Editor_Properties/JSDoc_Script_Comments.htm
https://manual.yoyogames.com/GameMaker_Language/GML_Reference/Asset_Management/Scripts/Scripts.htm
Outline
0:00 Introduction
0:22 Return Value
1:11 Named Arguments
2:54 Argument Array
4:31 JSDoc Script Comments
7:17 Functions for Script Functions
8:09 Summary
#GameMaker
#CodingFundamentals
#GML
#Functions Miscellaneous Function Stuff [GameMaker Studio 2.3]](https://i.ytimg.com/vi/QObmcRW6m94/mqdefault.jpg)
![Error Messages [GameMaker Studio 2]
A short video on Error Messages in GML tutorial series using GameMaker Studio 2.
Resource Links:
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/debugging/index.html
https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/debugging/show_error.html
Slides and Source Code:
Github (source code and slides)
https://github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Patreon Support
https://www.patreon.com/samspadegamedev
#GameMaker
#CodingFundamentals
#GML Error Messages [GameMaker Studio 2]](https://i.ytimg.com/vi/Qj9oMt0sIPM/mqdefault.jpg)