Enhancement: load game scene once to allow run scene directly (#406)

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian MurgiaandStraToN authored and GitHub committed 2021-10-01 07:53:44 +02:00
1 parent df78b52b8a
commit ae34094196
12 files changed
+109 -60

No files matched your search

+21 -1
View File
@@ -82,6 +82,14 @@ var game
The game scene instance
### compiled\_script
```gdscript
var compiled_script: ESCScript
```
Compiled ESCScript
## Method Descriptions
### set\_camera\_limits
@@ -106,4 +114,16 @@ Set the editor debug mode
#### Parameters
- p_editor_debug_mode: The debug mode to set for the room
- p_editor_debug_mode: The debug mode to set for the room
### run\_script\_event
```gdscript
func run_script_event(event_name: String)
```
Runs the script event from the script attached, if any
 #### Parameters
- event_name: the name of the event to run
+8
View File
@@ -202,6 +202,14 @@ var controller: ESCController
The controller in charge of converting an action verb on a game object
into an actual action
### game\_scene
```gdscript
var game_scene: ESCGame
```
 The game scene loaded
## Method Descriptions
### new\_game