Why i can not learn Gdscript😭

I m new trying my best to understand it i take Gdquest beginner coarse but still :smiling_face_with_tear:

1 Like

Give it time , how much did you spend to learn ?
Any prior experience with programming, game dev ?

2 Likes

I find the best thing to do is make small changes to the tutorial program. Just anything really. You will probably make a mistake and have to correct it by reading the output. You can put a comment symbol on the line you are changing so you can put it back the way it was.

2 Likes

Well give it time… bro .. and take proper classes my first language was c . That’ i learn at my course in college. And this give me a good understanding the basic of language and yea i am not master of c or gd script but after understanding c and 1 hour of gd script crash course..

This was sufficiently for me to work with gd script.. on projects :smiling_face::smiling_face:

2 Likes

as 1.5 Year expirience i suggest Don’t focus on How to create code.focus on Concept, How this is working?, like - - character in 2D movement ( there is graph which has axis x, y just like normal graph) godot has physis process function ( which colling every sec) for when i make x+1 and put in physis func then every sec will will increas x+1 , x+1+1 , x+1+1+1 … thats simple.

now

Show Docs or ask GPT to make veriable , How to wirte physics function , how to put in. then Your code done, Thats simple.

1 Like

If you haven’t tried the official ‘Learn GDScript From Scratch’ interactive app yet, I highly recommend it. It breaks things down much better than just staring at documentation. We’ve all been through that ‘brain fog’ phase, you’ve got this!

1 Like

i spended some 10 hours or more in learning it i m trying to make WASD and jump moment right now , m totally new to scripting

When ever it comes to coding my mind just shut down i m already trying to learn the concept in 3D !

in that case would be useful to do as other mentioned GDQuest tool for GDScript to get grasp of it .

I tried GDquest !
The problem with me is i am eager to make my own game and trying to learn concepts with making it !

1 Like

What kind of game do you want to make ?

Zenva have quite variety of 3D and 2D games which could learn you create parts of it ,but as many said here before its not production ready code so at some point you will need to dig into docs to find your solutions .

So do you already started read documentations by Godot Engine ?

i did not read documentation, but i will but where to start like its really long manual like ?
I m making a fps !

Try my playlist. If there is something you need to learn drop a comment and Will be noted.

3 Likes

It got sections , I prefer epub and using search for specific topic .

1 Like

wait its different from the docs i have can u send link ?

i already made FPS template, the problem i m facing is i know what i wrote in script but when it comes to edit the script and add something new i can not understand what to do ? like for example few days ago i asked on this forum about script help as on jumping when i release W the horizontal velocity become 0 mid air so someone asked e to check if the “ input_dir has a length of 0 ” but i do not know how to check or what it even mean ?

Don’t. Make a tetris clone first.

5 Likes

https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-stable.zip

Different is only in format , content should match website .

Every new game programmer wants to skip the fundamentals and jump straight into making a shooter, which is usually doomed to failure from the very beginning.

No new game programmer wants to hear this: focus on the fundamentals first.

  • What makes a programming language a programming language?
  • What are data types? Which ones does Godot support? What are their scopes and durations Write a small program that demonstrates this in a variety of contexts (global vs local).
  • What is iteration? How do I make a loop? Write a small program that demonstrates this in a variety of contexts (different loop types for different situations, for example).
  • What is sequencing? Write a small program that demonstrates this in a variety of contexts.
  • What is decision making? Write a small program that demonstrates this in a variety of contexts.
  • How do I get user input? Write a small program that demonstrates this in a variety of contexts. How do I respond to user input? Write a small program that demonstrates this in a variety of contexts.
  • How do I rotate an object? Write a small program that demonstrates this in a variety of contexts.
  • What is a vector? How does it relate to object/player movement? Write a small program that demonstrates this in a variety of contexts

Then advance through Godot’s features one at a time, and (surprise) write small programs to exercise those features. Step through the running program and see if the program’s contents change in expected or unexpected ways. If they change in unexpected ways, stop and focus on learning why.

Start small (and I mean SMALL), and work your way through the concepts and concrete implementations SLOWLY and deliberately. Be liberal in making small programs. Build on small successes to work your way up to larger successes. Make small games along the way to exercise your knowledge.

5 Likes

As a small addendum: I’ve been working on a multiplayer, first person adventure game called Seas of Reverence for about 4 years now, and I’m still at the infrastructure phase. Don’t underestimate the time commitment needed for games, especially first person and multiplayer games. I think burnout happens more often in those games than in most other genres. I find the need to make small, unrelated games to get back into the mood for my main game. Most of the games I have released on itch.io have been a direct result of said burnout.

2 Likes