Katie Broida
c8b9516219
Use Math.ceil and Math.floor to match Scratch 2 logic
2019-02-04 16:03:33 -05:00
Christopher Willis-Ford
1db67a474e
Adjust CPU isTouchingColor to match GPU results
2019-02-04 11:20:59 -08:00
Christopher Willis-Ford
028b4eba3f
Adjust cursor coordinates for devicePixelRatio
2019-01-30 16:37:59 -08:00
Christopher Willis-Ford
59cef02fdb
Mark correct viewport corners with red dots
2019-01-30 15:58:51 -08:00
Christopher Willis-Ford
99d6e46f7e
Adjust rendering for crisp pixels
...
- Adjust the rotation center of the cursor so that its single pixel is
gets rendered onto a single stage pixel instead of being split across
2-4 stage pixels.
- Add canvas CSS to make most browsers scale the canvases without
interpolation.
2019-01-30 11:00:27 -08:00
Christopher Willis-Ford
992977d6c6
Add debug canvas support to isTouching CPU path
2019-01-30 11:00:14 -08:00
Christopher Willis-Ford
a358c8f916
Lint cleanup
2019-01-28 12:25:58 -08:00
Christopher Willis-Ford
e8d71277e2
Use query playground to compare GPU vs. CPU implementations
2019-01-28 11:43:38 -08:00
Paul Kaplan
b4f9f28417
Merge pull request #405 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190125192231
...
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease…
2019-01-28 10:40:13 -05:00
Christopher Willis-Ford
fba2d90fda
Stub queryPlayground.html
2019-01-25 17:28:51 -08:00
Christopher Willis-Ford
31db3d8596
Build playground using Webpack
2019-01-25 17:28:02 -08:00
greenkeeper[bot]
898d5d7885
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190125192231
...
Closes #397
2019-01-25 19:23:50 +00:00
Evelyn Eastmond
9b11ac894d
Merge pull request #376 from evhan55/bug/extract-drawable
...
Fix extraction of drawable to not clip bounds.
2019-01-24 21:33:50 -05:00
Evelyn Eastmond
fc6fcd0543
Removing console log comment.
2019-01-24 10:56:11 -05:00
Evelyn Eastmond
b77f4c663a
Removing console log.
2019-01-24 10:54:08 -05:00
Evelyn Eastmond
5e5a423d39
Fixing checkFramebufferstatus check.
2019-01-24 10:54:08 -05:00
Evelyn Eastmond
402cfbf99f
Adding a console log for testing.
2019-01-24 10:54:08 -05:00
Evelyn Eastmond
a0dd716c23
Adding some sanity checks and error handling that aren't fully working yet.
2019-01-24 10:54:08 -05:00
Evelyn Eastmond
183919a20a
Fixing a comment.
2019-01-24 10:54:08 -05:00
Evelyn Eastmond
3cfafebb2e
Fixing extraction of a drawable to not clip bounds.
2019-01-24 10:54:08 -05:00
DD Liu
931ff270dd
Merge pull request #404 from LLK/touchingColor2
...
Update silhouette after getting texture at a new scale
2019-01-22 17:29:43 -05:00
DD Liu
cc448951f9
Update silhouette after getting texture at a new scale
2019-01-22 13:58:59 -05:00
Katie Broida
cfa0194ab8
Merge pull request #402 from ktbee/fix-test-typo
...
Fix typo for sb3 test files
2019-01-17 15:47:33 -05:00
Katie Broida
2b224eb9da
Merge pull request #400 from ktbee/fence-width-compat
...
Add inset logic that is closer to Scratch 2's inset
2019-01-17 13:25:37 -05:00
Katie Broida
735c7caaae
Fix typo for sb3 test files
2019-01-17 12:40:30 -05:00
Katie Broida
ad1b7111c8
Add inset logic that is closer to Scratch 2's inset
2019-01-17 11:59:22 -05:00
Chris Willis-Ford
e54b590d56
Merge pull request #399 from cwillisf/fix-brightness-effect
...
Change brightness effect to match Scratch 2.0 in 2D mode
2019-01-16 12:22:22 -08:00
Christopher Willis-Ford
355a8c5395
Change brightness effect to match Scratch 2.0 in 2D mode
2019-01-15 19:45:45 -08:00
Paul Kaplan
f1a7aab5a6
Merge pull request #398 from paulkaplan/revert-silhouette
...
Revert "Merge pull request #394 from paulkaplan/defer-silhouette-upda…
2019-01-15 12:25:37 -05:00
Paul Kaplan
bb84abab87
Revert "Merge pull request #394 from paulkaplan/defer-silhouette-updates"
...
This reverts commit a5f852fcc23d1c46942b68bb792d7d1b95832e50, reversing
changes made to e616ab5d35307b26d7937c89388910f06321e5e6.
2019-01-14 16:51:26 -05:00
Paul Kaplan
75772989ea
Merge pull request #395 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20190109201344
...
Update scratch-svg-renderer to the latest version 🚀
2019-01-09 15:16:30 -05:00
greenkeeper[bot]
cf5aafc12f
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20190109201344
2019-01-09 20:15:01 +00:00
Paul Kaplan
a5f852fcc2
Merge pull request #394 from paulkaplan/defer-silhouette-updates
...
Implement updateSilhouette to allow updates to happen when needed
2019-01-09 14:59:56 -05:00
Paul Kaplan
07544595fd
Implement updateSilhouette to allow updates to happen when needed
2019-01-09 14:22:08 -05:00
Paul Kaplan
e616ab5d35
Merge pull request #393 from LLK/revert-391-blurrybg
...
Revert "Increase maximum texture size and back it off if GL fails to render"
2019-01-08 16:00:30 -05:00
Paul Kaplan
6e072ea026
Revert "Increase maximum texture size and back it off if GL fails to render"
2019-01-08 15:59:09 -05:00
DD Liu
230a68d564
Merge pull request #391 from LLK/blurrybg
...
Increase maximum texture size and back it off if GL fails to render
2019-01-08 12:41:49 -05:00
Karishma Chadha
a0ce9e3dca
Merge pull request #392 from kchadha/fix-uncaught-type-error
...
Fix uncaught error `cannot find property updateSilhouette of null`
2019-01-07 11:19:49 -05:00
DD Liu
0676e0f54a
Use callback for loop, and update maxTextureScale during callback
2019-01-07 10:00:31 -05:00
Karishma Chadha
ba93f21795
Fix uncaught error when drawable.skin does not exist. Log a warning in this case instead.
2019-01-06 18:02:33 -05:00
DD Liu
5be561133d
Increase maximum texture size and back it off if GL fails to render
2019-01-05 00:43:55 -05:00
Chris Willis-Ford
bfa90a07cc
Merge pull request #385 from fsih/fixBlurry
...
Always use nearest for raster textures
2019-01-03 14:00:29 -05:00
DD
5f38cd1ee1
Always use nearest for raster textures
2019-01-03 12:00:28 -05:00
Karishma Chadha
7d8bcafe2b
Merge pull request #384 from ktbee/pixel-center-bounding-box
...
Align the bounding box to the center of the pixel instead of top left
2018-12-26 10:28:37 -05:00
Katie Broida
770ae92b25
Align the bounding box to the center of the pixel instead of top left
2018-12-21 16:51:36 -05:00
DD Liu
401c368ebc
Merge pull request #383 from fsih/updateNewlines
...
update svg renderer
2018-12-20 14:28:18 -05:00
DD
4eb04896d3
update svg renderer
2018-12-20 14:06:14 -05:00
DD Liu
ca488e6439
Merge pull request #380 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20181218153528
...
Update scratch-svg-renderer to the latest version 🚀
2018-12-18 10:56:10 -05:00
greenkeeper[bot]
0de5befa4f
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease.20181218153528
2018-12-18 15:36:46 +00:00
DD Liu
322e311b17
Merge pull request #379 from LLK/greenkeeper/scratch-svg-renderer-0.2.0-prerelease.20181213192400
...
fix(package): update scratch-svg-renderer to version 0.2.0-prerelease…
2018-12-13 15:42:20 -05:00