File Structure

dist

All files that are needed when the engine is running are in the "dist" folder. This is the folder that should eventually be packaged for distribution.

assets

Contains game assets.

config

Contains configuration files. This folder is not included in lua's package path, and files in it must be referenced via cfg/myfile.lua.

cfg.lua

This file is run before any other lua file, and before the engine is fully initialized. Functions that are explicitly designed to work in this file are marked as such, while other functions might not work or might even crash the engine.

game

Contains game-related scripts.

init.lua

Run when the engine is ready for the game to start.

lib

Contains generic libraries.

tests

Contains tests built for Wake's testing framework.

init.lua

Run when the engine is ready to start tests.

tools

Contains scripts to run engine tools, such as wmdl.