Fix issues

This commit is contained in:
2023-09-04 01:33:30 -07:00
parent 8eeca13607
commit 3738f24705
34 changed files with 306 additions and 159 deletions

View File

@@ -1,5 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://0hdnmilwrsq6"]
[gd_scene load_steps=10 format=3 uid="uid://0hdnmilwrsq6"]
[ext_resource type="Script" path="res://Scripts/FinalLevel.cs" id="1_sy7dk"]
[ext_resource type="Script" path="res://Scripts/HealthbarProgress.cs" id="2_53ar2"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="3_xr71f"]
[ext_resource type="PackedScene" uid="uid://brbshysbgd47q" path="res://Scenes/god_circuit.tscn" id="4_vmhpd"]
@@ -7,54 +8,14 @@
[ext_resource type="PackedScene" uid="uid://b0chkusc2bo2v" path="res://Levels/Final Levels/AnimatedFinal.tscn" id="6_8beqh"]
[ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Scenes/HPComponent.tscn" id="7_nvq88"]
[sub_resource type="LabelSettings" id="LabelSettings_8edkl"]
font_color = Color(0, 0, 0, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_slhvd"]
size = Vector3(2.65272, 5.04315, 1.02395)
[sub_resource type="LabelSettings" id="LabelSettings_cs88m"]
font_color = Color(0, 0, 0, 1)
[node name="Level9" type="Node3D" groups=["Level"]]
[node name="Control" type="Control" parent="."]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="Control"]
top_level = true
z_index = 1
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 4.0
offset_top = 44.0
offset_right = 4.0
offset_bottom = 73.0
grow_horizontal = 2
max_value = 2e+09
value = 2e+09
nine_patch_stretch = true
texture_progress = ExtResource("5_jjg8p")
script = ExtResource("2_53ar2")
[node name="Label" type="Label" parent="Control"]
top_level = true
z_index = 1
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -43.0
offset_right = 43.0
offset_bottom = 26.0
grow_horizontal = 2
text = "God Circuit
"
label_settings = SubResource("LabelSettings_8edkl")
script = ExtResource("1_sy7dk")
[node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
@@ -77,8 +38,45 @@ shape = SubResource("BoxShape3D_slhvd")
[node name="HP Component" parent="God Circuit" node_paths=PackedStringArray("_healthBar") instance=ExtResource("7_nvq88")]
MaximumHP = 2000000000
_healthBar = NodePath("../../Control/TextureProgressBar")
_healthBar = NodePath("")
[node name="FINAL STAGE" parent="." instance=ExtResource("6_8beqh")]
[node name="FinalBossGUI" type="Control" parent="." groups=["BossGUI"]]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="FinalBossGUI"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_left = 383.0
offset_top = 44.0
offset_right = -491.0
offset_bottom = 73.0
grow_horizontal = 2
max_value = 1e+09
value = 1e+09
nine_patch_stretch = true
texture_progress = ExtResource("5_jjg8p")
script = ExtResource("2_53ar2")
[node name="Label" type="Label" parent="FinalBossGUI"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -43.0
offset_right = 43.0
offset_bottom = 26.0
grow_horizontal = 2
text = "God Circuit
"
label_settings = SubResource("LabelSettings_cs88m")
[connection signal="body_entered" from="God Circuit/Area3D" to="God Circuit" method="OnHit"]