Fix scaling

This commit is contained in:
Isaac Shoebottom 2024-06-27 22:54:09 -03:00
parent 4ebc18d56a
commit 151745c214
2 changed files with 29 additions and 15 deletions

View File

@ -22,6 +22,13 @@ config/icon="res://icons/icon.svg"
Global="*res://scripts/Global.gd" Global="*res://scripts/Global.gd"
[display]
window/size/viewport_width=576
window/size/viewport_height=324
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
[dotnet] [dotnet]
project/assembly_name="Omnichord Godot" project/assembly_name="Omnichord Godot"

View File

@ -13,25 +13,29 @@
[node name="Control" type="Control"] [node name="Control" type="Control"]
layout_mode = 3 layout_mode = 3
anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
size_flags_horizontal = 4 size_flags_horizontal = 0
size_flags_vertical = 4
[node name="ChordPlayer" type="AudioStreamPlayer" parent="."] [node name="ChordPlayer" type="AudioStreamPlayer" parent="."]
[node name="RhythmPlayer" type="AudioStreamPlayer" parent="."] [node name="RhythmPlayer" type="AudioStreamPlayer" parent="."]
[node name="App" type="VBoxContainer" parent="."] [node name="App" type="VBoxContainer" parent="."]
layout_mode = 0 layout_mode = 1
offset_left = 52.0 anchors_preset = 8
offset_top = 97.0 anchor_left = 0.5
offset_right = 577.0 anchor_top = 0.5
offset_bottom = 327.0 anchor_right = 0.5
scale = Vector2(2, 2) anchor_bottom = 0.5
offset_left = -262.5
offset_top = -115.0
offset_right = 262.5
offset_bottom = 115.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_wynm3") script = ExtResource("1_wynm3")
[node name="Sliders" type="GridContainer" parent="App"] [node name="Sliders" type="GridContainer" parent="App"]
@ -50,9 +54,10 @@ text = "Chord Volume"
[node name="ChordVolume" type="HSlider" parent="App/Sliders/ChordVolumeBox"] [node name="ChordVolume" type="HSlider" parent="App/Sliders/ChordVolumeBox"]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
min_value = -5.0 min_value = -50.0
max_value = 5.0 max_value = 0.0
step = 0.1 step = 0.1
value = -8.0
script = ExtResource("1_fjurg") script = ExtResource("1_fjurg")
[node name="NoteVolumeBox" type="VBoxContainer" parent="App/Sliders"] [node name="NoteVolumeBox" type="VBoxContainer" parent="App/Sliders"]
@ -65,9 +70,10 @@ text = "Note Volume"
[node name="NoteVolume" type="HSlider" parent="App/Sliders/NoteVolumeBox"] [node name="NoteVolume" type="HSlider" parent="App/Sliders/NoteVolumeBox"]
layout_mode = 2 layout_mode = 2
min_value = -5.0 min_value = -50.0
max_value = 5.0 max_value = 0.0
step = 0.1 step = 0.1
value = -8.0
script = ExtResource("2_3uvfe") script = ExtResource("2_3uvfe")
[node name="RhythmVolumeBox" type="VBoxContainer" parent="App/Sliders"] [node name="RhythmVolumeBox" type="VBoxContainer" parent="App/Sliders"]
@ -80,9 +86,10 @@ text = "Rythm Volume"
[node name="RhythmVolume" type="HSlider" parent="App/Sliders/RhythmVolumeBox"] [node name="RhythmVolume" type="HSlider" parent="App/Sliders/RhythmVolumeBox"]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
min_value = -5.0 min_value = -50.0
max_value = 5.0 max_value = 0.0
step = 0.1 step = 0.1
value = -8.0
script = ExtResource("3_m8wj7") script = ExtResource("3_m8wj7")
[node name="RhythmTempoBox" type="VBoxContainer" parent="App/Sliders"] [node name="RhythmTempoBox" type="VBoxContainer" parent="App/Sliders"]