refactoring UI
This commit was merged in pull request #26.
This commit is contained in:
@@ -4,20 +4,30 @@
|
||||
[ext_resource type="PackedScene" uid="uid://cescrovsjlwke" path="res://core/game_menu/audio_option.tscn" id="1_hwcco"]
|
||||
[ext_resource type="Texture2D" uid="uid://0t00kjvrw206" path="res://core/game_menu/assets/page_3/music_volume_button.png" id="3_kgdba"]
|
||||
[ext_resource type="Texture2D" uid="uid://dvergpy6qgggn" path="res://core/game_menu/assets/page_3/sfx_volume_button.png" id="4_ugk4n"]
|
||||
[ext_resource type="PackedScene" uid="uid://dxun0jk5t0n6" path="res://core/tween/container_tween.tscn" id="5_p0gqk"]
|
||||
|
||||
[node name="SettingsMenu" type="Control" unique_id=1639777294]
|
||||
custom_minimum_size = Vector2(327, 512)
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 600.0
|
||||
offset_bottom = 420.0
|
||||
anchor_right = 0.1703125
|
||||
anchor_bottom = 0.47407407
|
||||
offset_right = -327.0
|
||||
offset_bottom = -512.0
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
script = ExtResource("1_4lekq")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="AudioOptionsContainer" type="VBoxContainer" parent="." unique_id=743642398]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 0
|
||||
offset_right = 327.0
|
||||
offset_bottom = 512.0
|
||||
custom_minimum_size = Vector2(327, 512)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 12
|
||||
alignment = 1
|
||||
|
||||
[node name="MasterVolume_AudioOption" parent="AudioOptionsContainer" unique_id=1509773712 instance=ExtResource("1_hwcco")]
|
||||
layout_mode = 2
|
||||
@@ -31,3 +41,6 @@ bus_name = &"Music"
|
||||
layout_mode = 2
|
||||
image = ExtResource("4_ugk4n")
|
||||
bus_name = &"SFX"
|
||||
|
||||
[node name="ContainerTween" parent="." unique_id=160227524 node_paths=PackedStringArray("targets") instance=ExtResource("5_p0gqk")]
|
||||
targets = [NodePath("../AudioOptionsContainer/MasterVolume_AudioOption"), NodePath("../AudioOptionsContainer/MusicVolume_AudioOption"), NodePath("../AudioOptionsContainer/SFXVolume_AudioOption")]
|
||||
|
||||
Reference in New Issue
Block a user