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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -11,6 +11,7 @@ These templates are setup to work with Dreamlab correctly out of the box, so you
## Entrypoints
All scripts must implement three entrypoints for client code, server code, and level data. These are `client.ts`, `server.ts`, and `level.ts` respectively.
Note that level.ts is automatically generated by the level editor and cannot be edited by hand.
Client and Server entrypoints must export a single function named `init()` that has a single argument, a reference to the current Dreamlab game context.
Although not strictly required, we recommend defining another shared entrypoint that is called by both client and server `init()` functions that calls