Reference Manual for GD Script

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JediJoe

Hi everyone. I am trying to learn GD Script but am finding the reference manual lacking in information and practical examples - Would anyone know of a good place to find code examples of GD Script. What are peoples preferred sites for learning GD Script? Thanks!

:bust_in_silhouette: Reply From: kidscancode

There are a few common recommendations to answer this question. They mainly boil down to whether you’re a beginner at programming entirely, or you’re just new to GDScript. If the latter, GDScript shouldn’t take you more than an hour or so to fully understand if you have any proficiency with Python/Javascript/Lua/other-dynamic-language.

If you are completely new to programming, here are some paths to take:

  1. Learn Python first. There are huge amounts of learning resources out there, because it’s a very widely used language. Godot’s syntax is so similar to Python’s that it’s going to feel almost like writing the same language.

  2. Go through the docs. The step-by-step section includes a beginner project where you create a full game. The GDScript in there has been written to be as clear as possible for beginners. Step by step — Godot Engine (latest) documentation in English

  3. Read the code in the demo projects: GitHub - godotengine/godot-demo-projects: Demonstration and Template Projects
    Beware: not all of the demo projects are beginner-friendly, but you’ll see lots of examples of how things are done.

Thank you, I appreciate your help. I have taken your advice and am learning Python.

JediJoe | 2018-03-20 21:43