🎮 Tutorial Godot do Zero 2025 #3 – Criando Animações para o Jogador - Andando e Pulando
Adding Images and Animations to the Player
Introduction to Scene Setup
- The previous video covered adding objects like the player and ground, along with basic player movement.
- The KCK Terbar 2D object will be removed as it was temporary; now a better setup will be implemented.
- The player character will be created as a separate entity for reuse across multiple game levels instead of creating new instances in each level.
Creating a New Scene for the Player
- A new scene is initiated by clicking the "+" button, starting with a root node similar to previous setups but using Character Bar 2D.
- The newly created player node is renamed and configured with necessary components like Collision Shape 2D.
- A collision shape must be defined for the player, mirroring steps from earlier videos.
Organizing Game Entities
- The player scene is saved in a new "entities" folder rather than within the main scenes folder for better organization.
- This organizational structure allows easy management of various entities such as players, enemies, and collectible items throughout development.
Integrating Player into Game Scene
Reusing Player Entity
- To bring the player into the game scene, users can either use an icon or drag-and-drop method from previously created scenes.
- After inserting the player into the game scene, any duplicate instances are removed to maintain clarity.
Configuring Player Properties
- Upon running the game (F5), it's noted that while functional, the player's size appears too small without scripts attached.
- The original script is reattached to ensure functionality remains intact after moving between scenes.
Importing Sprites for Animation
Setting Up Sprite Resources
- A new folder named "sprites" is created within resources to store images used in-game.
- Users are encouraged to download sprite packs from specified sources; specifically mentioning using Penguin images for consistency in tutorials.
Preparing Animation Assets
- It’s recommended that beginners follow along closely with provided assets to ease learning during initial stages of development.
Adding Animated Sprite Node
Configuring Animated Sprite Node
- An Animated Sprite 2D node is added under the player node to enable image display capabilities during gameplay.
- Users must create sprite frames which define animation sequences; this involves importing specific images representing different states of motion.
Defining Idle Animation Frames
- An idle animation frame set up begins by renaming default animations and importing relevant images from downloaded sprite assets.
Finalizing Animation Settings
Adjusting Texture Filters
- Texture filtering settings are adjusted from inherited defaults to nearest neighbor filtering suitable for pixel art styles.
Testing Animation Functionality
- After setting up animations correctly, testing reveals issues with visibility and playback speed which need adjustments before finalizing configurations.
Adjusting Camera Settings
Resizing Camera Viewport
- Instead of resizing individual elements like players or backgrounds, camera dimensions are modified for uniform scaling across all assets.
Final Adjustments Before Next Video
- Future videos will focus on enhancing character controls including turning mechanics and additional animations when jumping or walking.
Turn any video into a summary like this
YouTube links, meetings, lectures. With transcripts, search, and chat.


