level changing, autoloads, coins, player damage, player death

This commit is contained in:
AliJaffar committed 2025-03-24 21:03:05 -04:00
1 parent 878463a324
commit 1720aff1fc
21 files changed
+1076 -87

No files matched your search

@@ -0,0 +1,8 @@
class_name CharacterStats extends Resource
@export var max_health:int = 100
@export var starting_health:int = 100
@export var health:int = 100
@export var meleeDamage:int = 10
@export var rangeDamage:int = 8
@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://uiy3jm3rn86r"]
[ext_resource type="Script" path="res://scripts/res/characterStats.gd" id="1_xg86d"]
[resource]
script = ExtResource("1_xg86d")
max_health = 110
starting_health = 110
health = 110
meleeDamage = 15
rangeDamage = 20
@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://pj5dr8ee8h7i"]
[ext_resource type="Script" path="res://scripts/res/characterStats.gd" id="1_k2ehn"]
[resource]
script = ExtResource("1_k2ehn")
max_health = 50
starting_health = 50
health = 110
meleeDamage = 30
rangeDamage = 0