
GDScript
GDScript evolved as a custom scripting language to be used with the Godot computer (and mobile device) Game engine, and for those people who look beyond the real world, it also supports Virtual …
GDScript Tutorials
Here I give you a collection of easy to learn GDScript Tutorials that I created to help you to quickly get up to speed coding with Godot. Create cross-platform software for many different projects including, …
Solutions - GDScript
In this section, the goal is to provide mini-tutorials and code snippets for easy learning and figuring out how to use GDScript to code your own game ideas. Godot Keyboard and Mouse Button Input …
Functions - GDScript
Functions Functions are a way to group together sections of code that perform related actions. They help us to write more readable code and avoid repeating the same code in multiple places. A square …
Godot 4 - GDScript Features
In GDScript, a lambda looks the same as an anonymous function. But in other languages (such as C# and JavaScript), it may be written to look more like a mathematical operation with arrow notation.
Classes - GDScript
Conclusion Well that’s it for the basics of GDScript programming. Please use the tutorials here as a future reference to refresh your knowledge. The next stage is to start creating your own games. For …
Conditional Statements - GDScript
GDScript provides a powerful alternative Match statement. This is explained very well in the official docs, so please follow the above link to find out about it.
How to Save and Load Godot Game Data - GDScript
How to Save and Load Godot Game Data In our game, we may have the current score, level, and items collected that should be stored and reloaded if the player wants to quit the game and restart it later. …
Godot Keyboard and Mouse Button Input Programming - GDScript
Godot Keyboard and Mouse Button Input Programming Commonly you will want your Godot game to respond to user input from the keyboard and mouse. In this tutorial we will look at how to poll the …
Random Numbers - GDScript
Random Numbers Godot has a number of Random Number functions. The sequence of numbers that are generated are deterministic so each time you run your game, the same sequence of numbers is …