la caméra est limité à la taille de la carte

et comme ça on arrête de voir des trucs vides autour de la boulangerie
This commit is contained in:
Thomas
2025-04-14 11:15:58 +02:00
parent be317576d5
commit bf2ed6312d
3 changed files with 20 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
[gd_scene load_steps=8 format=3 uid="uid://44wla7mlivqm"]
[gd_scene load_steps=9 format=3 uid="uid://44wla7mlivqm"]
[ext_resource type="Script" path="res://UI/menu.gd" id="1_30mo7"]
[ext_resource type="FontFile" uid="uid://c1lnxul6k2adw" path="res://assest/font/vhs-gothic.ttf" id="2_6inip"]
[ext_resource type="Theme" uid="uid://bn1flbuijm27d" path="res://UI/menu_button.tres" id="3_feq31"]
[ext_resource type="AudioStream" uid="uid://dcp8rqog22cbk" path="res://assest/music/chaussette.ogg" id="4_0n4j1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_46msp"]
bg_color = Color(0.615845, 0.268767, 0.406544, 1)
[sub_resource type="LabelSettings" id="LabelSettings_q3w7i"]
line_spacing = 45.0
font = ExtResource("2_6inip")
@@ -36,11 +39,13 @@ grow_vertical = 2
[node name="Panel" type="Panel" parent="MarginContainer"]
layout_mode = 2
size_flags_stretch_ratio = 1.37
theme_override_styles/panel = SubResource("StyleBoxFlat_46msp")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel"]
layout_mode = 2
offset_right = 1920.0
offset_bottom = 1080.0
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
@@ -52,9 +57,6 @@ label_settings = SubResource("LabelSettings_q3w7i")
horizontal_alignment = 1
vertical_alignment = 1
[node name="HSeparator" type="HSeparator" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
[node name="Start" type="Button" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
theme = ExtResource("3_feq31")
@@ -93,6 +95,7 @@ offset_left = 100.0
offset_top = 681.0
offset_right = 1841.0
offset_bottom = 1011.0
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer2"]
layout_mode = 2