Uploaded August 2021 | Updated December 2026, 3 hours ago
A tutorial on how computers generate random numbers and why that fact is important to know.
Patreon Support
patreon.com/samspadegamedev
Coding Math
youtu.be/4sYawx70iP4
Source Code
github.com/samspadegamedev/YouTube-Perlin-Noise-Public
Outline
0:00 Why does it matter?
0:31 How do computers create randomness?
2:10 The Middle-Square Method
2:40 Coding a PRNG
5:23 Visual Examples of the PRNG
6:05 This PRNG is bad!
#GameMaker
#Randomness
A tutorial on how computers generate random numbers and why that fact is important to know.
Patreon Support
patreon.com/samspadegamedev
Coding Math
youtu.be/4sYawx70iP4
Source Code
github.com/samspadegamedev/YouTube-Perlin-Noise-Public
Outline
0:00 Why does it matter?
0:31 How do computers create randomness?
2:10 The Middle-Square Method
2:40 Coding a PRNG
5:23 Visual Examples of the PRNG
6:05 This PRNG is bad!
#GameMaker
#Randomness

![[incomplete in 2.3] Data Types [GameMaker Studio 2]
A short tutorial on understanding data types and what you can do with them in GameMaker. Part of the Coding Fundamentals in GML Tutorial Series.
Patreon Support
https://www.patreon.com/samspadegamedev
Links
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/6_scope.html
https://docs2.yoyogames.com/source/_build/3_scripting/3_gml_overview/9_data_types.html
https://en.wikipedia.org/wiki/Data_type
https://github.com/samspadegamedev/GML-Coding-Fundamentals/tree/master
Outline
0:00 What is a Data Type
0:45 Common Data Types
1:14 Less Common Data Types
1:41 Rare Data Types
1:58 Strings
3:55 Numbers
4:47 Booleans
5:35 Arrays
8:29 Summary
#GameMaker
#CodingFundamentals
#GML [incomplete in 2.3] Data Types [GameMaker Studio 2]](https://i.ytimg.com/vi/u5u3mW3432o/mqdefault.jpg)



![Asynchronous Basics [GameMaker Studio 2]
A short tutorial on asynchronous basics in the Coding Fundamentals in GML tutorial series using GameMaker Studio 2.
Resource Links:
http://docs2.yoyogames.com/source/_build/2_interface/1_editors/events/index.html
http://docs2.yoyogames.com/source/_build/2_interface/1_editors/events/async_events.html
https://en.wikipedia.org/wiki/Asynchrony_(computer_programming)
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 Asynchronous Basics [GameMaker Studio 2]](https://i.ytimg.com/vi/wsDTUTFTFjo/mqdefault.jpg)


![Script Functions Versus Method Variables [GameMaker Studio 2.3]
A short tutorial about the differences between script functions and method variables in 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/Method_Variables.htm
https://manual.yoyogames.com/GameMaker_Language/GML_Reference/Variable_Functions/method.htm
Outline
0:00 Form Review
0:47 A Very Simple Rule
1:13 Definitions
1:47 General Comparison
4:54 Code Example
9:22 Debugging
11:02 Summary
#GameMaker
#CodingFundamentals
#GML Script Functions Versus Method Variables [GameMaker Studio 2.3]](https://i.ytimg.com/vi/yuMLl4nsdhc/mqdefault.jpg)
![Default Values for Optional Arguments Update [GameMaker Studio 2.3]
A short tutorial on the new GameMaker Studio 2.3.3 update that covers how to use default values for optional function arguments.
Support me on Patreon!
https://www.patreon.com/samspadegamedev
Outline
0:00 GameMaker Studio 2.3.3 Update!
0:13 Default Values For Optional Function Arguments
0:35 Vector Random Example
1:31 Alarm Struct Example
2:57 Important Note
Runtime Release Notes
https://gms.yoyogames.com/release-notes-runtime.html
https://gms.yoyogames.com/ReleaseNotes.html
Manual Page on Default Values for Function Arguments
https://manual.yoyogames.com/GameMaker_Language/GML_Overview/Script_Functions.htm
Developer by Taurusa Mahda Saputra
https://lottiefiles.com/55885-developer
#GameMaker
#GML Default Values for Optional Arguments Update [GameMaker Studio 2.3]](https://i.ytimg.com/vi/z5wINQt2IEY/mqdefault.jpg)
