summaryrefslogtreecommitdiffstats
path: root/demo/Main.tscn
blob: a0814e505042c38db58c18cd0fb766561677ef07 (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
[gd_scene load_steps=10 format=3 uid="uid://dgsk1t6e4qqle"]

[ext_resource type="Script" path="res://demo/Camera.gd" id="1"]
[ext_resource type="FontFile" uid="uid://dvfypd4r23idc" path="res://demo/assets/Anke.otf" id="2"]
[ext_resource type="Texture2D" uid="uid://dkf0ahw2k36lf" path="res://demo/assets/target.png" id="3"]
[ext_resource type="Script" path="res://demo/Map.gd" id="4"]
[ext_resource type="Script" path="res://demo/Los.gd" id="5"]
[ext_resource type="Texture2D" uid="uid://bs86mgcu1rf0c" path="res://demo/assets/tank.png" id="6"]
[ext_resource type="Script" path="res://demo/Main.gd" id="7"]

[sub_resource type="FontFile" id="1"]
fallbacks = Array[Font]([ExtResource("2")])
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

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

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

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

[node name="HBOX" type="HBoxContainer" parent="CanvasLayer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2

[node name="ViewportContainer" type="SubViewportContainer" parent="CanvasLayer/HBOX"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
stretch = true

[node name="Viewport" type="SubViewport" parent="CanvasLayer/HBOX/ViewportContainer"]
handle_input_locally = false
size = Vector2i(1824, 1024)
render_target_update_mode = 4

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

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

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

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

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

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

[node name="UI" type="VBoxContainer" parent="CanvasLayer/HBOX"]
layout_mode = 2
theme = SubResource("2")

[node name="rotate" type="Button" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
size_flags_horizontal = 3
text = "Rotate"

[node name="zin" type="Button" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
size_flags_horizontal = 3
text = "Z IN"

[node name="zout" type="Button" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
size_flags_horizontal = 3
text = "Z OUT"

[node name="LOS" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
text = "LOS"

[node name="Move" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
text = "Move"

[node name="Influence" type="CheckBox" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2
text = "Influence"

[node name="Info" type="Label" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2

[node name="OSInfo" type="Label" parent="CanvasLayer/HBOX/UI"]
layout_mode = 2