-
Notifications
You must be signed in to change notification settings - Fork 1
/
level3.tscn
146 lines (117 loc) · 6.39 KB
/
level3.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[gd_scene load_steps=13 format=3 uid="uid://beu4s4j8dhapq"]
[ext_resource type="Script" path="res://level3.gd" id="1_sbgot"]
[ext_resource type="PackedScene" uid="uid://hbk1l0bonreu" path="res://player.tscn" id="2_anatj"]
[ext_resource type="Script" path="res://cameraNode.gd" id="3_fn7n6"]
[ext_resource type="PackedScene" uid="uid://yorer1ymbdyw" path="res://platform.tscn" id="4_24axi"]
[ext_resource type="PackedScene" uid="uid://csjqjq6hmlm4e" path="res://largeGrass.tscn" id="4_hwvig"]
[ext_resource type="PackedScene" uid="uid://c5l65pcv578or" path="res://enemy.tscn" id="5_14i33"]
[ext_resource type="PackedScene" uid="uid://c6ya3fj6ybjxd" path="res://spikeyPlatform.tscn" id="6_fxmp4"]
[ext_resource type="PackedScene" uid="uid://55qf2k2e80mb" path="res://background.tscn" id="7_aq6ue"]
[ext_resource type="PackedScene" uid="uid://d13mxrwk4mls3" path="res://goal.tscn" id="8_cdrtg"]
[ext_resource type="Script" path="res://stopwatch.gd" id="8_x7tyn"]
[ext_resource type="Script" path="res://level3FinishedUI.gd" id="9_4nkfb"]
[ext_resource type="PackedScene" uid="uid://cq8yxalyyastx" path="res://smallGrass.tscn" id="10_48h68"]
[node name="CanvasLayer" type="CanvasLayer"]
[node name="Node3D" type="Node3D" parent="."]
script = ExtResource("1_sbgot")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 0.355482, 0.934683, 0, -0.934683, 0.355482, 0, 3.91741, 0.756045)
[node name="player" parent="Node3D" instance=ExtResource("2_anatj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
level = 3
[node name="cameraNode" type="Node3D" parent="Node3D"]
transform = Transform3D(0.98085, -0.0558571, 0.186584, 0, 0.957993, 0.286792, -0.194765, -0.2813, 0.939647, 3.17835, 3.9898, 6.45874)
script = ExtResource("3_fn7n6")
[node name="CameraGame" type="Camera3D" parent="Node3D/cameraNode"]
transform = Transform3D(1, 7.45058e-09, -1.49012e-08, 0, 1, -2.98023e-08, 0, 0, 1, 0, 0, 0)
fov = 59.0
[node name="platform2" parent="Node3D" instance=ExtResource("4_24axi")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1042, 2.19091, -22.0269)
[node name="enemy" parent="Node3D" node_paths=PackedStringArray("platform") instance=ExtResource("5_14i33")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.9075, 6, -21)
defaultPos = Vector3(-3.908, 6, -21)
platform = NodePath("../platform2")
[node name="enemy2" parent="Node3D" node_paths=PackedStringArray("platform") instance=ExtResource("5_14i33")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.1041, 6, -39.0073)
defaultPos = Vector3(-15.104, 6, -39.007)
platform = NodePath("../largeGrass2")
[node name="enemy4" parent="Node3D" node_paths=PackedStringArray("platform") instance=ExtResource("5_14i33")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.755, 6, -40.1821)
defaultPos = Vector3(-11.755, 6, -40.182)
platform = NodePath("../largeGrass2")
[node name="enemy3" parent="Node3D" node_paths=PackedStringArray("platform") instance=ExtResource("5_14i33")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0924997, 6, -21.1831)
defaultPos = Vector3(0.092, 6, -21.183)
platform = NodePath("../platform2")
[node name="goal" parent="Node3D" instance=ExtResource("8_cdrtg")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.4204, 3.04663, -44.8924)
[node name="largeGrass" parent="Node3D" instance=ExtResource("4_hwvig")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.492808, 0)
[node name="spikeyPlatform" parent="Node3D" instance=ExtResource("6_fxmp4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.88045, 0.72086, -7.47739)
[node name="spikeyPlatform2" parent="Node3D" instance=ExtResource("6_fxmp4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.231686, 1.78349, -12.3448)
[node name="Background" parent="Node3D" instance=ExtResource("7_aq6ue")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.52856, 0)
[node name="largeGrass2" parent="Node3D" instance=ExtResource("4_hwvig")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.4527, 2.31025, -39.501)
[node name="smallGrass" parent="Node3D" instance=ExtResource("10_48h68")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.96532, 2.46427, -33.2921)
[node name="stopwatch" type="Node" parent="."]
script = ExtResource("8_x7tyn")
[node name="level3FinishedUI" type="Control" parent="."]
visible = false
layout_mode = 3
anchors_preset = 0
offset_right = 554.0
offset_bottom = 444.0
pivot_offset = Vector2(-812, 333)
size_flags_horizontal = 4
script = ExtResource("9_4nkfb")
[node name="finishBox" type="Panel" parent="level3FinishedUI"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 504.0
offset_top = 130.0
offset_right = 965.0
offset_bottom = 500.0
grow_horizontal = 2
grow_vertical = 2
[node name="MarginContainer" type="MarginContainer" parent="level3FinishedUI/finishBox"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -124.0
offset_top = -64.5
offset_right = 124.0
offset_bottom = 64.5
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="level3FinishedUI/finishBox/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
[node name="levelLabel" type="Label" parent="level3FinishedUI/finishBox/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Level 3 Finished!"
horizontal_alignment = 1
[node name="timeLabel" type="Label" parent="level3FinishedUI/finishBox/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Time: <time>"
horizontal_alignment = 1
[node name="startOver" type="Button" parent="level3FinishedUI/finishBox/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Start Over"
[node name="nextLevel" type="Button" parent="level3FinishedUI/finishBox/MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Level 1"
[connection signal="pressed" from="level3FinishedUI/finishBox/MarginContainer/VBoxContainer/startOver" to="level3FinishedUI" method="_on_start_pressed"]
[connection signal="pressed" from="level3FinishedUI/finishBox/MarginContainer/VBoxContainer/startOver" to="level3FinishedUI" method="_on_start_over_pressed"]
[connection signal="pressed" from="level3FinishedUI/finishBox/MarginContainer/VBoxContainer/nextLevel" to="level3FinishedUI" method="_on_next_level_pressed"]
[connection signal="pressed" from="level3FinishedUI/finishBox/MarginContainer/VBoxContainer/nextLevel" to="level3FinishedUI" method="_on_exit_pressed"]