- Add this repo as a submodule to your own repo.
- Open the terminal and change the current directory to inside the submodule.
- Install all the packages with
npm install
. - Run
npm run build
build the project. - The built project will be in dist folder outside the submodule
Keep the engine as a submodule in your repo. Copy the template folder Canvas-Engine/src/game outside the submodule.
game.ts
is the main script file, don't change its name
The TypeScript config is the tsconfig.json
file.
For more compilation options check the webpack.config.js
file.
The Project config is src/engineConfig.ts
.
This engine in its current state is very bare bones. It's recommended to use it yet. The repo was made public for you to follow its development