Added a game manager and better gameplay loop

This commit is contained in:
winniewk committed 2024-08-19 21:09:36 -04:00
1 parent b3b955e0c4
commit 334167167f
119 files changed
+523 -146

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
class_name Character extends Resource
@export var maxHealth: int = 100
@export var startHealth: int = 100
@export var currentHealth: int = 100
+9
View File
@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Character" load_steps=2 format=3 uid="uid://dxc7dg75pkbqa"]
[ext_resource type="Script" path="res://scripts/resources/characterStats.gd" id="1_pm5p8"]
[resource]
script = ExtResource("1_pm5p8")
maxHealth = 100
startHealth = 100
currentHealth = 100
+9
View File
@@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="Character" load_steps=2 format=3 uid="uid://udhbmduy86bh"]
[ext_resource type="Script" path="res://scripts/resources/characterStats.gd" id="1_ys1fs"]
[resource]
script = ExtResource("1_ys1fs")
maxHealth = 50
startHealth = 50
currentHealth = 50