blob: 67ca3ed232b002aadc0a071343d19f24726194ba (
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
|
[gd_scene load_steps=7 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/target.png" type="Texture" id=6]
[ext_resource path="res://assets/tank.png" type="Texture" id=7]
[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="UI" type="VBoxContainer" parent="CanvasLayer/HBOX"]
margin_right = 150.0
margin_bottom = 600.0
rect_min_size = Vector2( 150, 0 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="rotate" type="Button" parent="CanvasLayer/HBOX/UI"]
margin_right = 150.0
margin_bottom = 20.0
text = "Rotate"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LOS" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
margin_top = 24.0
margin_right = 150.0
margin_bottom = 48.0
pressed = true
text = "LOS"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Move" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
margin_top = 52.0
margin_right = 150.0
margin_bottom = 76.0
text = "Move"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Info" type="Label" parent="CanvasLayer/HBOX/UI"]
margin_top = 80.0
margin_right = 150.0
margin_bottom = 94.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ViewportContainer" type="ViewportContainer" parent="CanvasLayer/HBOX"]
margin_left = 154.0
margin_right = 1024.0
margin_bottom = 600.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( 870, 600 )
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 )
|