Paul Kaplan
d59089e1b5
Merge pull request #159 from paulkaplan/color-picking
...
Add color extraction method to renderer
2017-09-06 13:54:08 -04:00
Paul Kaplan
ca0004f043
Fix clear color
2017-09-06 13:50:22 -04:00
Paul Kaplan
471f03e310
Fixup from CWF comments on blending
2017-09-05 15:29:37 -04:00
DD Liu
ef7f1d2558
Merge pull request #163 from fsih/updateSvg2
...
Update references to the old skin
2017-08-31 17:17:54 -04:00
DD
553af92910
Update references to the old skin
2017-08-31 17:04:05 -04:00
DD Liu
4d04f3c646
Merge pull request #160 from fsih/updateSvg
...
Add updateSVGSkin
2017-08-31 13:17:49 -04:00
DD
fa12b523c9
Don't change the skin ID when making a new one
2017-08-31 11:38:44 -04:00
Chris Willis-Ford
9736ced8df
Merge pull request #155 from joshlory/drawable-aabb-tests
...
Add initial test coverage for Drawable.prototype.getAABB
2017-08-30 16:56:11 -07:00
DD
29366df1d0
Make updateSVGSkin work when converting from bitmap to SVG
2017-08-30 18:24:56 -04:00
DD
66f362faed
Add updateSVGSkin
2017-08-30 17:47:13 -04:00
Paul Kaplan
c33f0e46ce
Add color extraction method to renderer
2017-08-25 10:05:46 -04:00
Chris Willis-Ford
a23287ab5a
Merge pull request #138 from a49594a/patch-2
...
fix the bug #131 Rotation center is incorrect while sprite is scaled by "changeSize" block or "setSize" block
2017-08-24 10:02:35 -07:00
Chris Willis-Ford
1ad55771a7
Merge pull request #156 from joshlory/fix-empty-sprite-rotation-center
...
Scratch 2.0 compat: don't modify rotation center of empty sprites
2017-08-18 12:14:30 -07:00
Paul Kaplan
ace5d934f8
Merge pull request #154 from paulkaplan/fix-pick-sizing
...
Fix picking when input size is different from native size
2017-08-10 16:02:57 -04:00
Josh Lory
0df19c4948
Update base Node version to 6 for consistency
2017-08-10 10:55:24 -07:00
Josh Lory
0d1d7dab3a
Scratch 2.0 compat: don't modify rotation center of empty sprites
2017-08-09 23:01:09 -07:00
Josh Lory
d329412507
Update npm test to run unit tests
2017-08-09 21:43:30 -07:00
Josh Lory
e3e1668127
Add initial test coverage for Drawable.prototype.getAABB
2017-08-09 21:43:18 -07:00
Josh Lory
f8a754f71a
Inline shader require statements, to allow using ShaderManager in tests
2017-08-09 18:50:07 -07:00
Paul Kaplan
46b8784217
Correctly convert input coords into scratch coords
2017-08-09 15:40:32 -04:00
Chris Willis-Ford
019a4c52ed
Merge pull request #153 from joshlory/fix-render-playground
...
Fix scratch-render playground
2017-08-09 14:49:32 -04:00
Josh Lory
48bf025380
Fix scratch-render playground
...
Loading skin by URL is deprecated (see: 64c5991486 ).
2017-08-09 10:31:02 -07:00
Ray Schamp
d06af722c0
Merge pull request #152 from LLK/greenkeeper/jsdoc-3.5.3
...
chore(package): update jsdoc to version 3.5.3
2017-07-14 09:19:55 -04:00
greenkeeper[bot]
fab79df7c6
chore(package): update jsdoc to version 3.5.3
2017-07-14 02:54:14 +00:00
Chris Willis-Ford
80299b1a2b
Merge pull request #145 from liam4/fix-comments
...
Fix 'draw a point' typo in drawLine doc
2017-06-13 15:40:01 -07:00
liam4
4707349028
Fix 'draw a point' typo in drawLine doc
2017-06-05 19:56:41 -03:00
Chris Willis-Ford
78b19046b4
Merge pull request #139 from LLK/greenkeeper/twgl.js-3.3.0
...
Update twgl.js to the latest version 🚀
2017-04-28 11:03:47 -07:00
greenkeeper[bot]
5b1d8ba960
chore(package): update twgl.js to version 3.3.0
...
https://greenkeeper.io/
2017-04-27 18:04:38 +00:00
john
ada1902fa6
fix the rotation center bug
...
fix the bug #131 Rotation center is incorrect while sprite is scaled by "changeSize" block or "setSize" block
the "rotationAdjusted" should be scaled while the drawable target is scaled.
2017-04-22 11:46:02 +08:00
Chris Willis-Ford
806cd08257
Merge pull request #136 from cwillisf/audit-dependency-specs
...
Audit dependency versions
2017-04-21 10:16:46 -07:00
Christopher Willis-Ford
36dc89da1c
Minor-pin Babel loaders
2017-04-20 19:32:14 -07:00
Christopher Willis-Ford
5344bebe1d
Use minor-level semver (^) for babel & webpack
2017-04-20 10:32:20 -07:00
Christopher Willis-Ford
862940d2ac
Audit dependency versions
...
All dependencies which impact the build output have been fixed at an
exact version. Dependencies which impact only the development experience
(including the playground) are marked with `^`. Two obsolete
dependencies have been removed.
2017-04-19 14:57:49 -07:00
Chris Willis-Ford
6a6c252a55
Merge pull request #125 from LLK/greenkeeper/twgl.js-3.2.2
...
Update twgl.js to the latest version 🚀
2017-04-19 14:16:33 -07:00
Chris Willis-Ford
3ab8f4a70b
Merge pull request #135 from bigeyex/feature/fix-skin-share-soft-limit
...
Increase SKIN_SHARE_SOFT_LIMIT to 301 to avoid sprite clone limit warning
2017-04-19 12:06:22 -07:00
Chris Willis-Ford
95d23d8c17
Merge pull request #133 from cwillisf/standardize-settings
...
Standardize repository settings
2017-04-19 09:51:39 -07:00
Chris Willis-Ford
a6cbf9658f
Merge pull request #132 from a49594a/patch-1
...
Fix typed array exception in Edge
2017-04-19 09:45:30 -07:00
Wang Yu
dc6ab7da08
Increased SKIN_SHARE_SOFT_LIMIT to 301, so
...
scratch-vm will not throw a EventEmitter memory leak warning.
Reason:
the max number of clones is 300, plus 1 for itself.
Then the shared skin will exceed it's limit.
Changing the number from 300 to 301 fixes this issue.
2017-04-18 20:06:02 +08:00
Chris Willis-Ford
ec1e8a3d85
Merge pull request #130 from green-coder/patch-1
...
Fixed the example in README.md
2017-04-13 10:14:26 -04:00
Christopher Willis-Ford
e5f6af5320
Standardize repository settings
...
Add missing file type to `.gitattributes`.
Use `node` instead of deprecated `stable` version specifier for Travis.
Set dev tool to `cheap-module-source-map`.
2017-04-11 11:38:16 -04:00
a49594a
56fbe57dd9
Update RenderWebGL.js
...
fix exception "Invalid offset/length when creating typed array" in ms edge browser
2017-04-11 08:12:55 +08:00
Vincent Cantin
196c33a161
Fixed the example in README.md
...
I made the edit without testing, please review the change if it makes sense to you, thank you.
2017-04-10 12:58:06 +08:00
Chris Willis-Ford
1063f68572
Merge pull request #122 from cwillisf/remove-url-handling
...
Remove `createSkinFromURL` and related code
2017-03-23 22:18:02 -07:00
greenkeeper[bot]
93da44593f
chore(package): update twgl.js to version 3.2.2
...
https://greenkeeper.io/
2017-03-17 12:37:53 +00:00
Christopher Willis-Ford
53147d7e39
Remove createSkinFromURL and related code
...
Changes:
- Removed the `createSkinFromURL` method.
- Removed `skin` property handling from `updateDrawableProperties`.
- Removed the URL-to-skin mapping cache.
- Removed `RenderConstants` items related to choosing a default skin.
- Removed `xhr` package dependency.
- `Drawable` now starts with a `null` skin instead of a default skin.
- `DrawThese` now skips any item with a `null` skin.
2017-03-09 09:59:16 -08:00
Chris Willis-Ford
bbffee7bfd
Merge pull request #121 from cwillisf/webpack-fixups
...
Webpack fixups
2017-03-09 09:56:10 -08:00
Christopher Willis-Ford
7068b201fb
Fix dev server port number
2017-03-08 16:16:20 -08:00
Christopher Willis-Ford
10db85594f
Generate /playground from /src/playground
...
The playground now must be loaded with a URL that ends in "/playground/"
or "/playground/index.html"; loading at "/" will no longer work.
The /playground folder is now purely an output of the build process,
rather than being a mix of build output and static content. The static
content that was previously there (namely, index.html) has been moved
into /src/playground. The `contentBase` has been set to `false` to avoid
confusion between current, in-memory build output and stale, on-disk
build output.
2017-03-08 14:48:57 -08:00
Christopher Willis-Ford
f8c45d8552
Update to webpack-dev-server 2.4.1
2017-03-08 14:46:43 -08:00
Christopher Willis-Ford
7db54d9066
Explicitly specify raw-loader for shader files
...
This helps standardize our Webpack config
2017-03-08 14:23:28 -08:00