Commit graph

10 commits

Author SHA1 Message Date
Christopher Willis-Ford
47b46fb1aa Update Webpack config like scratch-storage
- Move build outputs into `dist/`
- Make build output file names more consistent
- Update `playground/index.html` for new output file name
- Explicitly specify target => Node output is much smaller
- Minor fixes / cleanup in `.gitignore` and `src/index*.js`
2016-12-12 12:06:05 -08:00
Tim Mickel
be6d2dc4e4 Bounding-box optimizations for touching color, touching drawables ()
* Add Rectangle utility and use it in Drawable.getBounds

* Add `getAABB`, `getFastBounds`.

* Add width and height getters to Rectangle

* Add rectangle clamp

* Optimized isTouchingColor

* Optimized isTouchingDrawables

* Rectangle.ceil -> Rectangle.snapToInt

* Refactor to common _touchingQueryCandidates

* Split helper into two
2016-10-24 13:19:20 -04:00
Tim Mickel
a62d52a2d0 Calculating tight bounding boxes for Drawables () 2016-10-11 18:14:14 -04:00
Ray Schamp
9f26ab17eb Publish playground to gh-pages 2016-09-24 15:26:37 -04:00
Tim Mickel
fb3f677e2c Remove worker support ()
* Remove WebWorker support

* Recompile Sept. 14
2016-09-15 19:01:44 -04:00
Tim Mickel
2b81b791b3 Use the right skin format in playground demo () 2016-09-12 12:08:56 -04:00
Andrew Sliwinski
bf26fe41e8 Update demo worker based on feedback from @cwillisf 2016-08-08 14:59:51 -04:00
Andrew Sliwinski
92fc916b86 Synchronize with master branch 2016-08-08 14:58:35 -04:00
Andrew Sliwinski
f5cd625be8 Fix issue in worker where 'window' is undefined 2016-08-08 14:28:06 -04:00
Andrew Sliwinski
3dca142bb9 Move “demo” into “playground” directory as to match VM and Blocks 2016-08-08 14:22:06 -04:00