The escoria main script
const ESCORIA_CORE_PLUGIN_NAME: String = "escoria-core"
Name of the Escoria core plugin
The main scene
Called by Escoria’s main_scene as very very first event EVER. Usually you’ll want to show some logos animations before spawning the main menu in the escoria/main/game_start_script ‘s :init event
func run_event_from_script(script: ESCScript, event_name: String)
Runs the event “event_name” from the “script” ESC script.
script: ESC script containing the event to run. The script must have been loaded.
event_name: Name of the event to run
Called from escoria autoload to start a new game.
Function called to quit the game.
func is_ready_for_inputs() -> bool
Used by game.gd to determine whether the game scene is ready to take inputs from the _input() function. To do so, the current_scene must be set, the game scene must be set, and the game scene must’ve been notified that the room is ready.
Returns true if game scene is ready for inputs
signal request_pause_menu(): Signal sent when pause menu has to be displayed