Zombie preview before game
This commit is contained in:
parent
ed747bea9e
commit
84396d8393
4 changed files with 67 additions and 4 deletions
|
|
@ -833,7 +833,7 @@ metadata/_edit_lock_ = true
|
|||
|
||||
[node name="RightLowerLeg" type="Bone2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt/RightUpperLeg"]
|
||||
position = Vector2(-2, 12)
|
||||
scale = Vector2(0.999836, 0.999836)
|
||||
scale = Vector2(0.999837, 0.999837)
|
||||
rest = Transform2D(1, 0, 0, 1, -2, 12)
|
||||
editor_settings/show_bone_gizmo = false
|
||||
|
||||
|
|
@ -902,7 +902,7 @@ metadata/_edit_lock_ = true
|
|||
[node name="Body" type="Bone2D" parent="CanvasGroup/basic_zombie_walk/Zombie/Butt"]
|
||||
use_parent_material = true
|
||||
position = Vector2(1, -2)
|
||||
scale = Vector2(0.999827, 0.999827)
|
||||
scale = Vector2(0.999826, 0.999826)
|
||||
rest = Transform2D(1, 0, 0, 1, 1, -2)
|
||||
editor_settings/show_bone_gizmo = false
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=15 format=3 uid="uid://bu0dh5ct387xu"]
|
||||
[gd_scene load_steps=16 format=3 uid="uid://bu0dh5ct387xu"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dd3yegl1xo44m" path="res://scenes/templates/level_template.tscn" id="1_vdv3d"]
|
||||
[ext_resource type="Resource" uid="uid://br3364jty1j0i" path="res://resources/levels/test_level_for_execution.tres" id="2_bpfdr"]
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
[ext_resource type="Script" uid="uid://84gvlkflxdhk" path="res://scripts/level/zombe_spawners/RowSpawner.cs" id="4_kn7hc"]
|
||||
[ext_resource type="Script" uid="uid://puqxp2xeg1r2" path="res://scripts/level/LevelRunner.cs" id="5_vbgdr"]
|
||||
[ext_resource type="PackedScene" uid="uid://c668qnmmpli5r" path="res://scenes/gui/wave_progress.tscn" id="6_yw4uo"]
|
||||
[ext_resource type="Script" uid="uid://bc3s06ejbotma" path="res://scripts/gui/ZombieLevelPreviewer.cs" id="7_8ajos"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vbgdr"]
|
||||
resource_name = "CYS_Sequence"
|
||||
|
|
@ -324,13 +325,18 @@ approachNotificationTime = 5.0
|
|||
[node name="WaveTimer" type="Timer" parent="LevelRunner" index="0"]
|
||||
one_shot = true
|
||||
|
||||
[node name="Checkbox" parent="." index="16" node_paths=PackedStringArray("gameOverLayer", "fadeAnimation")]
|
||||
[node name="ZombieLevelPrevewer" type="Node2D" parent="." index="16"]
|
||||
position = Vector2(855, 76)
|
||||
script = ExtResource("7_8ajos")
|
||||
|
||||
[node name="Checkbox" parent="." index="17" node_paths=PackedStringArray("gameOverLayer", "fadeAnimation")]
|
||||
gameOverLayer = NodePath("../GameOverZombie")
|
||||
fadeAnimation = NodePath("../GameOverScreen/AnimationPlayer")
|
||||
|
||||
[node name="CollisionShape2D" parent="Checkbox" index="0"]
|
||||
shape = SubResource("WorldBoundaryShape2D_yw4uo")
|
||||
|
||||
[connection signal="OnLevelStateChanged" from="Data" to="ZombieLevelPrevewer" method="OnLevelStateChanged"]
|
||||
[connection signal="FinalWaveInitiated" from="LevelRunner" to="MainAnimationPlayer" method="play" binds= ["FW_Sequence"]]
|
||||
[connection signal="HugeWaveApproachingCallback" from="LevelRunner" to="MainAnimationPlayer" method="play" binds= ["HW_Sequence"]]
|
||||
[connection signal="HugeWaveInitiated" from="LevelRunner" to="GUI/WaveProgress" method="OnHugeWaveApproached"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue