multi levels, closed loop for coins, custom resources for character stats, enemy attacks, player attacks, started enemy movement

This commit is contained in:
OddlyTimbot committed 2025-11-03 20:56:50 -05:00
1 parent bdaeeec44f
commit d5c87727b9
17 files changed
+1290 -46

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
#dealing damage
@export_category("damage")
@export var meleeDamage:int = 10
@export var rangeDamage:int = 0
+1
View File
@@ -0,0 +1 @@
uid://oewo8kn4jbkl
+8
View File
@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://4yftkv4qq0bd"]
[ext_resource type="Script" uid="uid://oewo8kn4jbkl" path="res://scripts/rscs/characterstats.gd" id="1_sqkfu"]
[resource]
script = ExtResource("1_sqkfu")
rangeDamage = 10
metadata/_custom_type_script = "uid://oewo8kn4jbkl"
+11
View File
@@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://8cwcd0phesw4"]
[ext_resource type="Script" uid="uid://oewo8kn4jbkl" path="res://scripts/rscs/characterstats.gd" id="1_ppipo"]
[resource]
script = ExtResource("1_ppipo")
health = 50
max_health = 50
starting_health = 50
meleeDamage = 5
metadata/_custom_type_script = "uid://oewo8kn4jbkl"