blob: 84a9a7c8b0d524a3d63e9c7a0bc85d7ae89f1c4c (
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
|
[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="UI" type="CanvasLayer" parent="."]
[node name="rotate" type="Button" parent="UI"]
margin_left = 19.0
margin_top = 17.0
margin_right = 101.0
margin_bottom = 56.0
text = "Rotate"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Info" type="Label" parent="UI"]
margin_left = 2.0
margin_top = 501.0
margin_right = 131.0
margin_bottom = 598.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LOS" type="CheckBox" parent="UI"]
margin_left = 30.0
margin_top = 90.0
margin_right = 83.0
margin_bottom = 114.0
pressed = true
text = "LOS"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Move" type="CheckBox" parent="UI"]
margin_left = 30.0
margin_top = 140.0
margin_right = 93.0
margin_bottom = 164.0
text = "Move"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ViewportContainer" type="ViewportContainer" parent="."]
margin_left = 141.0
margin_top = 19.0
margin_right = 1004.0
margin_bottom = 581.0
mouse_filter = 2
stretch = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Viewport" type="Viewport" parent="ViewportContainer"]
size = Vector2( 863, 562 )
handle_input_locally = false
render_target_update_mode = 3
[node name="Map" type="Sprite" parent="ViewportContainer/Viewport"]
script = ExtResource( 2 )
[node name="Hexes" type="Node" parent="ViewportContainer/Viewport/Map"]
[node name="Target" type="Sprite" parent="ViewportContainer/Viewport/Map"]
z_index = 1
texture = ExtResource( 6 )
[node name="Tank" type="Sprite" parent="ViewportContainer/Viewport/Map"]
z_index = 1
texture = ExtResource( 7 )
[node name="Los" type="Node2D" parent="ViewportContainer/Viewport/Map"]
script = ExtResource( 4 )
[node name="Camera" type="Camera2D" parent="ViewportContainer/Viewport"]
current = true
script = ExtResource( 1 )
|