logo
Videos
Back to Videos
generalID: ODwH9zynWkk

Control Player Speed and Power: A Guide to Variables in GDScript | Episode 1

Views

1.5K

Duration

12:47

Published on

12/12/2025

Today, we launch a new and comprehensive course to learn game programming using GDScript in Godot 4, the ideal language for beginners due to its simplicity and seamless integration with the engine. In this first episode, we focus on one of the most important pillars of programming: "Variables." We explain different types such as Integers (int), Floats (float), Strings (String), and Booleans (bool). The video features a detailed explanation of the difference between regular variables and Constants, and how to choose the right type for each function in your game, such as player speed or health points. We also clarify the correct rules and practices for naming variables followed by professionals to ensure clean and organized code. This segment is the foundation that will enable you to give precise commands to the computer so it understands how your hero moves and interacts within the game.

OSTA

Teaching Game Development

Building the future of games, one line of code at a time.

Subscribe to the Channel

Related Videos

The Right Way to Program Enemies and Spawners in Godot 4 | Episode 3

The Right Way to Program Enemies and Spawners in Godot 4 | Episode 3

Osta Logo

© 2026 Osta. All rights reserved © OSTA