Files
gymkhana-actions/game/start_game.esc
Julian Murgia c86b802cbb 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
2021-11-11 22:20:58 +01:00

55 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:init
set_sound_state _music res://game/sfx/Game-Menu_Looping.mp3 true
# Showing main menu with automatic transition DISABLED
show_menu main
:newgame
# 1/ Simple scene
change_scene res://game/rooms/room01/room01.tscn
# 2/ Button bridge
#change_scene res://game/rooms/room02/room02.tscn
# 3/ Broken button
#change_scene res://game/rooms/room03/room03.tscn
# 4/ wide room
#change_scene res://game/rooms/room04/room04.tscn
# 5/ items rooms
#change_scene res://game/rooms/room05/room05.tscn
# 6/ character room
#change_scene res://game/rooms/room06/room06.tscn
# 7/ long room with camera shift to object 2 if look on object 1
# and stairs with camera shift too
#change_scene res://game/rooms/room07/room07.tscn
# 8/ puzzle in superposed scene
#change_scene res://game/rooms/room08/room08.tscn
# 9/ Indy4 3 closets
#change_scene res://game/rooms/room09/room09.tscn
# 10/
#change_scene res://game/rooms/room10/room10.tscn
# 11/ Event flags tests
#change_scene res://game/rooms/room11/room11.tscn
# 12/ Event flags tests 2
#change_scene res://game/rooms/room12/room12.tscn
# 13/
#change_scene res://game/rooms/room13/room13.tscn
# 14/
#change_scene res://game/rooms/room14/room14.tscn