ESCRoom
Extends: Node2D
Description
A room in an Escora based game
Enumerations
EditorRoomDebugDisplay
const EditorRoomDebugDisplay: Dictionary = {"CAMERA_LIMITS":1,"NONE":0}
Debugging displays for a room NONE: No debug display CAMERA_LIMITS: Display the camera limits
Property Descriptions
global_id
export var global_id = ""
The global id of this room
esc_script
export var esc_script = ""
The ESC script of this room
player_scene
export var player_scene = "[Object:null]"
The player inside this scene
camera_limits
export var camera_limits: Array = ["(0, 0, 0, 0)"]
Setter:
set_camera_limits
The camera limits available in this room
editor_debug_mode
export var editor_debug_mode = 0
Setter:
set_editor_debug_mode
The editor debug display mode
player
var player
The player scene instance
player_camera
var player_camera: ESCCamera
The player camera
game
var game
The game scene instance
compiled_script
var compiled_script: ESCScript
Compiled ESCScript
enabled_automatic_transitions
var enabled_automatic_transitions
Whether automatic transition are enabled or not
is_run_directly
var is_run_directly
Whether this room was run directly with Play Scene (F6)
Method Descriptions
set_camera_limits
func set_camera_limits(p_camera_limits: Array) -> void
Set the camera limits
Parameters
p_camera_limits: An array of Rect2Ds as camera limits
set_editor_debug_mode
func set_editor_debug_mode(p_editor_debug_mode: int) -> void
Set the editor debug mode
Parameters
p_editor_debug_mode: The debug mode to set for the room