Some code organization

This commit is contained in:
2025-12-26 16:12:46 +03:00
parent 099cda6368
commit e2f9f75c4f
55 changed files with 56 additions and 47 deletions
@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://befadmr5b8mij"]
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_6yx0l"]
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_ihw22"]
[sub_resource type="AtlasTexture" id="AtlasTexture_dencp"]
atlas = ExtResource("2_ihw22")
region = Rect2(80, 64, 80, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_3eblp"]
atlas = ExtResource("2_ihw22")
region = Rect2(240, 64, 80, 48)
[node name="PassageIndicatorMinus26Grad" instance=ExtResource("1_6yx0l")]
[node name="ActiveSprite" parent="." index="0"]
position = Vector2(32, -16)
texture = SubResource("AtlasTexture_dencp")
[node name="InactiveSprite" parent="." index="1"]
position = Vector2(32, -16)
texture = SubResource("AtlasTexture_3eblp")
@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://6wh5paopwa6m"]
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_ejr0u"]
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_o52wh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_auxhg"]
atlas = ExtResource("2_o52wh")
region = Rect2(80, 112, 80, 80)
[sub_resource type="AtlasTexture" id="AtlasTexture_8xe3k"]
atlas = ExtResource("2_o52wh")
region = Rect2(240, 112, 80, 80)
[node name="PassageIndicatorMinus45Grad" instance=ExtResource("1_ejr0u")]
[node name="ActiveSprite" parent="." index="0"]
position = Vector2(32, -32)
texture = SubResource("AtlasTexture_auxhg")
[node name="InactiveSprite" parent="." index="1"]
position = Vector2(32, -32)
texture = SubResource("AtlasTexture_8xe3k")
@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://chtid8advqc7c"]
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_ke7h2"]
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_ugcaf"]
[sub_resource type="AtlasTexture" id="AtlasTexture_o7a4k"]
atlas = ExtResource("2_ugcaf")
region = Rect2(0, 64, 80, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_ghd4p"]
atlas = ExtResource("2_ugcaf")
region = Rect2(160, 64, 80, 48)
[node name="PassageIndicator26Grad" instance=ExtResource("1_ke7h2")]
[node name="ActiveSprite" parent="." index="0"]
position = Vector2(32, 16)
texture = SubResource("AtlasTexture_o7a4k")
[node name="InactiveSprite" parent="." index="1"]
position = Vector2(32, 16)
texture = SubResource("AtlasTexture_ghd4p")
@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://dv68sytyj5bd3"]
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_nk4h4"]
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_qtofm"]
[sub_resource type="AtlasTexture" id="AtlasTexture_1wcf5"]
atlas = ExtResource("2_qtofm")
region = Rect2(0, 112, 80, 80)
[sub_resource type="AtlasTexture" id="AtlasTexture_lqbnh"]
atlas = ExtResource("2_qtofm")
region = Rect2(160, 112, 80, 80)
[node name="PassageIndicator45Grad" instance=ExtResource("1_nk4h4")]
[node name="ActiveSprite" parent="." index="0"]
position = Vector2(32, 32)
texture = SubResource("AtlasTexture_1wcf5")
[node name="InactiveSprite" parent="." index="1"]
position = Vector2(32, 32)
texture = SubResource("AtlasTexture_lqbnh")
@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://d24hqpbq2yqfn"]
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_q65pt"]
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_4t74o"]
[sub_resource type="AtlasTexture" id="AtlasTexture_f73ej"]
atlas = ExtResource("2_4t74o")
region = Rect2(0, 48, 80, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_b8pmf"]
atlas = ExtResource("2_4t74o")
region = Rect2(160, 48, 80, 16)
[node name="PassageIndicator0Grad" instance=ExtResource("1_q65pt")]
[node name="ActiveSprite" parent="." index="0"]
position = Vector2(32, 0)
texture = SubResource("AtlasTexture_f73ej")
[node name="InactiveSprite" parent="." index="1"]
position = Vector2(32, 0)
texture = SubResource("AtlasTexture_b8pmf")