You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thomas Cashman edited this page Jul 9, 2016
·
1 revision
To improve performance GameScriptingEngine provides a mechanism for compiling your scripts into bytecode for the JVM to interpret. This is a blocking operation so if called on the game thread it will block execution - to avoid slowing down the frame rate try to only call this once per frame or on a separate thread.
Compiling a script returns an identifier for that script for later invocation.