custom resources, player damage, bad guy damage, animations, ui
This commit is contained in:
1 parent
7f787903b7
commit
a93515f621
20 files changed
+418
-36
No files matched your search
@@ -0,0 +1,8 @@
|
||||
class_name CharacterStats extends Resource
|
||||
|
||||
@export var max_health:int = 100
|
||||
@export var starting_health:int = 100
|
||||
@export var health:int = 100
|
||||
|
||||
@export var meleeDamage:int = 10
|
||||
@export var rangeDamage:int = 0
|
||||
@@ -0,0 +1 @@
|
||||
uid://da5ofgqbqvfv4
|
||||
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://d0evd4qs7p8vx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://da5ofgqbqvfv4" path="res://scripts/res/characterstats.gd" id="1_4nldt"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_4nldt")
|
||||
max_health = 100
|
||||
starting_health = 100
|
||||
health = 100
|
||||
meleeDamage = 10
|
||||
rangeDamage = 20
|
||||
metadata/_custom_type_script = "uid://da5ofgqbqvfv4"
|
||||
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://cofkrecvkxrlq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://da5ofgqbqvfv4" path="res://scripts/res/characterstats.gd" id="1_fftob"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_fftob")
|
||||
max_health = 50
|
||||
starting_health = 50
|
||||
health = 50
|
||||
meleeDamage = 30
|
||||
rangeDamage = 0
|
||||
metadata/_custom_type_script = "uid://da5ofgqbqvfv4"
|
||||
Reference in new issue
Block a user