386 Commits

Author SHA1 Message Date
Chris Willis-Ford
13b9ed7e16
Merge pull request #491 from adroitwhiz/dont-fudge-up-the-renderer
Remove u_fudge
2019-10-01 13:02:15 -07:00
DD Liu
503c3f7b0b
Merge branch 'develop' into rm-update-fast-bounds 2019-10-01 15:53:19 -04:00
DD Liu
857b541e84
Merge pull request #469 from mzgoddard/update-drawable
Add update drawable methods for each property
2019-10-01 15:39:50 -04:00
DD Liu
8e836a7a11
Add a bug to the todos for missing drawable 2019-10-01 15:36:13 -04:00
Karishma Chadha
11665299bc
Revert "Put Skin Alter Push Back In" 2019-09-26 09:39:05 -05:00
Michael "Z" Goddard
110371b029 synchronously store SVGRenderer props used in SVGSkin
Some APIs need SVGSkin to update some of its values immediately when changing
the SVG. Namely size needs to be synchronously set. However rotation center
doesn't need to be set at that time so we can leave it to update where it
currently is.
2019-09-16 17:22:27 -04:00
Karishma Chadha
2a1d215e50
Revert "Revert "Revert "Revert "Skin alter push"""" 2019-09-12 13:43:32 -04:00
Karishma Chadha
1cd9e54834
Revert "Revert "Revert "Skin alter push""" 2019-09-12 13:24:03 -04:00
Chris Willis-Ford
928cd60dd5
Merge pull request #496 from LLK/revert-493-revert-470-skin-alter-push
Revert "Revert "Skin alter push""
2019-09-04 18:14:41 -07:00
DD Liu
2d4419c929
Merge pull request #443 from adroitwhiz/effects-nearest
Always use linear interpolation on vector skins with distortion effects applied
2019-09-04 17:19:52 -04:00
adroitwhiz
ad6ddd9f99 add more parentheses 2019-09-04 15:40:49 -04:00
Karishma Chadha
c3ede9c3d5
Merge pull request #495 from LLK/revert-494-revert-467-rect-init-matrix
Revert "Revert "Initialialize AABB Rectangle ""
2019-08-30 15:35:32 -04:00
Chris Willis-Ford
ab517fff51
Merge pull request #442 from adroitwhiz/pen-stamp-region-optimization
Don't _doExitDrawRegion in penStamp until we're sure we're stamping
2019-08-30 20:19:26 +01:00
Chris Willis-Ford
b4c7dbf0ea
Merge pull request #441 from adroitwhiz/region-exit-fix
Clear _regionId when exiting draw region
2019-08-30 19:51:20 +01:00
Karishma Chadha
c0e5115bfc
Merge pull request #444 from adroitwhiz/rectangle-clamp-fix
Fix Rectangle.Clamp()
2019-08-30 14:43:18 -04:00
DD Liu
b9732c222c
Fix space
Co-Authored-By: adroitwhiz <adroitwhiz@protonmail.com>
2019-08-28 19:00:16 -04:00
DD Liu
afaa758615 turn off antialias 2019-08-28 17:04:51 -04:00
adroitwhiz
94257a4214 Set SVG skin size synchronously 2019-08-13 16:38:45 -04:00
Karishma Chadha
7c4393787b
Revert "Revert "Skin alter push"" 2019-08-13 11:42:51 -04:00
Karishma Chadha
a340b8a04b
Revert "Revert "Initialialize AABB Rectangle "" 2019-08-13 11:41:11 -04:00
Karishma Chadha
c2e32d2baf
Merge pull request #494 from LLK/revert-467-rect-init-matrix
Revert "Initialialize AABB Rectangle "
2019-08-13 11:38:41 -04:00
Karishma Chadha
c8f7496fba
Revert "Initialialize AABB Rectangle " 2019-08-13 11:26:07 -04:00
Karishma Chadha
4a28cffcd4
Revert "Skin alter push" 2019-08-13 11:22:27 -04:00
adroitwhiz
06def05119 Remove u_fudge 2019-08-08 12:15:27 -04:00
Chris Willis-Ford
cc5fea803e
Merge pull request #470 from mzgoddard/skin-alter-push
Skin alter push
2019-07-01 10:43:11 -07:00
Michael "Z" Goddard
994e9be00b
move the initFromModelMatrix process docs into a jsdoc tutorial 2019-06-19 18:53:05 -04:00
Michael "Z" Goddard
14b01bd63c
cache PenSkin's _canvasSize 2019-06-18 17:18:49 -04:00
Michael "Z" Goddard
24b535eb76
cache svg renderer size and view offset 2019-06-18 17:18:48 -04:00
Michael "Z" Goddard
f9b1a04d1a
cache Skin.size 2019-06-18 17:18:48 -04:00
Michael "Z" Goddard
ab603ffa92
push skin alteration down from renderwebgl 2019-06-18 17:18:48 -04:00
Michael "Z" Goddard
5d7957ff9b
document out how initFromModelMatrix works 2019-06-11 14:32:33 -04:00
Michael "Z" Goddard
a840089bc9
fence bounds 2019-06-11 13:05:22 -04:00
Michael "Z" Goddard
96aa930895
update drawable calls 2019-06-07 18:32:04 -04:00
Michael "Z" Goddard
89e6de035d
remove updateMatrix call from getFastBounds 2019-06-07 11:17:54 -04:00
Michael "Z" Goddard
bf47f69b04
use a destination parameter for bounds; add initFromMatrixRadius
- pass bounds as a destination parameter
- add initFromMatrixRadius
- use initFromMatrixRadius in getAABB
2019-06-06 14:39:56 -04:00
Benjamin Wheeler
ed6c707cba
Revert "Tweak scalingVector to make dots appear to be more circular" 2019-05-30 11:50:54 -04:00
Chris Willis-Ford
6bdaebcb3b
Merge pull request #426 from adroitwhiz/playground-improvements
Playground improvements
2019-05-28 16:10:36 -07:00
Chris Willis-Ford
8b54df18af
Merge pull request #423 from ktbee/more-circular-pen-dots
Tweak scalingVector to make dots appear to be more circular
2019-05-28 15:39:34 -07:00
adroitwhiz
d0ed283c72 Merge remote-tracking branch 'upstream/develop' into effects-nearest 2019-05-22 16:10:30 -04:00
adroitwhiz
ab14e224d6 add default fudge min/max values 2019-05-22 05:02:44 -04:00
adroitwhiz
1a5bd39f77 replace janky boolean logic 2019-05-22 05:01:16 -04:00
adroitwhiz
e478ad4590 es6ify playground.js 2019-05-22 04:58:06 -04:00
adroitwhiz
34f265ab22 strict inequality 2019-05-22 04:52:30 -04:00
adroitwhiz
c313f6ac89 fix documentation 2019-05-18 00:46:09 -04:00
Katie Broida
9fc82a8fc3 Tweak scalingVector to make dots appear to be more circular instead of oval 2019-05-13 13:27:08 -04:00
adroitwhiz
e8d30d7629 Merge branch 'develop' of https://github.com/LLK/scratch-render into playground-improvements 2019-05-05 16:52:05 -04:00
adroitwhiz
7bb8b3829e roundBounds! it does nothing! 2019-05-05 03:06:04 -04:00
adroitwhiz
57e40e20ab Revert playground changes 2019-04-30 22:56:17 -04:00
adroitwhiz
1021877ba6 Canvas-based TextBubbleSkin 2019-04-30 22:51:43 -04:00
Chris Willis-Ford
4a55d63ada
Merge pull request #424 from ktbee/limit-mosaic-effect
Only check position against effect transform if it falls within the Drawable's space
2019-04-29 17:19:51 -07:00