refactoring UI
This commit was merged in pull request #26.
This commit is contained in:
@@ -1,56 +1,60 @@
|
||||
[gd_scene format=3 uid="uid://bc60gon7fmvbr"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dm3skv22c60tm" path="res://core/game_menu/arrow_button.tscn" id="1_16l2d"]
|
||||
[ext_resource type="Texture2D" uid="uid://dqqnfnero7ckl" path="res://core/game_menu/assets/page_1/chooseyourbiome_text.png" id="1_wyms5"]
|
||||
[ext_resource type="PackedScene" uid="uid://wckwvvnk8bt4" path="res://core/game_menu/biome_picker.tscn" id="2_q1k23"]
|
||||
[ext_resource type="Texture2D" uid="uid://cin3kt42e6w3u" path="res://core/game_menu/assets/page_1/color_sx_biome.png" id="2_xjika"]
|
||||
[ext_resource type="Texture2D" uid="uid://dc0sl04wem136" path="res://core/game_menu/assets/page_1/color_main_biome.png" id="3_0noye"]
|
||||
[ext_resource type="Texture2D" uid="uid://c3qcivnwuisju" path="res://core/game_menu/assets/page_1/color_dx_biome.png" id="4_0noye"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/tween/container_tween.tscn" id="6_hjy5b"]
|
||||
|
||||
[node name="BiomeSelector" type="HBoxContainer" unique_id=291322067]
|
||||
offset_right = 700.0
|
||||
offset_bottom = 400.0
|
||||
[node name="VBoxContainer" type="VBoxContainer" unique_id=1692688717]
|
||||
offset_right = 685.0
|
||||
offset_bottom = 418.0
|
||||
|
||||
[node name="ChooseYourBiomeTexture" type="TextureRect" parent="." unique_id=1769445385]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_wyms5")
|
||||
stretch_mode = 3
|
||||
|
||||
[node name="Spacer" type="Control" parent="." unique_id=1648681786]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="BiomeSelector" type="HBoxContainer" parent="." unique_id=291322067]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="ArrowButtonLeft" parent="." unique_id=1696751730 instance=ExtResource("1_16l2d")]
|
||||
[node name="ArrowButtonLeft" parent="BiomeSelector" unique_id=1696751730 instance=ExtResource("1_16l2d")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
flip_h = true
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=1117886768]
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="BiomeSelector" unique_id=1117886768]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="BiomePicker1" parent="HBoxContainer2" unique_id=477354740 instance=ExtResource("2_q1k23")]
|
||||
[node name="BiomePicker1" parent="BiomeSelector/HBoxContainer2" unique_id=477354740 instance=ExtResource("2_q1k23")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
image = ExtResource("2_xjika")
|
||||
|
||||
[node name="BiomePicker2" parent="HBoxContainer2" unique_id=52821564 instance=ExtResource("2_q1k23")]
|
||||
custom_minimum_size = Vector2(200, 400)
|
||||
[node name="BiomePicker2" parent="BiomeSelector/HBoxContainer2" unique_id=52821564 instance=ExtResource("2_q1k23")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
locked = false
|
||||
image = ExtResource("3_0noye")
|
||||
|
||||
[node name="Texture" parent="HBoxContainer2/BiomePicker2" index="0" unique_id=606844933]
|
||||
texture = ExtResource("3_0noye")
|
||||
|
||||
[node name="TextureRect" parent="HBoxContainer2/BiomePicker2/Texture" index="0" unique_id=288045010]
|
||||
visible = false
|
||||
|
||||
[node name="HooverTween" parent="HBoxContainer2/BiomePicker2" index="1" unique_id=160227524]
|
||||
always_active = true
|
||||
|
||||
[node name="BiomePicker3" parent="HBoxContainer2" unique_id=1567545303 instance=ExtResource("2_q1k23")]
|
||||
[node name="BiomePicker3" parent="BiomeSelector/HBoxContainer2" unique_id=1567545303 instance=ExtResource("2_q1k23")]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
image = ExtResource("4_0noye")
|
||||
|
||||
[node name="ArrowButtonRight" parent="." unique_id=1741162553 instance=ExtResource("1_16l2d")]
|
||||
[node name="ArrowButtonRight" parent="BiomeSelector" unique_id=1741162553 instance=ExtResource("1_16l2d")]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
|
||||
[editable path="HBoxContainer2/BiomePicker2"]
|
||||
[node name="ContainerTween" parent="." unique_id=160227524 node_paths=PackedStringArray("targets") instance=ExtResource("6_hjy5b")]
|
||||
unique_name_in_owner = true
|
||||
targets = [NodePath("../BiomeSelector/ArrowButtonLeft"), NodePath("../BiomeSelector/HBoxContainer2/BiomePicker1"), NodePath("../BiomeSelector/HBoxContainer2/BiomePicker2"), NodePath("../BiomeSelector/HBoxContainer2/BiomePicker3"), NodePath("../BiomeSelector/ArrowButtonRight")]
|
||||
|
||||
Reference in New Issue
Block a user