Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Vastgame

Build Status devDependencies Status

Vastgame is a 2D game engine written in Typescript for the HTML Canvas. I'm using it to build Stackmo, a puzzle game for the browser. You can play it here (warning: WIP!). The plan is to have a reusable game engine that I can use for future game projects after this one.

StackMo thumbnail

Setup

  1. Install dependencies:
npm install
  1. Build:
npm run build
  1. Run tests:
npm test

Developing

Build (development, includes source maps) and watch for Typescript changes:

npm run watch

Building Android package

Build (production) plus minification and a copy to the Android app's "assets" folder:

npm run build  //webpack production build (game.js)
gulp minify  //minify (game.js -> game.min.js)
gulp pack  //export required assets (.\\build)
gulp copy-android //copy to specific directory for Android WebView project

About

2D puzzle game for the browser

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.