[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