2023-12-15 22:08:07 +08:00
|
|
|
[gd_scene load_steps=19 format=3 uid="uid://chomobsn1vdo4"]
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[ext_resource type="Script" path="res://particles/particle-effects-scene.gd" id="1_62kg4"]
|
2023-12-13 13:36:22 +08:00
|
|
|
[ext_resource type="Environment" uid="uid://dxrk0u62aekxt" path="res://environments/black-environment.tres" id="1_k1rat"]
|
2023-12-13 05:44:18 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cxj4cf67il71y" path="res://particles/smoke.tscn" id="1_vs4eb"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c4g1wgyk5ynef" path="res://particles/fire.tscn" id="2_ua5o7"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bdwxckix3vslo" path="res://particles/hurricane.tscn" id="3_1jf4n"]
|
2023-12-15 19:25:28 +08:00
|
|
|
[ext_resource type="PackedScene" path="res://particles/hyperdrive.tscn" id="4_waeec"]
|
2023-12-13 06:45:53 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b2dthk7xytysh" path="res://particles/shield.tscn" id="5_iqqai"]
|
2023-12-15 05:10:23 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://1p0djdxytw42" path="res://particles/sparks.tscn" id="6_n8y86"]
|
2023-12-14 04:03:12 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://1nbihtdf4hnv" path="res://particles/rain.tscn" id="8_pqidy"]
|
2023-12-15 05:10:23 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://xilvyurttymc" path="res://particles/impact.tscn" id="9_rjfb0"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://r8y6qoevceyk" path="res://particles/shockwave.tscn" id="10_e5e8r"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://b8468qkcraev" path="res://particles/implosion.tscn" id="11_df01b"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://etnwfy334jt" path="res://addons/kenney_particle_pack/window_03.png" id="12_frhsd"]
|
|
|
|
[ext_resource type="ButtonGroup" uid="uid://crqtlmwxkve6i" path="res://particles/particles_button_group.tres" id="13_k8na1"]
|
2023-12-15 22:08:07 +08:00
|
|
|
[ext_resource type="PackedScene" uid="uid://dxbwdhrcv17yk" path="res://particles/ring_portal.tscn" id="13_ya4y5"]
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-13 06:45:53 +08:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_njwlo"]
|
2023-12-13 06:58:53 +08:00
|
|
|
shading_mode = 0
|
|
|
|
albedo_color = Color(0, 0, 0, 1)
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-13 06:45:53 +08:00
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_1mtlo"]
|
|
|
|
material = SubResource("StandardMaterial3D_njwlo")
|
2023-12-15 22:08:07 +08:00
|
|
|
size = Vector2(40, 40)
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pwnty"]
|
|
|
|
bg_color = Color(0.278431, 0, 0.141176, 0.392157)
|
|
|
|
|
|
|
|
[node name="Particle Effects Scene" type="Node3D"]
|
|
|
|
script = ExtResource("1_62kg4")
|
2023-12-13 05:44:18 +08:00
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
2023-12-15 22:08:07 +08:00
|
|
|
unique_name_in_owner = true
|
|
|
|
transform = Transform3D(0.707107, -0.40558, 0.579228, 2.8571e-16, 0.819152, 0.573576, -0.707107, -0.40558, 0.579228, 30, 30, 30)
|
2023-12-13 13:36:22 +08:00
|
|
|
environment = ExtResource("1_k1rat")
|
2023-12-15 05:10:23 +08:00
|
|
|
projection = 1
|
2023-12-13 05:44:18 +08:00
|
|
|
current = true
|
|
|
|
fov = 3.8
|
2023-12-15 05:10:23 +08:00
|
|
|
size = 4.0
|
2023-12-13 13:36:22 +08:00
|
|
|
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-13 06:45:53 +08:00
|
|
|
[node name="Ground" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.01, 0)
|
|
|
|
mesh = SubResource("PlaneMesh_1mtlo")
|
2023-12-15 05:10:23 +08:00
|
|
|
skeleton = NodePath("")
|
2023-12-13 06:45:53 +08:00
|
|
|
|
|
|
|
[node name="GPUParticlesCollisionBox3D" type="GPUParticlesCollisionBox3D" parent="Ground"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.52, 0)
|
|
|
|
size = Vector3(10, 1, 10)
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Effects" type="Node3D" parent="."]
|
|
|
|
unique_name_in_owner = true
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Fire" parent="Effects" instance=ExtResource("2_ua5o7")]
|
2023-12-13 06:45:53 +08:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 0)
|
|
|
|
visible = false
|
2023-12-13 05:44:18 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Hurricane" parent="Effects" instance=ExtResource("3_1jf4n")]
|
2023-12-13 05:44:18 +08:00
|
|
|
visible = false
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Hyperdrive" parent="Effects" instance=ExtResource("4_waeec")]
|
2023-12-13 05:44:18 +08:00
|
|
|
visible = false
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Impact" parent="Effects" instance=ExtResource("9_rjfb0")]
|
2023-12-14 13:40:19 +08:00
|
|
|
visible = false
|
2023-12-13 06:45:53 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Implosion" parent="Effects" node_paths=PackedStringArray("Particles") instance=ExtResource("11_df01b")]
|
2023-12-15 22:08:07 +08:00
|
|
|
visible = false
|
2023-12-15 05:10:23 +08:00
|
|
|
Particles = []
|
2023-12-13 13:36:22 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Rain" parent="Effects" instance=ExtResource("8_pqidy")]
|
2023-12-14 13:40:19 +08:00
|
|
|
visible = false
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Shield" parent="Effects" instance=ExtResource("5_iqqai")]
|
2023-12-14 15:33:49 +08:00
|
|
|
visible = false
|
2023-12-14 13:40:19 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Shockwave" parent="Effects" node_paths=PackedStringArray("Particles") instance=ExtResource("10_e5e8r")]
|
2023-12-14 13:40:19 +08:00
|
|
|
visible = false
|
2023-12-15 01:12:24 +08:00
|
|
|
Particles = []
|
2023-12-14 13:40:19 +08:00
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Smoke" parent="Effects" instance=ExtResource("1_vs4eb")]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
2023-12-14 13:40:19 +08:00
|
|
|
visible = false
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Sparks" parent="Effects" instance=ExtResource("6_n8y86")]
|
|
|
|
transform = Transform3D(0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0, 1, 0, 0.1, 0)
|
2023-12-14 13:40:19 +08:00
|
|
|
visible = false
|
2023-12-15 05:10:23 +08:00
|
|
|
|
2023-12-15 22:08:07 +08:00
|
|
|
[node name="Ring Portal" parent="Effects" instance=ExtResource("13_ya4y5")]
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="Electricity" type="Node3D" parent="Effects"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="CanvasLayer UI" type="CanvasLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="SideBar" type="HBoxContainer" parent="CanvasLayer UI"]
|
|
|
|
anchors_preset = 9
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="SideBar Menu" type="MarginContainer" parent="CanvasLayer UI/SideBar"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Panel" type="Panel" parent="CanvasLayer UI/SideBar/SideBar Menu"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_pwnty")
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer UI/SideBar/SideBar Menu"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/margin_left = 10
|
|
|
|
theme_override_constants/margin_top = 10
|
|
|
|
theme_override_constants/margin_right = 10
|
|
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer"]
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
|
2023-12-15 22:08:07 +08:00
|
|
|
[node name="Label Camera Zoom" type="RichTextLabel" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
bbcode_enabled = true
|
|
|
|
text = "[center]Camera Zoom"
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
[node name="HSlider Camera Zoom" type="HSlider" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
min_value = 2.0
|
|
|
|
max_value = 8.0
|
|
|
|
step = 0.1
|
|
|
|
value = 6.0
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="ButtonFire" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Fire"
|
|
|
|
|
|
|
|
[node name="ButtonHurricane" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Hurricane"
|
|
|
|
|
|
|
|
[node name="ButtonHyperdrive" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Hyperdrive"
|
|
|
|
|
|
|
|
[node name="ButtonImpact" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Impact"
|
|
|
|
|
|
|
|
[node name="ButtonImplosion" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Implosion"
|
|
|
|
|
|
|
|
[node name="ButtonRain" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Rain"
|
|
|
|
|
|
|
|
[node name="ButtonShield" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Shield"
|
|
|
|
|
|
|
|
[node name="ButtonShockwave" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Shockwave"
|
|
|
|
|
|
|
|
[node name="ButtonSmoke" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Smoke"
|
|
|
|
|
|
|
|
[node name="ButtonSparks" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Sparks"
|
|
|
|
|
2023-12-15 22:08:07 +08:00
|
|
|
[node name="ButtonRingPortal" type="Button" parent="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_font_sizes/font_size = 24
|
|
|
|
toggle_mode = true
|
|
|
|
button_group = ExtResource("13_k8na1")
|
|
|
|
text = "Ring Portal"
|
|
|
|
|
2023-12-15 05:10:23 +08:00
|
|
|
[node name="ToggleButton" type="TextureButton" parent="CanvasLayer UI/SideBar"]
|
|
|
|
custom_minimum_size = Vector2(64, 2.08165e-12)
|
|
|
|
layout_mode = 2
|
|
|
|
texture_normal = ExtResource("12_frhsd")
|
|
|
|
ignore_texture_size = true
|
|
|
|
stretch_mode = 4
|
|
|
|
|
|
|
|
[node name="BottomBar" type="MarginContainer" parent="CanvasLayer UI"]
|
|
|
|
anchors_preset = 12
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_top = -50.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
|
|
|
size_flags_vertical = 8
|
|
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
|
|
|
|
[node name="LabelVisibleEffects" type="RichTextLabel" parent="CanvasLayer UI/BottomBar"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
custom_minimum_size = Vector2(2.08165e-12, 40)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/default_color = Color(1, 1, 1, 1)
|
|
|
|
theme_override_font_sizes/normal_font_size = 24
|
|
|
|
bbcode_enabled = true
|
|
|
|
|
2023-12-15 22:08:07 +08:00
|
|
|
[connection signal="value_changed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/HSlider Camera Zoom" to="." method="slider_camera_zoom_value_changed"]
|
2023-12-15 05:10:23 +08:00
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonFire" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonHurricane" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonHyperdrive" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonImpact" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonImplosion" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonRain" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonShield" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonShockwave" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonSmoke" to="." method="updateVisibleEffects"]
|
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonSparks" to="." method="updateVisibleEffects"]
|
2023-12-15 22:08:07 +08:00
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/SideBar Menu/MarginContainer/VBoxContainer/ButtonRingPortal" to="." method="updateVisibleEffects"]
|
2023-12-15 05:10:23 +08:00
|
|
|
[connection signal="pressed" from="CanvasLayer UI/SideBar/ToggleButton" to="." method="toggleSideBar"]
|