-
Notifications
You must be signed in to change notification settings - Fork 3
Execution
Daniel Báez edited this page Oct 15, 2024
·
3 revisions
All your files inside the project are merged on execution. This provide some advantages like import all automatically. But you have to be aware that the order of the files determines how high they will be within the execution.
-
kaplay.js
- The KAPLAY configuration and initialization -
assets.js
- Assets loaded -
scenes/
- Scenes are executed from top to bottom -
main.js
- The main file where all is avaible, you can use now your initialgo
, use the assets, etc
You can modify the order of files inside folders (i.e: Scenes). To modify the order of files, there's up & down arrows on every file inside a folder: