diff --git a/project.godot b/project.godot index 87c3344..6688951 100644 --- a/project.godot +++ b/project.godot @@ -23,6 +23,7 @@ window/size/viewport_width=1600 window/size/viewport_height=900 window/size/mode=2 window/size/resizable=false +window/stretch/mode="viewport" window/stretch/aspect="expand" [input] diff --git a/scenes/menu/Options.gd b/scenes/menu/Options.gd index 0990d9d..b58594b 100644 --- a/scenes/menu/Options.gd +++ b/scenes/menu/Options.gd @@ -16,7 +16,7 @@ func _change_volume(bus, value): AudioServer.set_bus_volume_db(AudioServer.get_bus_index(bus),value) # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): +func _process(_delta): pass #Slider diff --git a/scenes/menu/Options.tscn b/scenes/menu/Options.tscn index 0206bbe..c7dbe41 100644 --- a/scenes/menu/Options.tscn +++ b/scenes/menu/Options.tscn @@ -2,11 +2,11 @@ [ext_resource type="Script" path="res://scenes/menu/Options.gd" id="1_tx7kc"] [ext_resource type="AudioStream" uid="uid://c5fgxh51yhon8" path="res://ressources/sounds/menu/Microsoft Windows 98 Startup Sound .mp3" id="2_5ip4v"] -[ext_resource type="Texture2D" uid="uid://bbya0vp0ejqa3" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Slider_Handle.png" id="2_p7hne"] +[ext_resource type="Texture2D" uid="uid://u2x6uq3f3m6o" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Slider_Handle.png" id="2_p7hne"] [ext_resource type="FontFile" uid="uid://dwgslonlru0ck" path="res://ressources/Battlenet.ttf" id="3_4rmnw"] -[ext_resource type="Texture2D" uid="uid://jllu46doutf8" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Toggle_Inactive.png" id="4_eh3gv"] -[ext_resource type="Texture2D" uid="uid://4te31qkwkrkc" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Toggle_Selected.png" id="5_3ikpl"] -[ext_resource type="AudioStream" uid="uid://msnondptwiya" path="res://ressources/sounds/menu/miaou.mp3" id="7_r1icc"] +[ext_resource type="Texture2D" uid="uid://bbknd7dtrhq4t" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Toggle_Inactive.png" id="4_eh3gv"] +[ext_resource type="Texture2D" uid="uid://bbqweh5x7ufg2" path="res://models/RetroWindowsGUI/RetroWindowsGUI/Windows_Toggle_Selected.png" id="5_3ikpl"] +[ext_resource type="AudioStream" uid="uid://b6r8lvskuu228" path="res://ressources/sounds/menu/miaou.mp3" id="7_r1icc"] [sub_resource type="StyleBoxLine" id="StyleBoxLine_l4bn6"] content_margin_left = 0.0 @@ -91,7 +91,7 @@ offset_right = 524.0 offset_bottom = 76.0 theme_override_fonts/font = ExtResource("3_4rmnw") theme_override_font_sizes/font_size = 20 -text = "Test" +text = "Tester" [node name="Music" type="Node2D" parent="VBoxContainer"] position = Vector2(251, 173) @@ -145,7 +145,7 @@ offset_right = 510.0 offset_bottom = 78.0 theme_override_fonts/font = ExtResource("3_4rmnw") theme_override_font_sizes/font_size = 20 -text = "Test" +text = "Tester" [node name="Master2" type="Node2D" parent="VBoxContainer"] position = Vector2(237, 114) @@ -195,7 +195,7 @@ offset_right = 525.0 offset_bottom = 78.0 theme_override_fonts/font = ExtResource("3_4rmnw") theme_override_font_sizes/font_size = 20 -text = "Test" +text = "Tester" [node name="Node2D" type="Node2D" parent="VBoxContainer"] position = Vector2(237, 334) diff --git a/scenes/menu/go_in.gd b/scenes/menu/go_in.gd index 1587ebe..2f48c49 100644 --- a/scenes/menu/go_in.gd +++ b/scenes/menu/go_in.gd @@ -9,7 +9,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): +func _process(_delta): pass diff --git a/scenes/menu/leaving_scene.gd b/scenes/menu/leaving_scene.gd index 4bf6b9d..9e4af87 100644 --- a/scenes/menu/leaving_scene.gd +++ b/scenes/menu/leaving_scene.gd @@ -9,7 +9,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): +func _process(_delta): pass diff --git a/scenes/menu/menu.gd b/scenes/menu/menu.gd index 1ff6057..8923c95 100644 --- a/scenes/menu/menu.gd +++ b/scenes/menu/menu.gd @@ -9,7 +9,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): +func _process(_delta): pass diff --git a/scenes/menu/rules.gd b/scenes/menu/rules.gd index 74794b7..41c1eca 100644 --- a/scenes/menu/rules.gd +++ b/scenes/menu/rules.gd @@ -10,7 +10,7 @@ func _ready(): # Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): +func _process(_delta): pass