Functions - GameMaker Tutorial

preview_player
Показать описание
One of the most prominent additions to the massive GameMaker Studio 2.3 update, the addition of proper functions!

As you're probably aware. there are a lot of new language additions in the 2.3 update. I'll be covering most of them in due time!

A supplemental video on global variables:

Code:

GameMaker 3D playlist:
GameMaker Studio 2 playlist:

#GameMaker
#GameMaker23
#GameMakerFunctions
- - - - -
I've now made that Patreon:
That promised social media link spam.
Anyone wanna donate?

Rate, comment, subscribe, watch more, enjoy!
Рекомендации по теме
Комментарии
Автор

YESSSS, gooood. More 2.3 content, MOOOORE.

karlstenator
Автор

God I really needed this. Months in I'm still trying to decipher 2.3

cjtodd
Автор

I KNEW my code looked a bit off when I converted! Sadly everything was now broken and would require a rewrite(or time-consuming tweaks) if I want to stay on 2.3. those Functions look pretty useful!

steventechno
Автор

Glad you covered how functions can't currently be called with ( ) when stored in a variable.
I was wondering if I was missing something when trying this.

StephenLoney
Автор

I'm glad you no longer have to write "var smth = argument[0];", those few MOV and SUB instructions take some CPU time as well.

celticwarrior
Автор

I always enjoy your silly comments at the end.

professionalquestion
Автор

how do I do that thing of changing functions base on their parameter number?

alecacosta
Автор

14:10

Not ideal for the meanwhile, but at least you can use var f = method(undefined, scr_rotate_to_point);
That'll create a proper link to said function.

TabularElf