autoload, timer, win condition, lose condition, custom resources, enemy, multi-levels

This commit is contained in:
AutumnMayes committed 2025-06-30 21:04:01 -04:00
1 parent c2f329ac60
commit 92e989c331
16 files changed
+1294 -29

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
class_name CharacterStats extends Resource
@export var max_health:int = 100
@export var starting_health:int = 100
@export var health:int = 100
#damage dealing
@export var meleeDamage:int = 10
@export var rangeDamage:int = 0
+1
View File
@@ -0,0 +1 @@
uid://b4t8cviiuvt18
+12
View File
@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://bui3rirgh7w6h"]
[ext_resource type="Script" uid="uid://b4t8cviiuvt18" path="res://Scripts/rscs/characterstats.gd" id="1_eiyfu"]
[resource]
script = ExtResource("1_eiyfu")
max_health = 100
starting_health = 100
health = 100
meleeDamage = 5
rangeDamage = 10
metadata/_custom_type_script = "uid://b4t8cviiuvt18"
+12
View File
@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://dtrmy5w0xcd0u"]
[ext_resource type="Script" uid="uid://b4t8cviiuvt18" path="res://Scripts/rscs/characterstats.gd" id="1_g41dv"]
[resource]
script = ExtResource("1_g41dv")
max_health = 50
starting_health = 50
health = 50
meleeDamage = 10
rangeDamage = 0
metadata/_custom_type_script = "uid://b4t8cviiuvt18"