-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGame.tscn
114 lines (92 loc) · 4.86 KB
/
Game.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
[gd_scene load_steps=19 format=3 uid="uid://by2at5u64ytxh"]
[ext_resource type="Script" path="res://Game.gd" id="1_6gu75"]
[ext_resource type="PackedScene" uid="uid://3usgbo78t4tm" path="res://world/World1.tscn" id="2_7kfjg"]
[ext_resource type="PackedScene" uid="uid://bu7nycnekir1f" path="res://hud/HealthHUD.tscn" id="2_7pate"]
[ext_resource type="PackedScene" uid="uid://cgkkbhp6eam8m" path="res://world/World2.tscn" id="2_i7yh8"]
[ext_resource type="PackedScene" uid="uid://d2r8gk2at0gdw" path="res://world/World3.tscn" id="3_eor2y"]
[ext_resource type="PackedScene" uid="uid://d16posr0pgyus" path="res://world/World4.tscn" id="4_8ycno"]
[ext_resource type="PackedScene" uid="uid://y06kauv13cvq" path="res://hud/CiviliansLeft.tscn" id="5_5vxw4"]
[ext_resource type="PackedScene" uid="uid://upooccvpprh4" path="res://hud/SectorInfo/SectorInfo.tscn" id="6_ixfnp"]
[ext_resource type="PackedScene" uid="uid://dsmalws6v4e8y" path="res://ui/game-over/GameOver.tscn" id="8_rpob0"]
[ext_resource type="PackedScene" uid="uid://d0rrwdxtxpel4" path="res://ui/level-end/LevelEnd.tscn" id="9_chrlk"]
[ext_resource type="PackedScene" uid="uid://dsln0u30vj1sa" path="res://ui/pause_menu.tscn" id="9_dsyis"]
[ext_resource type="PackedScene" uid="uid://c3fohyb6c3xtv" path="res://hud/FleetAttackIndicator/FleetAttackIndicator.tscn" id="10_t1x28"]
[ext_resource type="PackedScene" uid="uid://cg2fbsneh5pmk" path="res://hud/ResourcesHUD.tscn" id="10_xm5jn"]
[ext_resource type="Script" path="res://test/FPS.gd" id="11_ni3o8"]
[ext_resource type="PackedScene" uid="uid://c3j1rnw6mno83" path="res://ui/level-change/LevelChange.tscn" id="11_x5wsm"]
[ext_resource type="PackedScene" uid="uid://c0stsb46ep6ul" path="res://hud/FleetProgression/FleetProgression.tscn" id="12_v6rqd"]
[ext_resource type="PackedScene" uid="uid://xho5akt8v5eo" path="res://ship-upgrades/ShipUpgradeHandler.tscn" id="15_h3hr7"]
[ext_resource type="PackedScene" uid="uid://bkvoa2jj6g6ks" path="res://hud/HurtIndicator.tscn" id="16_6torn"]
[node name="Game" type="Node2D"]
script = ExtResource("1_6gu75")
worlds = Array[PackedScene]([ExtResource("2_7kfjg"), ExtResource("2_i7yh8"), ExtResource("3_eor2y"), ExtResource("4_8ycno")])
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="HUD" type="MarginContainer" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
[node name="TopLeft" type="VBoxContainer" parent="CanvasLayer/HUD"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="CiviliansLeft" parent="CanvasLayer/HUD/TopLeft" instance=ExtResource("5_5vxw4")]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="ResourcesHUD" parent="CanvasLayer/HUD/TopLeft" instance=ExtResource("10_xm5jn")]
layout_mode = 2
size_flags_horizontal = 0
[node name="BottomLeft" type="VBoxContainer" parent="CanvasLayer/HUD"]
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 8
[node name="MothershipHealth" parent="CanvasLayer/HUD/BottomLeft" instance=ExtResource("2_7pate")]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
size_flags_vertical = 8
player_or_mothership = 1
[node name="PlayerHealth" parent="CanvasLayer/HUD/BottomLeft" instance=ExtResource("2_7pate")]
layout_mode = 2
size_flags_vertical = 8
[node name="TopMiddle" type="VBoxContainer" parent="CanvasLayer/HUD"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
[node name="SectorInfo" parent="CanvasLayer/HUD/TopMiddle" instance=ExtResource("6_ixfnp")]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="TopRight" type="VBoxContainer" parent="CanvasLayer/HUD"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
[node name="FleetProgression" parent="CanvasLayer/HUD/TopRight" instance=ExtResource("12_v6rqd")]
layout_mode = 2
[node name="FleetAttackIndicator" parent="CanvasLayer/HUD/TopRight" instance=ExtResource("10_t1x28")]
layout_mode = 2
[node name="ShipUpgradeHandler" parent="CanvasLayer" instance=ExtResource("15_h3hr7")]
[node name="GameOver" parent="CanvasLayer" instance=ExtResource("8_rpob0")]
visible = false
[node name="LevelEnd" parent="CanvasLayer" instance=ExtResource("9_chrlk")]
visible = false
[node name="PauseMenu" parent="CanvasLayer" instance=ExtResource("9_dsyis")]
visible = false
[node name="LevelChange" parent="CanvasLayer" instance=ExtResource("11_x5wsm")]
process_mode = 3
visible = false
[node name="FPSCounter" type="Label" parent="CanvasLayer"]
process_mode = 3
offset_right = 40.0
offset_bottom = 13.0
theme_override_font_sizes/font_size = 4
text = "FPS 120"
script = ExtResource("11_ni3o8")
[node name="HurtIndicator" parent="CanvasLayer" instance=ExtResource("16_6torn")]
visible = false