autoload, timer, win condition, lose condition, custom resources, bad guy, multi-levels

This commit is contained in:
OddlyTimbot committed 2025-06-30 21:01:30 -04:00
1 parent 05bb4ad9c0
commit e8cdd87ca2
16 files changed
+1312 -43

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://cfvf2k76qjwe6
+12
View File
@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://bvj8xedeyxylx"]
[ext_resource type="Script" uid="uid://cfvf2k76qjwe6" path="res://scripts/rscs/characterstats.gd" id="1_sqkfu"]
[resource]
script = ExtResource("1_sqkfu")
max_health = 100
starting_health = 100
health = 100
meleeDamage = 5
rangeDamage = 10
metadata/_custom_type_script = "uid://cfvf2k76qjwe6"
+12
View File
@@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://rrab0yi1n6n6"]
[ext_resource type="Script" uid="uid://cfvf2k76qjwe6" path="res://scripts/rscs/characterstats.gd" id="1_ppipo"]
[resource]
script = ExtResource("1_ppipo")
max_health = 50
starting_health = 50
health = 50
meleeDamage = 10
rangeDamage = 0
metadata/_custom_type_script = "uid://cfvf2k76qjwe6"