summaryrefslogtreecommitdiffstats
path: root/Main.tscn
blob: eecc8bac200e822f8b65939459365dc1561ac7cd (plain)
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
[gd_scene load_steps=10 format=2]

[ext_resource path="res://Camera.gd" type="Script" id=1]
[ext_resource path="res://Map.gd" type="Script" id=2]
[ext_resource path="res://Main.gd" type="Script" id=3]
[ext_resource path="res://Los.gd" type="Script" id=4]
[ext_resource path="res://assets/Anke.otf" type="DynamicFontData" id=5]
[ext_resource path="res://assets/target.png" type="Texture" id=6]
[ext_resource path="res://assets/tank.png" type="Texture" id=7]

[sub_resource type="DynamicFont" id=1]
size = 35
font_data = ExtResource( 5 )

[sub_resource type="Theme" id=2]
default_font = SubResource( 1 )

[node name="Main" type="Node2D"]
script = ExtResource( 3 )

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="HBOX" type="HBoxContainer" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ViewportContainer" type="ViewportContainer" parent="CanvasLayer/HBOX"]
margin_right = 1666.0
margin_bottom = 1080.0
rect_min_size = Vector2( 100, 100 )
mouse_filter = 2
size_flags_horizontal = 3
size_flags_vertical = 3
stretch = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Viewport" type="Viewport" parent="CanvasLayer/HBOX/ViewportContainer"]
size = Vector2( 1666, 1080 )
handle_input_locally = false
render_target_update_mode = 3

[node name="Map" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport"]
script = ExtResource( 2 )

[node name="Hexes" type="Node" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]

[node name="Target" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
z_index = 1
texture = ExtResource( 6 )

[node name="Tank" type="Sprite" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
z_index = 1
texture = ExtResource( 7 )

[node name="Los" type="Node2D" parent="CanvasLayer/HBOX/ViewportContainer/Viewport/Map"]
script = ExtResource( 4 )

[node name="Camera" type="Camera2D" parent="CanvasLayer/HBOX/ViewportContainer/Viewport"]
current = true
script = ExtResource( 1 )

[node name="UI" type="VBoxContainer" parent="CanvasLayer/HBOX"]
margin_left = 1670.0
margin_right = 1920.0
margin_bottom = 1080.0
rect_min_size = Vector2( 250, 0 )
theme = SubResource( 2 )
custom_constants/separation = 30
__meta__ = {
"_edit_use_anchors_": false
}

[node name="rotate" type="Button" parent="CanvasLayer/HBOX/UI"]
margin_right = 250.0
margin_bottom = 100.0
rect_min_size = Vector2( 0, 100 )
size_flags_horizontal = 3
text = "Rotate"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="zin" type="Button" parent="CanvasLayer/HBOX/UI"]
margin_top = 130.0
margin_right = 250.0
margin_bottom = 230.0
rect_min_size = Vector2( 0, 100 )
size_flags_horizontal = 3
text = "Z IN"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="zout" type="Button" parent="CanvasLayer/HBOX/UI"]
margin_top = 260.0
margin_right = 250.0
margin_bottom = 360.0
rect_min_size = Vector2( 0, 100 )
size_flags_horizontal = 3
text = "Z OUT"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="LOS" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
margin_top = 390.0
margin_right = 250.0
margin_bottom = 434.0
pressed = true
text = "LOS"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Move" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
margin_top = 464.0
margin_right = 250.0
margin_bottom = 508.0
text = "Move"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Info" type="Label" parent="CanvasLayer/HBOX/UI"]
margin_top = 538.0
margin_right = 250.0
margin_bottom = 574.0
__meta__ = {
"_edit_use_anchors_": false
}