Progress check-in to laptop
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://0hdnmilwrsq6"]
|
||||
[gd_scene load_steps=15 format=3 uid="uid://0hdnmilwrsq6"]
|
||||
|
||||
[ext_resource type="Script" path="res://Levels/Scripts/FinalLevel.cs" id="1_sy7dk"]
|
||||
[ext_resource type="Script" path="res://Enemies/HealthbarProgress.cs" id="2_53ar2"]
|
||||
@@ -7,9 +7,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://b0chkusc2bo2v" path="res://Levels/Models/Stage10/AnimatedFinal.tscn" id="6_8beqh"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1j0g6ikmnibm" path="res://Enemies/HPComponent.tscn" id="7_nvq88"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cs88m"]
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_43mih"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
@@ -22,6 +19,46 @@ size = Vector3(5, 20, 27.822)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_myhef"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_cs88m"]
|
||||
font_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0l6l4"]
|
||||
resource_name = "BossHPBar"
|
||||
length = 4.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("TextureProgressBar:value")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 4),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 2e+08]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_wy7s8"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("TextureProgressBar:value")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_nvs18"]
|
||||
_data = {
|
||||
"BossHPBar": SubResource("Animation_0l6l4"),
|
||||
"RESET": SubResource("Animation_wy7s8")
|
||||
}
|
||||
|
||||
[node name="Level10" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_sy7dk")
|
||||
@@ -33,34 +70,6 @@ script = ExtResource("1_sy7dk")
|
||||
[node name="HP Component" parent="God Circuit" instance=ExtResource("7_nvq88")]
|
||||
MaximumHP = 200000000
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="God Circuit"]
|
||||
z_index = -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 = 2e+08
|
||||
value = 1e+07
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("5_jjg8p")
|
||||
script = ExtResource("2_53ar2")
|
||||
|
||||
[node name="Label" type="Label" parent="God Circuit"]
|
||||
z_index = -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")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
@@ -80,4 +89,45 @@ shape = SubResource("BoxShape3D_hf7lb")
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 9.03101)
|
||||
shape = SubResource("BoxShape3D_myhef")
|
||||
|
||||
[connection signal="OnEnemyBossHit" from="God Circuit" to="God Circuit/TextureProgressBar" method="UpdateBar"]
|
||||
[node name="Boss GUI" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="Boss GUI"]
|
||||
z_index = -1
|
||||
layout_mode = 1
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_left = 433.0
|
||||
offset_top = 39.0
|
||||
offset_right = 1442.0
|
||||
offset_bottom = 78.0
|
||||
grow_horizontal = 2
|
||||
max_value = 2e+08
|
||||
nine_patch_stretch = true
|
||||
texture_progress = ExtResource("5_jjg8p")
|
||||
script = ExtResource("2_53ar2")
|
||||
|
||||
[node name="Label" type="Label" parent="Boss GUI"]
|
||||
z_index = -1
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = 897.0
|
||||
offset_right = 983.0
|
||||
offset_bottom = 26.0
|
||||
grow_horizontal = 2
|
||||
text = "God Circuit
|
||||
"
|
||||
label_settings = SubResource("LabelSettings_cs88m")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Boss GUI"]
|
||||
autoplay = "BossHPBar"
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_nvs18")
|
||||
}
|
||||
|
||||
[connection signal="OnEnemyBossHit" from="God Circuit" to="Boss GUI/TextureProgressBar" method="UpdateBar"]
|
||||
|
||||
Reference in New Issue
Block a user