Absolute Beginners Guide Part 9 - Functions

  Рет қаралды 707

Let's Learn This Together

Let's Learn This Together

Күн бұрын

Absolute Beginners Guide Part 9 - Functions
Now that we're getting a hang of the basics, and understand variables, let's take a look at functions. Functions are ways to call a chunk of code to perform an action, and then we can get something back from that code, or it will do something for us that we need it to. Without functions, we can't go much further in our game journey, so let's dive in!
My Exclusive Courses💻🎮:
- Bundle Course Package & More Here! www.letslearnthistogether.com...
Game Dev In 30 Days 📖 💻😀
- I'm really excited to announce that I have written a game development book for beginners that is available NOW!
- I put a lot of heart, effort, and quality into creating this!
- If you're just starting out and interested in learning game development, I highly recommend this to you: www.letslearnthistogether.com...
Socials:
- Connect with me on Twitter @Aaron_LLTT: / aaron_lltt
- Become a valued Patron and vote on future content: / letslearnthistogether
- Wanna hear from other developers in the industry? Head on over to my podcast, DevTalk, to listen to engaging conversations I have with various successful developers: devtalk.buzzsprout.com/
- Our Instagram 📸! Follow here for more content and sneak peaks: / letslearnthistogether

Пікірлер: 10
@indiepunch3443
@indiepunch3443 2 жыл бұрын
I has been awhile. I am happy to see you making new videos!
@xnyarlx
@xnyarlx 2 жыл бұрын
Hello. Meybe you make Tutorial: How make DRM for STEAM in GameMaker Studio 2 in GML? I don't see thats thema on youtube.
@ronbriscoe888
@ronbriscoe888 2 жыл бұрын
Informative, although way more elementary for me, but wanted to mention. Did you know that there is a limit to the number of arguments that you can use with functions with game maker. i believe the limit is 15 or 16. so no function can have more than that number of arguments.
@LetsLearnThisTogether
@LetsLearnThisTogether 2 жыл бұрын
Good to know, I wasn’t aware there was a hard limit. You can use an array as an argument, so in that sense you could pass in an infinite amount, but you could only do 16 named arrays, so there’s that.
@buster9278
@buster9278 Жыл бұрын
How do you make a script refer to another one? I Have set on playerObj create code that: coolDirection = 0, and i tried to create an objBullet. the speed of the objBullet is set to 2, and the direction is: direction = coolDirection so that would mean direction = 0 right? but when i actually press space to run it, it says coolDirection was not set.
@LetsLearnThisTogether
@LetsLearnThisTogether Жыл бұрын
I’m not totally sure how your project is set up. A script is a function you write, and you can call them just any other function. When you call a custom function inside of another object, it can access its variables and data. So in a script you could set these values. If they’re not staying set, it sounds like another issue.
@14bitashes74
@14bitashes74 2 жыл бұрын
I have to admit at times I do wish you'd assume the viewer has a basic understanding of computers, because it threw me off to have to have "F1 on the keyboard" explained past just clicking it while we're having functions being explained too.
@LetsLearnThisTogether
@LetsLearnThisTogether 2 жыл бұрын
Yeah, I understand, but this series is aimed at total beginners, and I assume you’re new to using real computers, too. I’ve found out recently that assuming someone knows how to right click, extract a file, or what function keys are can be dangerous. After this beginner series I’ll be doing something a little more advanced :)
@14bitashes74
@14bitashes74 2 жыл бұрын
@@LetsLearnThisTogether I understand! Keep going broham, I watch every single one of these!
@chaotickreg7024
@chaotickreg7024 11 ай бұрын
I learned programming in math class so my functions are often named f1, f2, g1, etc. Sometimes if there would ever be a confusion, a couple extra syllables actually end up saving time for some viewers, especially beginners who might have never worked in an IDE before.
Absolute Beginner's Guide Part 16 - Coding Death
23:07
Let's Learn This Together
Рет қаралды 1 М.
So... It's Been a While
11:21
Let's Learn This Together
Рет қаралды 704
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 52 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 4,3 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 30 МЛН
Absolute Beginner's Guide Part 13 - Parallax Backgrounds
21:31
Let's Learn This Together
Рет қаралды 1,8 М.
Absolute Beginner's Guide Part 8 - Making Our Own Way
19:04
Let's Learn This Together
Рет қаралды 1,1 М.
Absolute Beginner's Guide Part 14 - Spike Manager
19:00
Let's Learn This Together
Рет қаралды 567
Make Your First Physics Game!
29:12
Let's Learn This Together
Рет қаралды 3,1 М.
Setting a Unity Project up with Git and GitHub
15:47
Hunter Dyar
Рет қаралды 150
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 697 М.
GameMaker July Update - New Debugger Features, Bug Reporting + More!
8:25
Let's Learn This Together
Рет қаралды 1 М.
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 52 МЛН