Overhaul game state logic to support gameplay loop

This commit is contained in:
2025-04-30 00:43:55 -07:00
parent 78cdda97b9
commit 68c91d8f13
60 changed files with 2503 additions and 1116 deletions

View File

@@ -1,10 +1,8 @@
[gd_scene load_steps=62 format=4 uid="uid://cfecvvav8kkp6"]
[gd_scene load_steps=60 format=4 uid="uid://cfecvvav8kkp6"]
[ext_resource type="Script" uid="uid://yxmiqy7i0t7r" path="res://src/player/Player.cs" id="1_xcol5"]
[ext_resource type="Script" uid="uid://s6ku2kyc4rbk" path="res://src/player/PlayerStatResource.cs" id="2_ebyyx"]
[ext_resource type="Script" uid="uid://6edayafleq8y" path="res://src/hitbox/Hitbox.cs" id="2_lb3qc"]
[ext_resource type="Script" uid="uid://s6ku2kyc4rbk" path="res://src/player/PlayerStatResource.cs" id="2_xq68d"]
[ext_resource type="Resource" uid="uid://bpdbuf0k0exb5" path="res://src/items/weapons/resources/Swan Sword Odette.tres" id="3_es4xk"]
[ext_resource type="Resource" uid="uid://ce2vfa2t3io67" path="res://src/items/armor/resources/AtonersAdornments.tres" id="4_bj1ma"]
[ext_resource type="Texture2D" uid="uid://c6r3dhnkuw22w" path="res://src/vfx/hit_effects/FIRE_STRIKE_1.0.png" id="5_wr6lo"]
[ext_resource type="Texture2D" uid="uid://m6xsyhnt67sh" path="res://src/player/dont_look_in_here/tendomaya_body0_tex00.png" id="6_es4xk"]
[ext_resource type="Texture2D" uid="uid://b5qjlbcesth53" path="res://src/vfx/Weapon Strikes/NON ELEMENTAL SLASH.png" id="6_p34sl"]
@@ -12,25 +10,26 @@
[ext_resource type="Texture2D" uid="uid://qxq1jjr1cojo" path="res://src/player/dont_look_in_here/tendomaya_face10_tex00.png" id="7_g183x"]
[ext_resource type="Texture2D" uid="uid://brr8uow0xte2o" path="res://src/player/dont_look_in_here/tendomaya_face20_tex00.png" id="8_ojh85"]
[sub_resource type="Resource" id="Resource_btp2w"]
script = ExtResource("2_xq68d")
[sub_resource type="Resource" id="Resource_bj1ma"]
script = ExtResource("2_ebyyx")
RotationSpeed = 1.5
MoveSpeed = 8.0
Acceleration = 1.0
CurrentHP = 100
MoveSpeed = 4.0
Acceleration = 2.0
CurrentHP = 1
MaximumHP = 100
CurrentVT = 0
MaximumVT = 90
CurrentVT = 1
MaximumVT = 100
CurrentExp = 0
ExpToNextLevel = 10
ExpToNextLevel = 12
CurrentLevel = 1
CurrentAttack = 8
CurrentAttack = 10
BonusAttack = 0
MaxAttack = 8
CurrentDefense = 1
MaxAttack = 10
CurrentDefense = 10
BonusDefense = 0
MaxDefense = 1
Luck = 0.05
MaxDefense = 10
Luck = 0.1
metadata/_custom_type_script = "uid://s6ku2kyc4rbk"
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dw45s"]
radius = 1.0
@@ -490,9 +489,7 @@ height = 1.6909
collision_layer = 806
collision_mask = 775
script = ExtResource("1_xcol5")
PlayerStatResource = SubResource("Resource_btp2w")
_defaultWeapon = ExtResource("3_es4xk")
_defaultArmor = ExtResource("4_bj1ma")
_playerStatResource = SubResource("Resource_bj1ma")
[node name="PlayerGeometryCollision" type="CollisionShape3D" parent="."]
transform = Transform3D(-0.0242402, 0, 0.999706, 0, 1, 0, -0.999706, 0, -0.0242402, 0, 1.06447, -0.153069)