pause
This commit is contained in:
parent
915d20005b
commit
cded78e677
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=34 format=3 uid="uid://3d51hjh2st8a"]
|
[gd_scene load_steps=35 format=3 uid="uid://3d51hjh2st8a"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://d2d4uv7o5gx5p" path="res://Level/World/screen_shader.tscn" id="1_huyen"]
|
[ext_resource type="PackedScene" uid="uid://d2d4uv7o5gx5p" path="res://Level/World/screen_shader.tscn" id="1_huyen"]
|
||||||
[ext_resource type="PackedScene" uid="uid://d3ccrfjpg4hbv" path="res://Models/palm_curved.tscn" id="3_bth2b"]
|
[ext_resource type="PackedScene" uid="uid://d3ccrfjpg4hbv" path="res://Models/palm_curved.tscn" id="3_bth2b"]
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://g4gmc0pwlak1" path="res://Models/buildings/fence.tscn" id="28_prydb"]
|
[ext_resource type="PackedScene" uid="uid://g4gmc0pwlak1" path="res://Models/buildings/fence.tscn" id="28_prydb"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ckbba1bs71tl" path="res://crate.tscn" id="28_x0lrj"]
|
[ext_resource type="PackedScene" uid="uid://ckbba1bs71tl" path="res://crate.tscn" id="28_x0lrj"]
|
||||||
[ext_resource type="PackedScene" path="res://spawner.tscn" id="29_etvc6"]
|
[ext_resource type="PackedScene" path="res://spawner.tscn" id="29_etvc6"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://e0s4phx2jiit" path="res://cultist.tscn" id="30_8gvtc"]
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_jpnyu"]
|
[sub_resource type="Animation" id="Animation_jpnyu"]
|
||||||
resource_name = "waves"
|
resource_name = "waves"
|
||||||
|
@ -497,6 +498,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.41845, 9.26863, -2.62281)
|
||||||
|
|
||||||
[node name="Node3D2" type="Node3D" parent="."]
|
[node name="Node3D2" type="Node3D" parent="."]
|
||||||
|
|
||||||
|
[node name="Cultist" parent="." instance=ExtResource("30_8gvtc")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.10096, 2.40767, -1.07752)
|
||||||
|
|
||||||
[connection signal="finished" from="Music" to="Music" method="_on_finished"]
|
[connection signal="finished" from="Music" to="Music" method="_on_finished"]
|
||||||
[connection signal="timeout" from="Music/Transition" to="Music" method="_on_transition_timer_timeout"]
|
[connection signal="timeout" from="Music/Transition" to="Music" method="_on_transition_timer_timeout"]
|
||||||
[connection signal="timeout" from="Music/Tween" to="Music" method="_on_tween_timer_timeout"]
|
[connection signal="timeout" from="Music/Tween" to="Music" method="_on_tween_timer_timeout"]
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
extends MeshInstance3D
|
||||||
|
|
||||||
|
func _process(_delta):
|
||||||
|
visible = Global.cheating
|
|
@ -30,7 +30,8 @@ func quit():
|
||||||
|
|
||||||
|
|
||||||
func _on_kill_pressed():
|
func _on_kill_pressed():
|
||||||
pass # Replace with function body.
|
Global.cheating = true
|
||||||
|
toggle()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
[gd_scene load_steps=7 format=3 uid="uid://e0s4phx2jiit"]
|
[gd_scene load_steps=10 format=3 uid="uid://e0s4phx2jiit"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://cultist.gd" id="1_k6djk"]
|
[ext_resource type="Script" path="res://cultist.gd" id="1_k6djk"]
|
||||||
[ext_resource type="PackedScene" uid="uid://c3q6fva1c1baa" path="res://Models/slime.tscn" id="2_004fn"]
|
[ext_resource type="PackedScene" uid="uid://c3q6fva1c1baa" path="res://Models/slime.tscn" id="2_004fn"]
|
||||||
[ext_resource type="AudioStream" uid="uid://cxadu5w3jwv0b" path="res://Sounds/evilslime.ogg" id="3_novm4"]
|
[ext_resource type="AudioStream" uid="uid://cxadu5w3jwv0b" path="res://Sounds/evilslime.ogg" id="3_novm4"]
|
||||||
|
[ext_resource type="Script" path="res://MeshInstance3D.gd" id="4_trs5a"]
|
||||||
|
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_rypky"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_rypky"]
|
||||||
radius = 2.5
|
radius = 2.5
|
||||||
|
@ -13,6 +14,11 @@ radius = 0.055
|
||||||
[sub_resource type="SphereShape3D" id="SphereShape3D_bmc5i"]
|
[sub_resource type="SphereShape3D" id="SphereShape3D_bmc5i"]
|
||||||
radius = 0.05
|
radius = 0.05
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y5n1c"]
|
||||||
|
albedo_color = Color(1, 0, 1, 1)
|
||||||
|
|
||||||
|
[sub_resource type="SphereMesh" id="SphereMesh_75ex5"]
|
||||||
|
|
||||||
[node name="Cultist" type="CharacterBody3D"]
|
[node name="Cultist" type="CharacterBody3D"]
|
||||||
script = ExtResource("1_k6djk")
|
script = ExtResource("1_k6djk")
|
||||||
|
|
||||||
|
@ -38,5 +44,11 @@ shape = SubResource("SphereShape3D_bmc5i")
|
||||||
[node name="evilslime" type="AudioStreamPlayer3D" parent="."]
|
[node name="evilslime" type="AudioStreamPlayer3D" parent="."]
|
||||||
stream = ExtResource("3_novm4")
|
stream = ExtResource("3_novm4")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, 0, 0.181789, 0)
|
||||||
|
material_override = SubResource("StandardMaterial3D_y5n1c")
|
||||||
|
mesh = SubResource("SphereMesh_75ex5")
|
||||||
|
script = ExtResource("4_trs5a")
|
||||||
|
|
||||||
[connection signal="body_entered" from="TargetRadius" to="." method="_on_target_radius_body_entered"]
|
[connection signal="body_entered" from="TargetRadius" to="." method="_on_target_radius_body_entered"]
|
||||||
[connection signal="body_entered" from="CollisionDetection" to="." method="_on_collision_detection_body_entered"]
|
[connection signal="body_entered" from="CollisionDetection" to="." method="_on_collision_detection_body_entered"]
|
||||||
|
|
Loading…
Reference in New Issue