GDScript Programming 101 -- Godot 3 Tutorial Series

preview_player
Показать описание
In this video we cover GDScript 101, a quick primer on learning Godot's built in programming language GDScript. We cover a ton in this video, creating and attaching scripts, the code editor, loops, variables, globals, conditionals and much more. We even briefly look at the built in debugger.

GFS Patreon -- Check out the WIP book!

GFS Series Table Of Contents

Sample Code From This Example:
Рекомендации по теме
Комментарии
Автор

I'm currently learning Godot thanks to your series and I wanted to thank you so much for being so clear about every aspect of this game engine. The more I discover, the more I'm convinced that Godot is a really powerful tool I will use soon to make my own games.

asthalis
Автор

20:30
Introducing the new car variable!

jamesrummel
Автор

Just discovered this awesome engine, a friend recommended Godot. Also, GDScript is very similar to Python, which is my favorite langauge! Thank you for this video Gamefromscratch, keep up the good work.

spectre.
Автор

21:56 if you're in Godot 4.0 and having an issue getting the float to convert to a string for Variable e, it's now "str" instead of "String" to convert the value.

So the new line of code is:
var e = str(b) + c

Or at least that's what worked for me without throwing up errors

TheTailedWlf
Автор

Hey man, you've been on a video rampage :D It's been hard to keep up the pace. But really nice videos lately, great job!

filipecoelho
Автор

I just want to say thank you for putting out these videos. I just started using Godot today, and having you as a teacher is awesome. There ar every few tutorials on Godot, so this is a godsend. Also I want to second what you said about learning python. I learned python about a month ago, and learning the scripting in this language is so much easier now that that I have a basic knowledge of python.

the.real.frosty.g
Автор

Really enjoying this series so far. I'm sure when I start building my own game, I'm going to find this much more challenging!

staticwombat
Автор

I have been searching for the course series for Godot and that is the best. Thank you

eraybesirli
Автор

>"you should have programming experience!"

>explains all the basic variable types, the for and while loops and if/else statements for 30 minutes...

Zen-rwfz
Автор

Thanks so much man for this tutorial series. I was prepared to buy a video series for Godot until I found yours. You rock! :)

MrGooGone
Автор

If you have some programming experience and you know types of variable and about if statements then you can skip to 38:54

geetaranikanojia
Автор

Quick reminder
Switch is often much faster than if statements because switch (usually) uses a hashing function that allows it to jump to the correct case instantly, while if statements need to be processed one by one. I'd guess this feature is used in Godot as well

erin
Автор

One tip... before you click play you should make sure the editor doesn't show any red line that indicates an error, you keep pressing the play button when it's clear you are going to hit an error before you could launch the game, I usually wait about a second before I hit play to make sure the editor considers the code good to go.

SamFX
Автор

This is the best tutorial by far! Thank you so much

christophersootoo
Автор

I know I’m late to the party, but I’d like to point out to future viewers that are not familiar with the terminology that Type Inference and Duck Typing are two completely different things. Type inference is usually done by statically typed languages (like C#) to save on boilerplate code. Duck typing is the ability to call an object’s members (properties, methods, etc.) without knowing or caring about the object’s type, which is usually not possible in statically typed languages without the use of reflection, and that kind of defeats the purpose and has severe performance implications.

GDScript is dynamically typed, so it doesn’t need to do type inference.


Edit: better explanation about duck typing.

rafasoaresms
Автор

Every beginner of godot should watch this.

kizz
Автор

At first I was having a real hard time following along. Then I put the playback on 0.75 speed and suddenly it was like you joined my time dimension! Your voice became normal speed. I actually forgot that you talk so fast until the video was over. ;) I love how thorough you are in your descriptions. I learned a lot from this video and plan to watch more of them....er...on 0.75 speed of course. :D

e.faithdenham
Автор

That's right about debugging. In game development you will spend twice as much time debugging compared to coding. Developing skills in debugging your program is one of the most important ability to have as a professional programmer.

georgechristoforou
Автор

awesome tutorial :D

P.D.: area = pi*r^2 not pi*r ;P

xgozulx
Автор

Really great tutorial, perfect depth and clear explanations!

texaslinux
welcome to shbcf.ru