@tpbanimations I gave up on the project for now my lap top broke and I just got a job but the idea was a 2d platforming shooter where you start as just the head of the cyborg and every boss you kill you get more body parts and new abilities with them the setting is in the mountains and hills near a run down village
omg thanks so much for making this video Tom. I have learned basic GDscript through a udemy course and can't wait to expand my knowledge to use in future gamejams. :)
Got a subscribe! Love the fact that you explained the basics of the scripting. Need more basic tutorials please! Have an 11 year old that talks of game development, so would live to be able walk with him through the basics and neither of us have any programing/scripting experience. Very helpful video! Would love to see more basic and focused videos on say creating and moving a Player Character, then the same for an Enemy, or level creation and the list just goes on! Please do more!
Hi Stephen, thanks for your comment. Glad you found this video, it would be awesome if you and your 11 year old could create a game together :) More tutorials to follow so be sure to keep an eye out :)
you explain things very clearly. it's very easily understandable, especially as a person who's used python before. also, you have a very good voice, unlike many other programmers on youtube I've seen so far.
Very good explanation of how to write script thanks. One thing correct me if I'm wrong (woo i write a condition) So that function is by itself is like variables the difference is we assign value for variables with var name value. And function keeping data in brackets but when we calling that individual function in ready function we are assigning the value for that function. ( it is not you its me who understands things very slowly sorry about that ) This is the video i was looking for so long but didn't tapped on it. Thanks again. Watching it again later.
Incredible tutorial! I was able to understand everything you were explaining. It all made perfect sense the way you described. Extremely helpful! I'm actually grasping GDScript more now thanks to your videos. The language itself kinda puts me in the mind of a mixture of Python & Lua scripting. Very informative!
Really looking forward to more GDscript tutorials. I hope you include tutorials for both 2D and 3D games since I know the code commands and syntax changes a bit between 2D and 3D. I’m currently working on a 3D 3rd person shooter that will have multiplayer so I have lots to learn lol. Hope your up to the task of making tutorials all the way up to advance development. I would love to give the player the option of both match-making and inviting friends to a private party. If there is already a book out there for GDScript for Godot 3.2.2 or the upcoming Godot 4.0 please let me know as commands and syntax will change a bit between the versions and I would like to know what to change to make my code continue to work in 4.0. :) Creating an advance 3rd person camera controller that does not clip through walls and allows player actions such as jumping crouching and climbing ladders or on top of objects like cars would be amazing!
Thanks! I will definitely be covering both 2D and 3D however since there is already a lot of content out there for 2D, my channel right now is focusing more on scripting and 3D.
Super tutorial. I started learning GODOT 4 months ago. But I learned from youtube, and understand that all teachers focus on the programmer who have prior knowledge of other programming. I appriciate and welcome your method of teaching. I finally started understanding GDScript Thanks a lot Tom I look forward for your more tutorials
Thank you so much for your feedback Syed, great to hear that you're enjoying the tutorials and learning lots! Looking forward to bringing you more content
@@frankoesavage8314 Yes. I am trying to combine a couple of codes. I was able to combine few of them. Like clicking an sprite and dragging and bringing to a slot. You may watch this on my channel. Please visit my channel. I am experiencing problem, while dragging.
when you open it theres a panel that gives you 3d 2d or user interface choose 2d then press the plus button on top and add the sprite node to add texture use the inspector and use the texture thing and click open and choose whatever image. sorry for replying 2 years late
That was a very good tutorial. I was wondering I seen on the godotforums a page where you was asking for help simulating very far objects. I was able to download the code and it works the way I need it to for a game I'm working on but when I try to do the code in my game I'm doing some thing wrong. On the page you said some thing about doing a video on how to do it. I was wondering if you was going to do that video. It is some thing I have been trying to do for a while and I don't know what I'm doing wrong in my project. Thank you.
You just said that variables could be a text like "hello world" but then you said strings could be used to make messages too What is the difference between a text variable and a text string please explain And when to use wich? Also when to use add to add numbers and when to use operatörs to add numbers you keep showing us 2 different ways to make the same thing continosly but you don't tills us the differens or when to use wich
So its like a fill in the blank So "add" Is a function meaning you can choose what it does, in this case he choose to add 2 values, so when you do "add( x + x)" It doesn't add because you wrote "add" It adds because you told them that when someone writes add you are suppose to do this(var result = a + b) I am pretty sure it auto adapts if there is 2 value
Hey great video, but i have some questions. On the logical conditionals part, first you set the alive true and health to 0 and the output was "You died". The first question is that a boolean and integer can be compared ? And how did it show that you died if the alive was true?
hi..i dont have any basic on programming so the question i ask may sound stupid, im sorry..i wanna ask why the on the func _ready you put an underscore but not on the other func?
@13:34 How is it possible that you are calling the function "add" before defining it? I know you defined it after calling it but I am learning Python and it won't let you do that. Is that a GDScript thing? Sorry new to programming and thank you for the excellent tutorial!
Nice video. Very much like Javascript only simpler overall...in some cases slightly more complex but not often so I like GD script. You wont get a game breaking code just because you forgot to add an ";" at the end and the key arguments make a lot more sense like using "or" instead of "||" and using "and" instead of "&&" etc . Funny how if statements still need "==" double equals just like javascript which bit silly as you have "if" in front of it but ok... Only possible benefit to javascript I can see is that it will join or add numbers all by itself by interpretation...which is not always good as it doesn't do what you want sometimes and very annoying so yeah...
Okej you told us what an indent means but what does an indent inside another indent mean Like I do a indent to make something part of a function but then after I write something I make another indent what does that mean like this. Function An indent Something something Another indent something
why is my if statement not working ? here is the code: extends Node func _start(): statement(20) func statement(age): if age > 30: print("its greater you fool,you fool") else: print("you are cool")
This may be 2 years later but this might be the best tutorial I’ve seen in my life
Respect
Its always the oldest videos with the best tutorials
What game your working on?
@tpbanimations I gave up on the project for now my lap top broke and I just got a job but the idea was a 2d platforming shooter where you start as just the head of the cyborg and every boss you kill you get more body parts and new abilities with them the setting is in the mountains and hills near a run down village
@@DeadahGasplease don’t give up. Get another computer the first chance you get and continue on with your project in your spare time.
In 20 Minutes U took A person thet Literally knows nothing about Coding to a pretty good level thank you so match
Please do more like this. Your way of teaching and focus on the fundamentals is the best in Godot right now. Thank you so much for your work. :D
Thank you so much for your kind words Chauncey, I really appreciate it. More coming soon.
Yes please, keep them coming. New sub.
I scoured the face of youtube for a couple days, and this tutorial helped me the most! thanks boi
You're very welcome!
Very descriptive and articulate. Definitely going to sub and watch more.
@@synthblade thanks I appreciate it
@code with tom I too the same
same...
Man, you should make more videos like this gradually complicating the topic. With your ability to explain things you should have way more subscribers.
Thanks for the video please don't stop here please make a complete guide
Will do!
@@CodeWithTom thanks sir
Why didn't you show how you created 'player' on your scene? Whatkind of node is 'player'? I'm new to godot.
I know very basics of C++ (creating methods, classes, functions, constructions etc.) and this helps me a lot when learning another language.
omg thanks so much for making this video Tom. I have learned basic GDscript through a udemy course and can't wait to expand my knowledge to use in future gamejams. :)
You're very welcome Stevie!
Straight up the best intro to code video I've seen! Nice work Tom!
yuum
Got a subscribe! Love the fact that you explained the basics of the scripting. Need more basic tutorials please! Have an 11 year old that talks of game development, so would live to be able walk with him through the basics and neither of us have any programing/scripting experience. Very helpful video! Would love to see more basic and focused videos on say creating and moving a Player Character, then the same for an Enemy, or level creation and the list just goes on! Please do more!
Hi Stephen, thanks for your comment. Glad you found this video, it would be awesome if you and your 11 year old could create a game together :) More tutorials to follow so be sure to keep an eye out :)
Awesome tutorial, I stopped watching a different tutorial just to watch yours!
you explain things very clearly. it's very easily understandable, especially as a person who's used python before. also, you have a very good voice, unlike many other programmers on youtube I've seen so far.
he doesnt
I learned way more from this tutorial than I have anywhere else, this is really useful!
Hi Tom. You are an excellent teacher. Keep going with tutorials, you are a cut above most on youtube. Cheers!
Very good explanation of how to write script thanks.
One thing correct me if I'm wrong (woo i write a condition)
So that function is by itself is like variables the difference is we assign value for variables with var name value. And function keeping data in brackets but when we calling that individual function in ready function we are assigning the value for that function. ( it is not you its me who understands things very slowly sorry about that )
This is the video i was looking for so long but didn't tapped on it.
Thanks again.
Watching it again later.
Incredible tutorial! I was able to understand everything you were explaining. It all made perfect sense the way you described. Extremely helpful! I'm actually grasping GDScript more now thanks to your videos. The language itself kinda puts me in the mind of a mixture of Python & Lua scripting. Very informative!
Really looking forward to more GDscript tutorials. I hope you include tutorials for both 2D and 3D games since I know the code commands and syntax changes a bit between 2D and 3D. I’m currently working on a 3D 3rd person shooter that will have multiplayer so I have lots to learn lol. Hope your up to the task of making tutorials all the way up to advance development. I would love to give the player the option of both match-making and inviting friends to a private party. If there is already a book out there for GDScript for Godot 3.2.2 or the upcoming Godot 4.0 please let me know as commands and syntax will change a bit between the versions and I would like to know what to change to make my code continue to work in 4.0. :) Creating an advance 3rd person camera controller that does not clip through walls and allows player actions such as jumping crouching and climbing ladders or on top of objects like cars would be amazing!
Thanks! I will definitely be covering both 2D and 3D however since there is already a lot of content out there for 2D, my channel right now is focusing more on scripting and 3D.
Tutorials like this are working great for me, that is ones where you might go through various coding exercises to help make this into a skill.
Super tutorial.
I started learning GODOT 4 months ago.
But I learned from youtube, and understand that all teachers focus on the programmer who have prior knowledge of other programming.
I appriciate and welcome your method of teaching. I finally started understanding GDScript
Thanks a lot Tom
I look forward for your more tutorials
Thank you so much for your feedback Syed, great to hear that you're enjoying the tutorials and learning lots! Looking forward to bringing you more content
im interested in seeing your progress
@@frankoesavage8314 Thanks a lot
What method would you like so that you can see my progress
@@syedrizvi6408 r u combining the codes?
@@frankoesavage8314
Yes. I am trying to combine a couple of codes.
I was able to combine few of them.
Like clicking an sprite and dragging and bringing to a slot.
You may watch this on my channel. Please visit my channel.
I am experiencing problem, while dragging.
bro i tried finding tutorials for so long and i found this one and its so good 👍🏼
Glad this helped!
I like how you describe new concepts. Very good video, thank you for your work.
This is a really good tutorial. Unfortunatly, you don’t go deeper. But you give all the keys to move on !
Short and easy to understand. Great tutorial.
Sir I am new to programming I am from class 8th You are teaching very good Thankyou for these videos
I am going to say this in the nicest way possible. YOU ARE PRONOUNCING IT WROOOOOOOOOOONG!!!!!!!!!!!!!
Thanks for the advice!
@@CodeWithTom No problem, lol.
10:02 how do I create a player ?
how did you start with a pkayer sprite i started with nothing
2:45 bump up the font size, how did you this pls?
Thanks you for this video, it s the best tutorial on YT I have seen :D
For some reason there's repeatable glitches in the audio for my headphones.
Thanks. I needed really basic information and this was the only video I found that had it.
Thanks much it's very good. Please continue the trainings.
Thank you, I will
Um how do I get the nodes and sprites?
when you open it theres a panel that gives you 3d 2d or user interface choose 2d then press the plus button on top and add the sprite node to add texture use the inspector and use the texture thing and click open and choose whatever image. sorry for replying 2 years late
@@jimothy4 only been 2 years lmao. Thanks for the answer though
Perhaps explain how 'a' and 'b' work in function lines? Gotta break down every part
That was a very good tutorial. I was wondering I seen on the godotforums a page where you was asking for help simulating very far objects. I was able to download the code and it works the way I need it to for a game I'm working on but when I try to do the code in my game I'm doing some thing wrong. On the page you said some thing about doing a video on how to do it. I was wondering if you was going to do that video. It is some thing I have been trying to do for a while and I don't know what I'm doing wrong in my project. Thank you.
Hi Thomas, thanks for the comment. Yes I definitely still plan on covering that topic soon.
We are waiting for the next tutorial, anxiously.
Please take your time. But please keep in mind, we are waiting.
Next part is available now :)
How did you get the world and player nodes
How did you bump up the font size?
Hey 3 years late but did you figure it out
Please make more. You explain things well
how do u change the font size
Hey! I'm not seeing a world.tscn in my Scene folder...
your my favorite godot youtuber
how do i open a world node.....
I am late, but will it be easier to understand gdscript with Lua experience?
Thank God I learned Python first rather than c#
I am stuck at 10:22, there is no "World.tscn" or something else. pls help
have u got a main scene?
you gave me hope that I could be able to code afterall
it is saying for the add thing function "add()" not found in base self what do i do i am using 4.03
Thankyou sir best tutorial ever?😊❤
How do you save it?
it didnt work when I tried
is func _ready() the main execution function
Thank you, this video was very helpful.
I can't wait for the next video!
Im use godot but how to zoon the script font. What button?
control + mouse wheel i think
Great video! Whens the next one coming?
Thanks Phoenix, I think the next one will be within the next few weeks.
You just said that variables could be a text like "hello world" but then you said strings could be used to make messages too
What is the difference between a text variable and a text string please explain
And when to use wich?
Also when to use add to add numbers and when to use operatörs to add numbers you keep showing us 2 different ways to make the same thing continosly but you don't tills us the differens or when to use wich
13:02 How did the parameters A and B get associated with the var "number" and the 10 in the add function?
So its like a fill in the blank
So "add" Is a function meaning you can choose what it does, in this case he choose to add 2 values, so when you do "add( x + x)" It doesn't add because you wrote "add"
It adds because you told them that when someone writes add you are suppose to do this(var result = a + b)
I am pretty sure it auto adapts if there is 2 value
I've learned *some* basics of python so does that count as a bonus?
You are dope bro! Damn , thank you so much, subbed
Help godot wont print out anything, it worked and then didnt work the next day I dont know why, the thing in run isnt ticked
Hey great video, but i have some questions. On the logical conditionals part, first you set the alive true and health to 0 and the output was "You died". The first question is that a boolean and integer can be compared ? And how did it show that you died if the alive was true?
Nicely done. Thanks!
hi..i dont have any basic on programming so the question i ask may sound stupid, im sorry..i wanna ask why the on the func _ready you put an underscore but not on the other func?
Functions that start with "_" are built-in to Godot and don't need to be defined.
Is this playlist is completed :-) plz tell
Java uses else if, Ruby uses elsif, and apparently Godot uses elif. I'm sure I'll never mess this up...
Very similar to Python
AMAZING VIDEO!! THANK YOU
it's a good totourial
can you make a play list that you make in it a visual scripting language or what???
im confused how did u add a + b but number + 10 was in another function?
Sounds like someone beating an old dusty rug in the background..
What would you say is the best way to learn the syntax of any programing languaje, i learning slowly and the syntax is a problem for me
Do you type with dvorak layout?
how can we create a racing car game in Godot?
@13:34 How is it possible that you are calling the function "add" before defining it? I know you defined it after calling it but I am learning Python and it won't let you do that. Is that a GDScript thing? Sorry new to programming and thank you for the excellent tutorial!
it probably scans every function first and then does the code in order
i honestly dont know either its just a guess
thank you !! you teach really nice.
Great vid tom, thanks! :-)
My pleasure!
Nice video. Very much like Javascript only simpler overall...in some cases slightly more complex but not often so I like GD script. You wont get a game breaking code just because you forgot to add an ";" at the end and the key arguments make a lot more sense like using "or" instead of "||" and using "and" instead of "&&" etc . Funny how if statements still need "==" double equals just like javascript which bit silly as you have "if" in front of it but ok... Only possible benefit to javascript I can see is that it will join or add numbers all by itself by interpretation...which is not always good as it doesn't do what you want sometimes and very annoying so yeah...
No event handler?
Thats some awsome work bro, thaks a lot.
Can you make a part 2 pls
Im just going to give up i cant do this
Thanks so much for this!
Thanks for this tutorial!
Btw i know a little bit of python so this is pretty ez for me lol
This was amazing.
Very good video. Too bad the only one about GDScript.
Really helpful, thanks a lot!
no matter what i do i get "unexpected token" most of the time. anyone know what this is caused by?
may have to start from scratch. likely a small detail you missed
Very helpful, subscribed!
Okej you told us what an indent means but what does an indent inside another indent mean
Like I do a indent to make something part of a function but then after I write something I make another indent what does that mean like this.
Function
An indent Something something
Another indent something
It's almost like the language we speak everyday.
Thanks a lot pal!
No problem 👍
I HAve a good idea on making a game can i get ur help sir
please make more videos ,
why is my if statement not working ?
here is the code:
extends Node
func _start():
statement(20)
func statement(age):
if age > 30:
print("its greater you fool,you fool")
else:
print("you are cool")
its not func _start() its func _ready()
@@Gureenu thanks
instead of using that ("You are %d" % age) thing, you can just use ("You are ", age), way easier
Noo.. what happened to the FPS series
Don't worry it's not going anywhere, I have plenty more planned for that series.
@@CodeWithTom Awesome waiting for it :D
Thank you man
Thank you very much
Thanks for this