🎮 Tutorial Godot do Zero 2025 #2 – Movimentação Básica do Jogador - Andar e Pular
Introduction to Godot Development
Overview of the Project Setup
- The video begins with a recap of downloading and installing Godot, along with an overview of the main components of the interface.
- The focus is on creating a 2D scene, utilizing mouse controls for zooming in/out and panning across the XY axes, with a blue line indicating the camera view.
Creating the Root Node
- The root node serves as the base for inserting all other elements into the scene.
- A new 2D scene is created and renamed to "game," establishing it as the foundation for further development.
Saving and Organizing Files
- The empty scene needs to be saved; resources will be organized within a designated folder structure.
- A new folder named "cine" is created to store all scenes, ensuring better organization within the project files.
Adding Player Node
Initial Player Setup
- A temporary player node is added to represent character functionality during development.
- Using keyboard shortcuts allows for quick addition of child nodes, facilitating efficient workflow.
Configuring Character Properties
- Within the 2D node options, various elements can be inserted; filtering by "character" reveals available templates like CharacterBody2D.
- Nodes come pre-configured with templates that can be customized according to specific game requirements.
Collision Shape Configuration
Addressing Warnings
- A warning appears indicating that a CollisionShape2D must be added for proper functionality.
- Adding a CollisionShape2D resolves one issue but introduces another requiring shape selection for collision detection.
Finalizing Character Collider
- Selecting an appropriate shape (e.g., capsule shape), allows customization of collider dimensions based on character design needs.
Adjusting Collider Position
Visual Representation in Game
- Adjustments are made to ensure that colliders align correctly with visual representations in-game without affecting gameplay mechanics.
Debugging Tools
Enabling Collision Visibility
- Developers can enable visible collision shapes during debugging sessions to better understand interactions within the game environment.
Running Initial Game Test
Setting Main Scene
- Attempting to run the game prompts selection of a main scene; this establishes which scene loads first when testing gameplay.
Implementing Basic Movement Script
Adding Scripts
- A script is added to manage player behavior; it inherits properties from CharacterBody2D while allowing custom modifications.
Understanding Gravity Effects
- Observations reveal gravity effects on characters due to existing script conditions checking if they are grounded or not.
Enhancing Gameplay Mechanics
Introducing Static Objects
A StaticBody2D node representing ground is added alongside necessary collision shapes, enhancing interaction dynamics within gameplay.
Testing Movement Functionality
- After implementing basic movement scripts, players can move left/right and jump using keyboard inputs; however, adjustments are needed for continuous falling after jumps.
Conclusion and Future Steps
Upcoming Developments
- Future videos will focus on adding images and refining game configurations for improved aesthetics and functionality.
Turn any video into a summary like this
YouTube links, meetings, lectures. With transcripts, search, and chat.


