Add show_menu and hide_menu ESC commands
Fixes godot-escoria/escoria-issues#48 Fix: tween was stopped_all before starting Fix: reload locale from settings in ESCGame Since main menu and pause menu are now loaded from ESCGame and not from escoria.gd, this must be done here. Fix: small crash in load game But save and load are broken at the moment... Fix: check save and load after main menu changes Required fixes Fix: manage the game scene better in show and hide_menu Enh: transition back in to the previous room if there was one Fix a bug occurring where change_scene awaits forever for setup to end Reworked change_scene and esc_room implementation to avoid yielding Added a controller variable to allow new event run in events_manager Don't empty the events queue if the running_event was interrupted Fixed transitions and automatic transitions in change_scene Added trace log level (for esc_compiler in particular) Fixed various bugs in ESC scripts Fix a bug where exit_scene happened multiple times where fast walking Needed to clear the event queue Fixes ready event was run because BYPASS_LAST_SCENE wrongly set Inverted parameter "disable_automatic_transitions" for change_scene, hide_menu, show_menu commands Fix broken sched_event Fixes as requested in PR
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
:setup
|
||||
|
||||
|
||||
> [eq ESC_LAST_SCENE room2]
|
||||
teleport player r1_r_exit
|
||||
# Set player look left
|
||||
@@ -6,8 +8,8 @@
|
||||
stop
|
||||
|
||||
|
||||
|
||||
:ready
|
||||
|
||||
set_sound_state _music res://game/sfx/contemplation.ogg true
|
||||
|
||||
> [!room1_visited]
|
||||
|
||||
@@ -26,10 +26,25 @@ editor_debug_mode = 1
|
||||
[node name="advice" type="Label" parent="background"]
|
||||
anchor_right = 0.023274
|
||||
anchor_bottom = 0.018018
|
||||
margin_left = 90.0
|
||||
margin_top = 59.0
|
||||
margin_right = 338.0
|
||||
margin_bottom = 118.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Don't click immediately!
|
||||
Player will walk around the room,
|
||||
but you can interrupt him if you want."
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="advice2" type="Label" parent="background"]
|
||||
anchor_right = 0.023274
|
||||
anchor_bottom = 0.018018
|
||||
margin_left = 90.2752
|
||||
margin_top = 120.824
|
||||
margin_top = 170.824
|
||||
margin_right = 270.275
|
||||
margin_bottom = 155.824
|
||||
margin_bottom = 205.824
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Move : left click
|
||||
Fast move : double left click"
|
||||
|
||||
Reference in New Issue
Block a user