Skip to content

Maticzpl/Canvas-Engine

Repository files navigation

Canvas Engine (temporary name)

Made by Maticzpl

Getting Started and Building

  1. Add this repo as a submodule to your own repo.
  2. Open the terminal and change the current directory to inside the submodule.
  3. Install all the packages with npm install.
  4. Run npm run build build the project.
  5. The built project will be in dist folder outside the submodule

Coding

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

Configs

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.

Note: This engine is under development

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

About

Simple typescript game engine for using with canvas

Resources

License

Stars

Watchers

Forks