asdf-browser-template/README.md

12 lines
817 B
Markdown
Raw Normal View History

2020-04-15 15:28:42 +02:00
# asdf-browser-template
This is a template for creating games in the browser with the [asdf-games](https://gitea.arnweb.nl/arne/asdf-games) framework. It works with gulp (and plugins), browserify, tsify, babelify and eslint. These packages allow you to create browser games with asdf in typescript without having to worry about browser compatibility (babel).
To get started, clone the repository and run npm:
```bash
git clone https://gitea.arnweb.nl/corner/asdf-browser-template.git && cd asdf-browser-template
npm i
```
2020-04-15 15:49:12 +02:00
You are now ready to rock! Start coding some great games! If you want to transpile your project into valid JS and HTML run `npm run build`. This will create a output.js, output.min.js and an index.html. Open up the index.html in your browser, and there is your game, ready to be distributed.