LoadScene /Scene and entities

void LoadScene(string fileName, string onSceneCreated, string onSceneUpdate, vector2 bucketSize)

Send a scene load request and assigns an onSceneCreated, an onSceneUpdate callback function and a custom bucketSize.

Read more about scene callback functions

More about buckets

LoadScene("bowser_castle.esc", "NewGame", "UpdateScene", vector2(320, 128));