Commit graph

4636 commits

Author SHA1 Message Date
Ray Schamp
b7d5610b23 Merge pull request from rschamp/dnd
Add method to retrieve drawable pixel data
2017-02-21 14:45:17 -05:00
Andrew Sliwinski
9f11d79bfd Merge pull request 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 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 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 () 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 
2017-02-17 14:51:04 -05:00
Chris Willis-Ford
2463d2c50a Merge pull request 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 

https://greenkeeper.io/
2017-02-15 15:32:07 +00:00
Ray Schamp
c146debde8 Merge pull request 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 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 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
greenkeeper[bot]
9e53d1c53d chore(package): update tap to version 10.1.1
https://greenkeeper.io/
2017-02-14 19:26:35 +00:00
Ray Schamp
18e4fedaf5 Merge pull request from LLK/greenkeeper/babel-loader-6.3.0
Update babel-loader to the latest version 🚀
2017-02-14 10:54:39 -05:00
greenkeeper[bot]
626369a5d9 chore(package): update babel-loader to version 6.3.0
https://greenkeeper.io/
2017-02-14 09:20:58 +00:00
griffpatch
b39bb4d3fd Fencing Take 3
Refactor to accept and return a position as an array of ints [x, y]
2017-02-14 09:08:32 +00:00
griffpatch
1a3e9845d0 Merge remote-tracking branch 'refs/remotes/LLK/develop' into feature/fencing 2017-02-14 08:30:42 +00:00
griffpatch
100625c6d7 Fencing 2017-02-14 08:30:07 +00:00
greenkeeper[bot]
6950b67d37 chore(package): update babel-core to version 6.23.1
https://greenkeeper.io/
2017-02-14 02:23:22 +00:00
griffpatch
fea7643e7e rename fencing method 2017-02-11 14:23:05 +00:00
Chris Willis-Ford
4d8b5da491 Merge pull request from CSnap/fix_SkinMeasurements
Initialize Measurement
2017-02-10 12:04:54 -08:00
Chris Willis-Ford
fd4ef087d5 Merge pull request from LLK/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2017-02-10 11:42:13 -08:00
Christopher Willis-Ford
8087dca4a9 docs(readme): clean up badges 2017-02-10 11:36:57 -08:00
SillyInventor
dc53feaf41 Initialize Measurement 2017-02-10 14:21:45 -05:00
Chris Willis-Ford
a0b3a687cd Merge pull request from griffpatch/bug/alphaChannelConversion
Bug alphachannelconversion
2017-02-09 07:49:56 -08:00
griffpatch
4e21184854 Lint Issues
Comments too long
2017-02-09 10:04:48 +00:00
griffpatch
aa993779bb Feature - Fencing of drawables
Provide a method in the scratch-render to return the fenced coordinates
of a drawable moving to a given position.
2017-02-09 09:56:27 +00:00
griffpatch
fd2b86ea7a Merge remote-tracking branch 'refs/remotes/LLK/develop' into feature/fencing 2017-02-09 08:55:32 +00:00
griffpatch
4dba5db28d Alpha channel conversion
I wasn't so clever with this - I'm sorry. Now that I have managed to
link up my local render & vm projects I am able to fix the issue
properly. Many appologies!
2017-02-09 08:36:57 +00:00
Ray Schamp
35803dcfc9 Merge pull request from rschamp/bugfix/73-retina-size
Fix SVG size calculation
2017-02-07 13:58:47 -05:00
Ray Schamp
9a8f4f2a88 Fix SVG size calculation
It was being incorrectly calculated based on devicePixelRatio.

Fixes . Thanks to @cwillisf for figuring it out!
2017-02-07 10:48:47 -05:00
Christopher Willis-Ford
805ec54f57 chore: adapt code for Webpack 2 2017-02-03 11:01:29 -08:00
greenkeeper[bot]
187a783e74 docs(readme): add Greenkeeper badge
https://greenkeeper.io/
2017-02-02 17:25:31 +00:00
greenkeeper[bot]
549f596195 chore(package): update dependencies
https://greenkeeper.io/
2017-02-02 17:25:30 +00:00
griffpatch
3e476e2d25 Merge remote-tracking branch 'refs/remotes/LLK/develop' into develop 2017-01-28 13:53:08 +00:00
Andrew Sliwinski
c3c7bb28ae Merge pull request from griffpatch/develop
Bug in alpha channel conversion
2017-01-27 10:58:38 -05:00
griffpatch
6f5acfee7b Bug in alpha channel conversion
This is groundwork required by the issue:
https://github.com/LLK/scratch-vm/issues/393
2017-01-27 12:26:11 +00:00