Room selector

This commit is contained in:
2023-02-14 00:51:17 +01:00
parent 42da5b9235
commit 646c35385e
4 changed files with 3 additions and 6 deletions

View File

@@ -91,7 +91,4 @@ theme = ExtResource( 9 )
bbcode_text = "[center][color=#000000][/color][/center]"
fit_content_height = true
[node name="mouse_layer" type="CanvasLayer" parent="."]
layer = 2
[connection signal="pressed" from="CanvasLayer/ui/HBoxContainer/VBoxContainer/MenuButton" to="." method="_on_MenuButton_pressed"]

View File

@@ -21,7 +21,7 @@ script = ExtResource( 6 )
__meta__ = {
"_edit_vertical_guides_": [ ]
}
global_id = "room1"
global_id = "home"
esc_script = "res://gymkhana/rooms/home/esc/room01.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 550 ) ]

View File

@@ -8,4 +8,4 @@ play_snd res://game/sfx/Game-Menu_Looping.mp3 _music
:newgame
# 1/ Simple scene
change_scene res://gymkhana/rooms/home/room01.tscn
change_scene res://gymkhana/rooms/home/home.tscn

View File

@@ -876,7 +876,7 @@ debug/crash_message="We're sorry, but the game crashed. Please send us the follo
%s"
debug/enable_room_selector=true
debug/room_selector_room_dir="res://game/rooms"
debug/room_selector_room_dir="res://gymkhana/rooms"
ui/game_scene="res://gymkhana/addons/escoria-ui-return-monkey-island/game.tscn"
ui/inventory_items_path="res://game/items/inventory"
ui/default_transition="instant"