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

This commit is contained in:
GabriellePipo committed 2025-06-30 21:01:40 -04:00
1 parent d549f68f30
commit aea4379c6d
17 files changed
+1341 -42

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