2019-03-21 09:52:25 +01:00
|
|
|
# iwmlib
|
|
|
|
|
2019-03-22 13:48:42 +01:00
|
|
|
## Install
|
|
|
|
|
|
|
|
Install the following dependencies globally
|
|
|
|
|
|
|
|
`npm i rollup gulp-cli -g`
|
|
|
|
|
|
|
|
and some dependencies locally
|
|
|
|
|
|
|
|
`npm i`
|
|
|
|
|
2019-03-22 12:54:57 +01:00
|
|
|
## Build
|
|
|
|
|
2019-03-29 15:06:07 +01:00
|
|
|
To build the iwmlib files type
|
2019-03-22 13:48:42 +01:00
|
|
|
|
|
|
|
`npm run build`
|
|
|
|
|
2019-03-29 15:06:07 +01:00
|
|
|
The files
|
|
|
|
|
|
|
|
- imwlib.js
|
|
|
|
- iwmlib.pixi.js
|
|
|
|
|
|
|
|
will be generated in the dist folder. If you want to build the files continuously type
|
2019-03-22 13:48:42 +01:00
|
|
|
|
|
|
|
`npm run watch`
|
|
|
|
|
|
|
|
To build the 3rd party library type
|
|
|
|
|
|
|
|
`npm run 3rdparty`
|
2019-03-29 08:49:53 +01:00
|
|
|
|
|
|
|
## Docs
|
|
|
|
|
|
|
|
To create the documentation in the folder ./doc/out type `npm run jsdoc`
|
|
|
|
|
|
|
|
Afterwards you can view the documentation here:
|
|
|
|
|
|
|
|
- The iwmlib [DocTests](./lib/index.html)
|
|
|
|
- The iwmlib [PixiJS DocTests](./lib/pixi/index.html)
|
|
|
|
|
|
|
|
## Useful PixiJS Resources
|
|
|
|
|
2019-09-11 09:51:14 +02:00
|
|
|
Currently using PixiJS version 5
|
2019-07-03 13:49:59 +02:00
|
|
|
|
2019-03-29 08:49:53 +01:00
|
|
|
- The PixiJS [JavaScript API Docs](http://pixijs.download/dev/docs/index.html)
|
|
|
|
- The PixiJS [Examples](http://pixijs.github.io/examples/#/basics/basic.js)
|
|
|
|
- The PixiJS [GitHub Repository](https://github.com/pixijs/pixi.js)
|
|
|
|
|
|
|
|
## List of 3<sup>rd</sup> party libraries included
|
|
|
|
|
|
|
|
- [PixiJS](http://www.pixijs.com)
|
2019-05-27 15:46:09 +02:00
|
|
|
- [Greensock](https://greensock.com) with TweenMax and TimelineMax
|