Method Functions [GameMaker Studio 2.3]

preview_player
Показать описание
A short tutorial about method variables and how methods are bound in GameMaker Studio 2.3. Part of the Coding Fundamentals in GML Tutorial Series.

Patreon Support

Github Source Code Repository

Links:

Outline
0:00 What are Method Variables
1:49 What does bound mean?
2:25 How is a Method Bound
2:42 Code Examples
8:20 Binding After Creation
9:02 Code Examples of Binding
10:38 Summary

#GameMaker
#CodingFundamentals
#GML
Рекомендации по теме
Комментарии
Автор

I'm rewatching it 2 years later, when I actually need that info, and I'm glad that that video exists.

charcoalPanda
Автор

thank you. this tutorial series is super high quality, esp with the timestamps, ive been returning to your videos lately every time i cant quite find in the manual what im looking for when it comes to above beginner coding and some edge cases, and every time i find my answer within mintues. bless you.

itaisinger
Автор

This is an amazing video and it's so clear. Talking about binding in general is super confusing in any language.

HuyTran
Автор

This is explained super well but I think I’m not creative enough to understand why these would ever be useful 😭

raylolpez
Автор

4:33 Oh man, it was so satisfying when I got the answer right! That means I understood correctly. Your videos are a big help to my far-future project.

9:12 Is super interesting. But at 10:23, after you have pressed Enter to bind A's my_func to B's my_func and then spacebar, the first time causes both values to increase by 20 instead of 40 in the times after that. Why is that? Is it because of the order of the code being executed, hence 20 gets added to A and then to B after initially binding? I feel this could result in certain unexpected problems.

Either way, you are super underrated, sir.

SGTIvan
Автор

looks like Javascript 'bind' method.

AndrewOBannon