141 lines
4.5 KiB
Plaintext
141 lines
4.5 KiB
Plaintext
[gd_scene load_steps=13 format=3 uid="uid://b276iygic5itk"]
|
||
|
||
[ext_resource type="Script" path="res://scenes/работа.gd" id="1_niok4"]
|
||
[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip.tscn" id="2_br3s6"]
|
||
[ext_resource type="PackedScene" uid="uid://dem3fcec25awh" path="res://scenes/grd_side.tscn" id="3_s2j0e"]
|
||
[ext_resource type="PackedScene" uid="uid://cnkbk53mi7viu" path="res://scenes/grd_btns.tscn" id="5_2jnbs"]
|
||
[ext_resource type="PackedScene" uid="uid://dymo732qc2doa" path="res://scenes/count_all_pad.tscn" id="6_e3re7"]
|
||
[ext_resource type="PackedScene" uid="uid://bwti82byphl68" path="res://scenes/count_danger_pad.tscn" id="7_2arls"]
|
||
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="8_k0iv2"]
|
||
[ext_resource type="PackedScene" uid="uid://0uqi1ghf7sma" path="res://scenes/btn_scale.tscn" id="9_oey3x"]
|
||
[ext_resource type="PackedScene" uid="uid://bbq6nklh36yij" path="res://scenes/tilemap.tscn" id="10_gtwyg"]
|
||
[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="11_b6su4"]
|
||
[ext_resource type="Shader" path="res://shaders/tilemap.gdshader" id="11_ekapd"]
|
||
|
||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4p7y1"]
|
||
resource_local_to_scene = true
|
||
shader = ExtResource("11_ekapd")
|
||
shader_parameter/radius = 0.39
|
||
|
||
[node name="Работа" type="Panel"]
|
||
script = ExtResource("1_niok4")
|
||
Bip = ExtResource("2_br3s6")
|
||
col_grey = Color(0.34902, 0.643137, 0.772549, 0.168627)
|
||
col_red = Color(1, 0.568627, 0.431373, 0.239216)
|
||
drag_scale_band = 0.05
|
||
drag_scale_width = 0.5
|
||
freq_high = 6000.0
|
||
freq_low = 200.0
|
||
radius_center = Vector2(560, 560)
|
||
radius_internal = 200.0
|
||
radius_outter = 400.0
|
||
strob_max_band = 15.538
|
||
strob_max_width = 90.0
|
||
strob_min_band = 0.1
|
||
strob_min_width = 5.0
|
||
metadata/_edit_vertical_guides_ = []
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="grd_side" parent="." instance=ExtResource("3_s2j0e")]
|
||
layout_mode = 0
|
||
offset_left = 1114.0
|
||
offset_top = 7.0
|
||
offset_right = 1594.0
|
||
offset_bottom = 1170.0
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")]
|
||
material = SubResource("ShaderMaterial_4p7y1")
|
||
|
||
[node name="grd_btns" parent="." instance=ExtResource("5_2jnbs")]
|
||
layout_mode = 0
|
||
offset_left = 10.0
|
||
offset_top = 1116.0
|
||
offset_right = 1106.0
|
||
offset_bottom = 1170.0
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")]
|
||
layout_mode = 0
|
||
offset_left = 100.0
|
||
offset_top = 117.0
|
||
offset_right = 133.0
|
||
offset_bottom = 140.0
|
||
|
||
[node name="count_danger_pad" parent="." instance=ExtResource("7_2arls")]
|
||
layout_mode = 0
|
||
offset_left = 96.0
|
||
offset_top = 29.0
|
||
offset_right = 188.0
|
||
offset_bottom = 92.0
|
||
|
||
[node name="Label2" type="Label" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 18.0
|
||
offset_right = 146.0
|
||
offset_bottom = 23.0
|
||
text = "Счётчики целей"
|
||
vertical_alignment = 1
|
||
|
||
[node name="Label3" type="Label" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 18.0
|
||
offset_top = 110.0
|
||
offset_right = 74.0
|
||
offset_bottom = 146.0
|
||
text = "Всего:"
|
||
vertical_alignment = 1
|
||
|
||
[node name="Label4" type="Label" parent="."]
|
||
layout_mode = 0
|
||
offset_left = 18.0
|
||
offset_top = 50.0
|
||
offset_right = 83.0
|
||
offset_bottom = 72.0
|
||
text = "Опасных:"
|
||
|
||
[node name="btn_auto_threat" parent="." instance=ExtResource("8_k0iv2")]
|
||
layout_mode = 0
|
||
offset_left = 1034.0
|
||
offset_top = 7.0
|
||
offset_right = 1108.0
|
||
offset_bottom = 61.0
|
||
size_flags_horizontal = 3
|
||
size_flags_vertical = 3
|
||
text = "Автомат"
|
||
|
||
[node name="btn_strob" parent="." instance=ExtResource("8_k0iv2")]
|
||
layout_mode = 2
|
||
offset_left = 1034.0
|
||
offset_top = 67.0
|
||
offset_right = 1108.0
|
||
offset_bottom = 121.0
|
||
size_flags_horizontal = 3
|
||
size_flags_vertical = 3
|
||
tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой"
|
||
text = "Строб"
|
||
|
||
[node name="btn_view" parent="." instance=ExtResource("8_k0iv2")]
|
||
layout_mode = 2
|
||
offset_left = 874.0
|
||
offset_top = 1023.0
|
||
offset_right = 948.0
|
||
offset_bottom = 1056.0
|
||
size_flags_horizontal = 3
|
||
size_flags_vertical = 3
|
||
text = "Вид"
|
||
|
||
[node name="btn_zoom" parent="." instance=ExtResource("9_oey3x")]
|
||
layout_mode = 0
|
||
offset_left = 952.0
|
||
offset_top = 1038.0
|
||
offset_right = 1104.0
|
||
offset_bottom = 1056.0
|
||
metadata/zoom = 2
|
||
|
||
[node name="canvas" parent="." instance=ExtResource("11_b6su4")]
|
||
|
||
[connection signal="drag_begin" from="." to="." method="_on_drag_begin"]
|
||
[connection signal="drag_continue" from="." to="." method="_on_drag_continue"]
|
||
[connection signal="pressed" from="btn_zoom" to="." method="_on_btn_scale_pressed"]
|