Add achievement system with unlock and UI popup functionality (#8)

This commit is contained in:
2025-08-31 00:50:53 +02:00
committed by GitHub
parent 88c7a0a055
commit 53b5f968fd
46 changed files with 464 additions and 243 deletions

View File

@@ -0,0 +1,13 @@
using Godot;
namespace Mr.BrickAdventures.scripts.Resources;
[GlobalClass]
public partial class AchievementResource : Resource
{
[Export] public string Id { get; set; } = ""; // e.g., "level_1_complete"
[Export] public string DisplayName { get; set; } = "New Achievement";
[Export(PropertyHint.MultilineText)] public string Description { get; set; } = "";
[Export] public Texture2D Icon { get; set; }
[Export] public bool IsSecret { get; set; } = false;
}