12 lines
817 B
Markdown
12 lines
817 B
Markdown
# 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
|
|
```
|
|
|
|
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.
|