multi levels; closed loop; custom resources; character stats; enemy attacks; player attacks; enemy movement started

This commit is contained in:
torontocaper committed 2025-11-03 20:56:43 -05:00
1 parent 0d6ffa22df
commit 1e24e0a59a
39 files changed
+1475 -61

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
class_name CharacterStats
extends Resource
@export_category("Health")
@export var health : int = 100
@export var max_health : int = 100
@export var starting_health : int = 100
@export_category("Damage")
@export var melee_damage : int = 10
@export var ranged_damage : int = 0
+1
View File
@@ -0,0 +1 @@
uid://dseptumqu6tok
+8
View File
@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://b4honm56f7ui"]
[ext_resource type="Script" uid="uid://dseptumqu6tok" path="res://resources/character_stats.gd" id="1_wld0n"]
[resource]
script = ExtResource("1_wld0n")
ranged_damage = 10
metadata/_custom_type_script = "uid://dseptumqu6tok"
+11
View File
@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://cuqjljjdqplsj"]
[ext_resource type="Script" uid="uid://dseptumqu6tok" path="res://resources/character_stats.gd" id="1_sbyxr"]
[resource]
script = ExtResource("1_sbyxr")
health = 50
max_health = 50
starting_health = 50
melee_damage = 5
metadata/_custom_type_script = "uid://dseptumqu6tok"