Add coins, enemy slime, and level reset.

This commit is contained in:
CatherineHoang committed 2026-07-27 21:13:39 -04:00
1 parent 8f29753f2e
commit 0c52a8d411
36 files changed
+970 -41

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
class_name CharacterStats extends Resource
#health
@export var currentHealth:int = 100
@export var maxHealth := 150
@export var startingHealth := 100
#damage
@export var meleeDamage := 20
@export var rangeDamage := 15
+1
View File
@@ -0,0 +1 @@
uid://b184uwt12pcwt
+10
View File
@@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="CharacterStats" format=3 uid="uid://be2pt870o5sfl"]
[ext_resource type="Script" uid="uid://b184uwt12pcwt" path="res://Scripts/rscs/characterstats.gd" id="1_eiyfu"]
[resource]
script = ExtResource("1_eiyfu")
maxHealth = 200
meleeDamage = 30
rangeDamage = 20
metadata/_custom_type_script = "uid://b184uwt12pcwt"
+11
View File
@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="CharacterStats" format=3 uid="uid://bv3403ln5bjch"]
[ext_resource type="Script" uid="uid://b184uwt12pcwt" path="res://Scripts/rscs/characterstats.gd" id="1_g41dv"]
[resource]
script = ExtResource("1_g41dv")
currentHealth = 60
maxHealth = 80
startingHealth = 60
rangeDamage = 0
metadata/_custom_type_script = "uid://b184uwt12pcwt"