mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Tweaks
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user