This commit is contained in:
2023-06-21 09:56:52 +10:00
committed by GitHub
parent 74606d3509
commit 2aa46faa81
2 changed files with 3 additions and 1 deletions

View File

@@ -92,6 +92,8 @@ A series of libraries are provided to allow Toy to interface and control the eng
During startup, the script named `init.toy` in the root of the scripts directory is executed. This file can be used to configure input mappings, as well as initializing the window and node tree. During startup, the script named `init.toy` in the root of the scripts directory is executed. This file can be used to configure input mappings, as well as initializing the window and node tree.
TODO: Complete the rest of this page
# Engine API # Engine API
The engine API is for controlling the core of the engine directly. The engine API is for controlling the core of the engine directly.

View File

@@ -16,7 +16,7 @@ This is used to load an external script into an opaque variable.
This function does a lot of work: This function does a lot of work:
* It validates the file path using the drive syntax (see above) * It validates the file path using the drive syntax
* It reads in the source code of the script file * It reads in the source code of the script file
* It compiles the source script into bytecode * It compiles the source script into bytecode
* It constructs and intializes an Interpreter * It constructs and intializes an Interpreter