05.assembling-game-line-of-code

Adding your first line of code

In Godot, we attach scripts to game entities to take control of them. Those scripts contain written computer code, which is the core of what you’ll learn in this course.

In this video, you’ll write your first line of GDScript code to make the chest spawn a collectible when passing in front of it.

At this stage, we haven’t started learning GDScript code. We don’t expect you to understand it. We just give you a first look at how you’ll add code to game entities in Godot to make them do things.

The next module will take you to the Learn GDScript From Zero app.

It’s the free part of this course, a program to help everyone learn the basics of Godot’s GDScript programming language.

It’s an app we can provide for free thanks to you buying this course and supporting our work.