this post was submitted on 28 Jun 2023
15 points (100.0% liked)

Godot

5948 readers
203 users here now

Welcome to the programming.dev Godot community!

This is a place where you can discuss about anything relating to the Godot game engine. Feel free to ask questions, post tutorials, show off your godot game, etc.

Make sure to follow the Godot CoC while chatting

We have a matrix room that can be used for chatting with other members of the community here

Links

Other Communities

Rules

We have a four strike system in this community where you get warned the first time you break a rule, then given a week ban, then given a year ban, then a permanent ban. Certain actions may bypass this and go straight to permanent ban if severe enough and done with malicious intent

Wormhole

[email protected]

Credits

founded 2 years ago
MODERATORS
 

Are there any pointers or resources you can give me to start out that can point me to the right direction to learn GDScript? I have no experience in coding in general and I’m looking to get started with Godot and using GDScript. Thank you.

you are viewing a single comment's thread
view the rest of the comments
[–] GreentheNinja 2 points 1 year ago* (last edited 1 year ago) (1 children)

My biggest piece of advice is to start small. This is extremely important in my eyes. When you're just starting out, you will almost certainly be super inefficient, writing code that'll cause you a ton of headache down the line. Prepare to abandon tons of projects. (I feel like this is something that gets said a lot, but no one actually pays attention to.)

A big help with this is starting with 2D projects. They are a whole lot simpler and they let you put more focus on things like learning how scenes and nodes work.

From there, you can read stuff like the GDScript reference page on the docs but ultimately the best way to learn is by doing.

My preferred way of learning things was to set my sights on adding some kind of feature, and then whenever I hit a wall, or I don't understand what something does, then I search it up. The docs are incredibly useful for learning about what different things do, and there are a lot of questions on ask.godotengine.org with answers that have been very useful to me.

There are also a few built-in script templates (at least in Godot 4). For example when you create a CharacterBody2D node you can get an example script for a basic platforming character. Although these came into existence after I learned the basics, I imagine analyzing them would prove very useful.

[–] [email protected] 2 points 1 year ago

This is really good advice. I'd say try to pick up the basics by following along with a tutorial or two so you understand the syntax and core concepts and then move on to implementing some simple gameplay mechanics that you're interested in. I've seen people fall into an endless loop of doing tutorials, but without having an actual reason to keep pushing yourself it's easy to lose motivation.

Making games can be incredibly rewarding - it's all about getting into that positive feedback loop by seeing progress on projects you care about.