Files
GameJam2023/Scenes/Levels/Level9.tscn
2023-09-03 00:16:40 -07:00

85 lines
2.9 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://0hdnmilwrsq6"]
[ext_resource type="PackedScene" uid="uid://bs8iqbayeqqm" path="res://Levels/Models/STAGE 9.blend" id="1_ley6w"]
[ext_resource type="Script" path="res://Scripts/HealthbarProgress.cs" id="2_53ar2"]
[ext_resource type="Script" path="res://Scripts/P1SpawnPoint.cs" id="2_hr1h4"]
[ext_resource type="Script" path="res://Scripts/P2SpawnPoint.cs" id="3_xr71f"]
[ext_resource type="PackedScene" uid="uid://brbshysbgd47q" path="res://Scenes/god_circuit.tscn" id="4_vmhpd"]
[ext_resource type="Texture2D" uid="uid://ccnmmyvs53gni" path="res://Textures/Style_1.png" id="5_jjg8p"]
[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)
[node name="Level9" type="Node3D" groups=["Level"]]
[node name="Control" type="Control" parent="."]
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")
[node name="STAGE 9" parent="." instance=ExtResource("1_ley6w")]
[node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("2_hr1h4")
[node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.29148, 0.123258, 5.44653)
script = ExtResource("3_xr71f")
[node name="God Circuit" parent="." instance=ExtResource("4_vmhpd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.54956, 1.08022, -0.0539055)
[node name="Area3D" type="Area3D" parent="God Circuit"]
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="God Circuit/Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.89871, 1.49756, -2.3792)
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")
[connection signal="body_entered" from="God Circuit/Area3D" to="God Circuit" method="OnHit"]