diff --git a/Control.tscn b/Control.tscn index 0abc59f..bc1c57c 100644 --- a/Control.tscn +++ b/Control.tscn @@ -1,19 +1,10 @@ [gd_scene load_steps=9 format=2] -[ext_resource path="res://data/DejaVuSansCondensed.ttf" type="DynamicFontData" id=1] [ext_resource path="res://data/мп550-работа-эскиз.png" type="Texture" id=2] [ext_resource path="res://main.gd" type="Script" id=3] [ext_resource path="res://data/УФ.png" type="Texture" id=4] [ext_resource path="res://Контроль.gd" type="Script" id=5] -[sub_resource type="DynamicFont" id=1] -size = 20 -outline_size = 1 -outline_color = Color( 0, 0, 0, 1 ) -use_mipmaps = true -use_filter = true -font_data = ExtResource( 1 ) - [sub_resource type="DynamicFont" id=2] [sub_resource type="Theme" id=3] @@ -24,7 +15,6 @@ default_font = SubResource( 2 ) anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 800, 600 ) -custom_fonts/font = SubResource( 1 ) tab_align = 0 script = ExtResource( 3 ) __meta__ = { @@ -32,6 +22,7 @@ __meta__ = { } [node name="Работа" type="Panel" parent="."] +visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 @@ -64,3 +55,10 @@ size_flags_vertical = 15 texture_normal = ExtResource( 4 ) expand = true stretch_mode = 4 + +[node name="Button" type="Button" parent="Контроль"] +margin_left = 480.0 +margin_top = 440.0 +margin_right = 975.0 +margin_bottom = 620.0 +text = "ЖЫШЦЙБЮ" diff --git a/data/free-drone-icon-58.png b/data/free-drone-icon-58.png new file mode 100644 index 0000000..ea08a43 Binary files /dev/null and b/data/free-drone-icon-58.png differ diff --git a/data/free-drone-icon-58.png.import b/data/free-drone-icon-58.png.import new file mode 100644 index 0000000..2c0d261 --- /dev/null +++ b/data/free-drone-icon-58.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/free-drone-icon-58.png-5b694998d3a27f8f0eac6f506f299266.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/free-drone-icon-58.png" +dest_files=[ "res://.import/free-drone-icon-58.png-5b694998d3a27f8f0eac6f506f299266.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/data/main-font.tres b/data/main-font.tres new file mode 100644 index 0000000..b68e8df --- /dev/null +++ b/data/main-font.tres @@ -0,0 +1,11 @@ +[gd_resource type="DynamicFont" load_steps=2 format=2] + +[ext_resource path="res://data/DejaVuSansCondensed.ttf" type="DynamicFontData" id=1] + +[resource] +size = 20 +outline_size = 1 +outline_color = Color( 0, 0, 0, 1 ) +use_mipmaps = true +use_filter = true +font_data = ExtResource( 1 ) diff --git a/data/мп550-работа-эскиз.png b/data/мп550-работа-эскиз.png index 157b745..b63eb85 100644 Binary files a/data/мп550-работа-эскиз.png and b/data/мп550-работа-эскиз.png differ diff --git a/project.godot b/project.godot index 89b9a25..f1112d0 100644 --- a/project.godot +++ b/project.godot @@ -27,6 +27,7 @@ window/stretch/aspect="keep" [gui] common/drop_mouse_on_gui_input_disabled=true +theme/custom_font="res://data/main-font.tres" [physics]