You are browsing as a guest. Sign up (or log in) to start making projects!

4h 46m 6s logged

Devlog – Day 2: UI Improvements & Coin CollectionToday I focused on improving the core gameplay loop and adding user interface elements to make the game feel more complete.What I worked onAdded a coin counter that updates whenever the player collects a coin.Connected the score system to a Label inside a CanvasLayer, ensuring the UI stays fixed on the screen even when the camera or player moves.Continued refining the coin collection logic, making sure the score increases correctly when a coin is picked up.Began implementing a Congratulations message that appears after collecting all the coins. While working on this, I encountered a node path error (Node not found), which helped me better understand how Godot searches for nodes relative to the current scene.Explored how to use CanvasLayer to display UI elements such as score, win messages, and future game notifications.Learned about different ways to create a countdown timer, including using Godot’s built-in Timer node and creating a timer with _process(delta).ChallengesThe biggest issue today was accessing UI nodes from the correct script. I learned that using an incorrect node path causes Godot to search relative to the current node, resulting in a “Node not found” error. Understanding the scene tree and node hierarchy made it much easier to troubleshoot these issues.Next StepsFinish the “Congratulations” screen after all coins are collected.Add a countdown timer to create a time-based challenge.Implement a “Time’s Up” or “Game Over” screen if the player runs out of time.Continue polishing the UI and overall gameplay experience.Overall, today was focused on connecting gameplay mechanics with the user interface. Although I ran into a few errors, they helped me gain a better understanding of Godot’s scene tree and node system, making future UI development much easier.

0
31

Comments 0

No comments yet. Be the first!