From a1a0b8c1455bab84236e664f2458ee45167d0803 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Mon, 31 Jul 2023 08:42:44 +0300 Subject: [PATCH] GODOT --- Selector.tscn | 6 +++--- main.tscn | 22 +++++++++++----------- project.godot | 1 + 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Selector.tscn b/Selector.tscn index 5570abb..6a28fee 100644 --- a/Selector.tscn +++ b/Selector.tscn @@ -1,11 +1,11 @@ -[gd_scene load_steps=2 format=2] +[gd_scene load_steps=2 format=3 uid="uid://bapeyu5wapuhv"] -[ext_resource path="res://nine-patch.png" type="Texture2D" id=1] +[ext_resource type="Texture2D" uid="uid://bkjlwivmtq1rp" path="res://nine-patch.png" id="1_kvh2c"] [node name="NinePatchRect" type="NinePatchRect"] offset_right = 42.0 offset_bottom = 33.0 -texture = ExtResource( 1 ) +texture = ExtResource("1_kvh2c") draw_center = false patch_margin_left = 8 patch_margin_top = 8 diff --git a/main.tscn b/main.tscn index 1a37f93..1b4f629 100644 --- a/main.tscn +++ b/main.tscn @@ -1,12 +1,12 @@ [gd_scene load_steps=5 format=3 uid="uid://87gtvqd7bbje"] -[ext_resource type="Script" path="res://main.gd" id="1_kt06w"] -[ext_resource type="Script" path="res://table.gd" id="2_k7rc6"] -[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_pruca"] -[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_3d2wd"] +[ext_resource type="Script" path="res://main.gd" id="1_vj8yd"] +[ext_resource type="Script" path="res://table.gd" id="2_i7w3a"] +[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_3abb4"] +[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_xdq11"] [node name="main" type="Node2D"] -script = ExtResource("1_kt06w") +script = ExtResource("1_vj8yd") [node name="tabs" type="TabContainer" parent="."] offset_right = 1594.0 @@ -22,14 +22,14 @@ anchor_bottom = 1.0 offset_top = 100.0 offset_right = 1.0 offset_bottom = 10.0 -script = ExtResource("2_k7rc6") +script = ExtResource("2_i7w3a") [node name="header_t" type="GridContainer" parent="tabs/threats"] layout_mode = 0 offset_top = 57.0 offset_right = 1584.0 offset_bottom = 96.0 -script = ExtResource("2_k7rc6") +script = ExtResource("2_i7w3a") [node name="btn_add" type="TextureButton" parent="tabs/threats"] layout_mode = 0 @@ -37,8 +37,8 @@ offset_left = 1533.0 offset_top = -2.0 offset_right = 1581.0 offset_bottom = 46.0 -texture_normal = ExtResource("3_pruca") -texture_pressed = ExtResource("4_3d2wd") +texture_normal = ExtResource("3_3abb4") +texture_pressed = ExtResource("4_xdq11") [node name="btn_del" type="TextureButton" parent="tabs/threats"] layout_mode = 0 @@ -56,11 +56,11 @@ layout_mode = 0 offset_top = 100.0 offset_right = 1587.0 offset_bottom = 861.0 -script = ExtResource("2_k7rc6") +script = ExtResource("2_i7w3a") [node name="header_p" type="GridContainer" parent="tabs/pomehi"] layout_mode = 0 offset_top = 57.0 offset_right = 32.0 offset_bottom = 96.0 -script = ExtResource("2_k7rc6") +script = ExtResource("2_i7w3a") diff --git a/project.godot b/project.godot index c6dc35c..6a82718 100644 --- a/project.godot +++ b/project.godot @@ -40,4 +40,5 @@ common/enable_pause_aware_picking=true [rendering] +renderer/rendering_method="gl_compatibility" environment/defaults/default_environment="res://main.tres"