-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskyhigh.tscn
57 lines (44 loc) · 2.18 KB
/
skyhigh.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
[gd_scene load_steps=8 format=2]
[ext_resource path="res://units/platform/platform.tscn" type="PackedScene" id=1]
[ext_resource path="res://background/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://city.gd" type="Script" id=3]
[ext_resource path="res://skyhigh.gd" type="Script" id=5]
[ext_resource path="res://units/build_platform/build_platform.tscn" type="PackedScene" id=6]
[ext_resource path="res://game_gui/gui.tscn" type="PackedScene" id=7]
[ext_resource path="res://units/section/section.tscn" type="PackedScene" id=8]
[node name="SkyHigh" type="Node"]
script = ExtResource( 5 )
starting_height = 1000
[node name="City" type="KinematicBody2D" parent="."]
position = Vector2( 0, -600 )
script = ExtResource( 3 )
[node name="Camera2D" type="Camera2D" parent="City"]
position = Vector2( 0, 1 )
offset = Vector2( 0, -150 )
current = true
drag_margin_v_enabled = true
offset_v = -1.0
[node name="Platform" parent="City" instance=ExtResource( 1 )]
[node name="Section1" parent="City/Platform" instance=ExtResource( 8 )]
position = Vector2( -24, -32 )
[node name="Section2" parent="City/Platform" instance=ExtResource( 8 )]
position = Vector2( 24, -32 )
[node name="build_platform" parent="City" instance=ExtResource( 6 )]
show_behind_parent = true
position = Vector2( 94, 0 )
offset_x = 1
[node name="build_platform2" parent="City" instance=ExtResource( 6 )]
show_behind_parent = true
position = Vector2( -94, 0 )
offset_x = -1
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="GUI" parent="CanvasLayer" instance=ExtResource( 7 )]
[node name="ParallaxBackground" parent="." instance=ExtResource( 2 )]
[node name="Whale_Timer" type="Timer" parent="."]
wait_time = 3.0
autostart = true
[connection signal="city_move" from="City" to="CanvasLayer/GUI" method="_on_City_city_move"]
[connection signal="hit_ground" from="City" to="." method="_on_City_hit_ground"]
[connection signal="built_platform" from="City/build_platform" to="City" method="_on_build_platform_built_platform"]
[connection signal="built_platform" from="City/build_platform2" to="City" method="_on_build_platform_built_platform"]
[connection signal="timeout" from="Whale_Timer" to="." method="_on_Whale_Spawn"]