211 Commits

Author SHA1 Message Date
Paul Kaplan
983c704761 Add stamping flag to make draw ignore visibility 2017-03-07 11:19:39 -05:00
Ray Schamp
03d9eed8d0 Merge pull request #113 from rschamp/dnd
Add scratchOffset data to extractDrawable
2017-03-03 09:32:21 -05:00
Ray Schamp
2de55f0474 Add scratchOffset data to extractDrawable
Makes it easier to translate between canvas coordinates and scratch coordinates
2017-03-03 09:18:20 -05:00
Andrew Sliwinski
e67d8a2126 Merge pull request #94 from CSnap/getBounds
Fix getBounds for Hidden Sprites
2017-03-02 11:31:45 -05:00
Andrew Sliwinski
363759e927 Merge pull request #111 from LLK/greenkeeper/tap-10.3.0
Update tap to the latest version 🚀
2017-03-02 08:53:38 -05:00
Andrew Sliwinski
530ab4ac81 Use ^ for all dev dependencies 2017-03-02 08:53:18 -05:00
Andrew Sliwinski
fc7610716e Merge pull request #96 from CSnap/fix_getConvexHullPointsForDrawable
Round pixelBase
2017-03-02 08:47:00 -05:00
greenkeeper[bot]
7470bebfbe chore(package): update tap to version 10.3.0
https://greenkeeper.io/
2017-03-02 03:50:15 +00:00
Andrew Sliwinski
4e45b2fe51 Merge pull request #104 from LLK/greenkeeper/eslint-3.16.1
Update eslint to the latest version 🚀
2017-03-01 15:49:05 -05:00
Andrew Sliwinski
f7ec23122b Merge branch 'develop' into greenkeeper/eslint-3.16.1 2017-03-01 15:48:53 -05:00
Andrew Sliwinski
370b0ece9d Merge pull request #109 from LLK/greenkeeper/tap-10.2.2
Update tap to the latest version 🚀
2017-03-01 15:48:09 -05:00
greenkeeper[bot]
2d97d21beb chore(package): update tap to version 10.2.2
https://greenkeeper.io/
2017-02-27 08:02:14 +00:00
Ray Schamp
b6008078ed Merge pull request #93 from griffpatch/feature/FenceAgain
Feature fenceagain
2017-02-23 09:25:53 -05:00
griffpatch
04f7e2ac24 Add const for FENCE_WIDTH
Pull out the 15 pixels into a const
2017-02-23 14:09:00 +00:00
Ray Schamp
05a70bcf41 Merge pull request #106 from LLK/greenkeeper/tap-10.2.1
Update tap to the latest version 🚀
2017-02-23 08:59:44 -05:00
Ray Schamp
9824d109b0 Merge pull request #102 from rschamp/jsdoc
Generate docs from src, publish to gh-pages
2017-02-23 08:42:10 -05:00
greenkeeper[bot]
293653bc4d chore(package): update babel-loader to version 6.3.2
Closes #91

https://greenkeeper.io/
2017-02-22 21:26:14 -08:00
Chris Willis-Ford
71135236f2 Merge pull request #107 from LLK/greenkeeper/twgl.js-3.0.2
chore(package): update twgl.js to version 3.0.2
2017-02-22 21:15:52 -08:00
Christopher Willis-Ford
58801fab14 Fix drawBufferInfo call for twgl API change 2017-02-22 21:07:47 -08:00
greenkeeper[bot]
383838c921 chore(package): update tap to version 10.2.1
https://greenkeeper.io/
2017-02-23 04:07:48 +00:00
Chris Willis-Ford
dd74f5b6d2 Merge pull request #86 from LLK/greenkeeper/babel-core-6.23.1
Update babel-core to the latest version 🚀
2017-02-22 16:03:51 -08:00
greenkeeper[bot]
005786ad36 chore(package): update eslint to version 3.16.1
https://greenkeeper.io/
2017-02-22 22:28:56 +00:00
Chris Willis-Ford
ed0c39c2ac Merge pull request #100 from TheBrokenRail/patch-1
Fix IE/Edge Support (#85 and LLK/scratch-vm#367)
2017-02-22 11:45:26 -08:00
TheBrokenRail
1113149363 Fix 2017-02-21 15:43:39 -05:00
Ray Schamp
3c6511d94e Generate docs from src, publish to gh-pages
Fix any broken JSDoc syntax. Unfortunately there is no way to document tuples like `{[int, int]}` for a `[width, height]` array. We could possibly fix this and make the code more readable with `{width: number, height: number}` instead of tuples.

Remove single `@fileoverview` from Rectangle.js, since it was the only file with one and was weird to have that one module show up on the docs home page.

Add a `docs` script to `package.json`, run it from `npm test`, so invalid docs will cause tests to fail (eventually we may want to start using eslint-plugin-jsdoc to catch these errors with the linter alone).
2017-02-21 14:46:24 -05:00
Ray Schamp
b7d5610b23 Merge pull request #97 from rschamp/dnd
Add method to retrieve drawable pixel data
2017-02-21 14:45:17 -05:00
Andrew Sliwinski
9f11d79bfd Merge pull request #98 from LLK/greenkeeper/xhr-2.4.0
Update xhr to the latest version 🚀
2017-02-20 17:52:38 -05:00
Andrew Sliwinski
7045005296 Merge pull request #99 from LLK/greenkeeper/tap-10.1.2
Update tap to the latest version 🚀
2017-02-20 17:52:13 -05:00
Ray Schamp
f279a26958 Merge pull request #103 from LLK/greenkeeper/eslint-3.16.0
Update eslint to the latest version 🚀
2017-02-20 17:17:42 -05:00
greenkeeper[bot]
a221d37e98 chore(package): update eslint to version 3.16.0
https://greenkeeper.io/
2017-02-20 16:38:19 +00:00
TheBrokenRail
ec2361cf91 Fix IE/Edge Support (#85) 2017-02-18 14:06:45 -05:00
Ray Schamp
68600e794d Return null for invalid drawableIDs 2017-02-18 12:18:04 -05:00
greenkeeper[bot]
b1401a1910 chore(package): update tap to version 10.1.2
https://greenkeeper.io/
2017-02-18 02:13:51 +00:00
Ray Schamp
6dd3c0ed81 Don't clip drawables to stage when extracting 2017-02-17 17:37:05 -05:00
Ray Schamp
e035cadb04 Don't apply ghost when extracting drawables 2017-02-17 17:36:47 -05:00
Ray Schamp
3bc00176ed Refactor _drawThese to take options
So the number of arguments doesn't get out of hand
2017-02-17 17:35:45 -05:00
greenkeeper[bot]
331009ccb4 chore(package): update xhr to version 2.4.0
https://greenkeeper.io/
2017-02-17 20:56:13 +00:00
Ray Schamp
a65ea3daed Add method to retrieve drawable pixel data
Towards LLK/scratch-gui#66
2017-02-17 14:51:04 -05:00
Chris Willis-Ford
2463d2c50a Merge pull request #90 from cwillisf/fix-cachalot
SVG: compensate for viewbox offset
2017-02-17 10:25:46 -08:00
SillyInventor
4eacde74e6 Round pixelBase to allow for non-integer SVG widths in _getConvexHullPointsForDrawable 2017-02-15 14:14:03 -05:00
griffpatch
f3b3f0aca7 Feature - Fencing again
This is a resubmission of the same scripts that got reverted. The actual
issues was within scratch-vm.
2017-02-15 16:19:08 +00:00
griffpatch
0d4aeffb19 Merge remote-tracking branch 'refs/remotes/LLK/develop' into develop 2017-02-15 16:11:30 +00:00
greenkeeper[bot]
d6effaf567 chore(package): update twgl.js to version 3.0.2
Closes #88

https://greenkeeper.io/
2017-02-15 15:32:07 +00:00
Ray Schamp
c146debde8 Merge pull request #92 from LLK/revert-82-feature/fencing
Revert "Feature fencing"
2017-02-15 09:39:38 -05:00
Ray Schamp
42e5e724c2 Revert "Feature fencing" 2017-02-15 09:38:23 -05:00
griffpatch
be8bec23fa Merge remote-tracking branch 'refs/remotes/LLK/develop' into develop 2017-02-15 08:46:57 +00:00
Andrew Sliwinski
ac34ba7a13 Merge pull request #89 from LLK/greenkeeper/tap-10.1.1
Update tap to the latest version 🚀
2017-02-14 20:59:15 -05:00
SillyInventor
9c51cf0a04 Switch to getFastBounds from get bounds, and add check for if the hull points are empty. 2017-02-14 19:58:22 -05:00
Chris Willis-Ford
393efdd3ae Merge pull request #82 from griffpatch/feature/fencing
Feature fencing
2017-02-14 16:54:02 -08:00
Christopher Willis-Ford
959c635f58 SVG: compensate for viewbox offset
In Scratch 2.0, an SVG costume's origin is stored relative to that SVG's
viewbox. In order to use the origin values correctly, then, we need to
compensate for the viewbox offset.
2017-02-14 15:59:45 -08:00