adroitwhiz
3478643f44
Revert "Set graphic effect to zero if it's Infinity"
2020-06-18 12:17:57 -04:00
adroitwhiz
62504cecb9
Hide pen blocks from palette on stage
2020-06-16 16:04:52 -04:00
adroitwhiz
5462fe9966
Merge pull request #2442 from adroitwhiz/filter-extension-blocks
...
Support extension block filtering per-target
2020-06-16 16:01:51 -04:00
adroitwhiz
8ca737702f
Merge pull request #2465 from adroitwhiz/say-think-consistency
...
Consistently format text bubbles (this time, like 2.0 does)
2020-06-16 16:00:05 -04:00
Christopher Willis-Ford
90b9da45f4
sanitize extension ID in getExtensionIdForOpcode
2020-06-15 17:59:15 -07:00
DD Liu
b67ba75d8b
Merge pull request #2437 from apple502j/patch-12
...
Set graphic effect to zero if it's Infinity
2020-06-11 15:57:22 -04:00
adroitwhiz
9ed587ff5e
add SAY_OR_THINK getter
2020-06-09 13:28:58 -04:00
adroitwhiz
fe6b07acca
Consistently format text bubbles
2020-06-09 13:28:58 -04:00
adroitwhiz
61a0739950
add comment on hideFromPalette
2020-06-02 16:29:49 -04:00
adroitwhiz
2373f9483e
Merge pull request #2441 from adroitwhiz/sensing-of-change-clear-cache
...
Reset blocks cache when sensing_of blocks are updated
2020-06-02 11:12:41 -04:00
adroitwhiz
d6e7ede03a
Support extension block filtering per-target
2020-05-28 12:15:22 -04:00
adroitwhiz
3c0ae4ebbf
Reset blocks cache when sensing_of blocks update
2020-05-28 11:24:05 -04:00
apple502j
7b8c2a99c4
Set graphic effect to zero if it's Infinity
2020-05-28 14:11:27 +09:00
apple502j
4bd04e20e2
oops
2020-05-24 09:30:27 +09:00
DD Liu
32f87b3396
Merge pull request #2335 from daikifukumori/fix/tilted-any-trigger
...
WeDo 2.0 isTilted-any function bug fix
2020-05-22 23:31:42 -04:00
Daiki Fukumori
8c83b3a970
Changed to rely on _getTiltAngle() instead of calculating by myself
2020-05-23 09:14:42 +08:00
apple502j
03db30d400
Update sensing_of fields if variable gets renamed
...
Thanks @adroitwhiz and @fsih for some advice!
2020-05-22 19:00:43 +09:00
Chris Willis-Ford
7af161f1a2
Merge pull request #2011 from joker314/fix/random-costume
...
Give all backdrops a more equal chance of being randomly picked
2020-05-19 13:11:38 -07:00
adroitwhiz
05dcbc176f
Remove RenderedTarget.setSay + its test
2020-05-18 01:35:32 -04:00
adroitwhiz
3341489dfd
Remove BlockCached._shadowOps
2020-05-12 15:30:20 -04:00
jokebookservice1
57445a4d49
Merge branch 'develop' into fix/random-costume
2020-05-07 16:11:08 +01:00
adroitwhiz
112989da0e
Cast malformed color hex strings to black
2020-05-01 14:50:39 -04:00
apple502j
3e48cd7df6
Reset counter and timer too
2020-04-06 20:21:31 +09:00
DD Liu
f5ce73ae51
Merge pull request #2314 from adroitwhiz/dont-update-rotation-center
...
Remove calls to updateDrawableSkinIdRotationCenter
2020-04-02 14:23:02 -04:00
adroitwhiz
c30fcd23b5
grammar
2020-03-28 01:07:14 -04:00
adroitwhiz
5387f3a729
Clarify loadBitmap_ comments
2020-03-26 23:12:10 -04:00
apple502j
6055823f20
Reset answer when runtime gets disposed
2020-03-25 17:51:08 +09:00
DD Liu
2a42285abe
Revert "Consistently format text bubbles"
...
This reverts commit bc61e547b5
.
2020-03-19 12:40:55 -04:00
DD Liu
7330129cc6
Revert "add SAY_OR_THINK getter"
...
This reverts commit ffd2a2a9e8
.
2020-03-19 12:40:01 -04:00
DD Liu
db33da2753
Revert "Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior"
...
This reverts commit 2770f925fe
.
2020-03-19 12:37:34 -04:00
DD Liu
748dbdd241
Merge pull request #2333 from fsih/dontFixSmallValues
...
Dont fix small values
2020-03-18 12:52:40 -04:00
DD Liu
7fbdf969a1
Merge pull request #2325 from adroitwhiz/fix-list-monitor-names
...
Fix old/incorrect list monitor names during deserialization
2020-03-17 11:49:35 -04:00
DD Liu
8a39d23d1f
Merge pull request #2322 from apple502j/patch-8
...
Use correct name in changeBlock in renameVariable
2020-03-17 11:49:18 -04:00
Daiki Fukumori
432d220fd5
Change the operator position
2020-03-14 20:56:30 +08:00
Daiki Fukumori
013e09b290
Correct the maxlen
2020-03-14 20:46:17 +08:00
DD Liu
c8694256b6
Update src/blocks/scratch3_looks.js
...
Thanks!
Co-Authored-By: adroitwhiz <adroitwhiz@protonmail.com>
2020-03-13 19:43:15 -04:00
DD Liu
2770f925fe
Don't fix small values less than .01 to 2 decimal points. This matches 2.0 behavior
2020-03-13 19:39:03 -04:00
Daiki Fukumori
71631f5aa2
Correct the trigger of isTilted()
2020-03-11 22:15:20 +08:00
DD Liu
772fbe1aab
Merge pull request #2187 from adroitwhiz/say-think-consistency
...
Consistently format text bubbles
2020-03-10 16:14:51 -04:00
adroitwhiz
ffd2a2a9e8
add SAY_OR_THINK getter
2020-03-06 15:33:31 -05:00
DD Liu
01cb244e3d
Merge pull request #2239 from adroitwhiz/replace-item-by-index
...
replaceItemOfList() by assigning value to array index instead of Array.splice
2020-02-27 15:39:57 -05:00
adroitwhiz
267395b13b
Remove remaining updateDrawableProperties calls
2020-02-26 21:20:50 -05:00
adroitwhiz
48088f40f8
Fix up list monitor names during deserialization
2020-02-17 01:39:02 -05:00
apple502j
8e46f1c037
Use correct name in changeBlock in renameVariable
2020-02-10 22:28:10 +09:00
adroitwhiz
bc61e547b5
Consistently format text bubbles
2020-02-05 00:21:38 -05:00
adroitwhiz
a434bc5a34
Remove calls to updateDrawableSkinIdRotationCenter
2020-01-30 00:53:16 -05:00
Karishma Chadha
8faad67439
Merge pull request #2302 from ErikMejerHansen/develop
...
Fix custom field types
2019-12-27 11:44:00 -05:00
DD Liu
d47ea58bc3
Merge pull request #2203 from mzgoddard/render-update-drawable
...
Use new updateDrawable* methods
2019-11-19 15:33:21 -05:00
Eric Rosenbaum
24116e5514
Merge pull request #2289 from ericrosenbaum/bugfix/localize-tts-languages
...
Localize the Text to Speech extension "set language" menu
2019-11-18 16:22:15 -05:00
Erik Mejer Hansen
a6d8f6cbf2
Fix indents
2019-11-13 15:00:38 +01:00
Erik Mejer Hansen
700e163abe
Fix handling of custom field types
2019-11-13 14:58:44 +01:00
Michael "Z" Goddard
52b6d76d35
use updateDrawable* methods from renderer
...
- replace updateDrawableProperties with updateDrawablePosition and other methods
- use all of the updateDrawable* methods in updateAllDrawableProperties
2019-11-12 13:19:53 -05:00
Ikuo Terado
fbbccacd74
Allow extension to force to write without response as well as with response
2019-11-03 22:07:16 +09:00
Eric Rosenbaum
27c424532f
Add explanatory comment
2019-10-31 16:03:50 -04:00
Eric Rosenbaum
83781fd380
Check for spokenLanguages object
2019-10-29 11:39:14 -04:00
Karishma Chadha
0a5673d5d3
Merge pull request #2280 from kchadha/inline-images-in-extensions
...
Inline Images in Extensions
2019-10-18 10:20:16 -04:00
Chris Willis-Ford
da53d61e05
Merge pull request #2286 from dlech/patch-1
...
Fix mod operator comment
2019-10-17 13:16:58 -07:00
Karishma Chadha
3859013606
Move inline image specific code into separate helper function. Remove unnecessary todo.
2019-10-17 15:29:04 -04:00
Paul Kaplan
b13a40fb2e
Update src/extensions/scratch3_video_sensing/library.js
...
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
2019-10-17 11:01:22 -04:00
Paul Kaplan
3cf45f4e07
Fix video sensing by calling updateMatrix manually before using isTouching
2019-10-15 12:10:14 -04:00
Paul Kaplan
94188fc075
Fix tests by more carefully checking for the skin
2019-10-14 12:03:48 -04:00
Paul Kaplan
5913cae969
Use bitmap skin for video preview
2019-10-11 12:32:03 -04:00
Eric Rosenbaum
8971ee4668
use lowercase language codes
...
this ensures that when editor is set to ja-Hira, the default text loads and the language is set to ja
2019-10-03 13:22:53 -04:00
Eric Rosenbaum
dad1ced3d4
Use lowercase lang code for editor lang (to match ja-Hira)
2019-10-03 12:42:50 -04:00
Eric Rosenbaum
03e6d73cc6
update comment
2019-10-02 14:46:12 -04:00
Karishma Chadha
8bba60aaf3
Merge pull request #2196 from mzgoddard/develop-profiler
...
add Profiler.increment and Profiler.frame
2019-10-01 09:46:59 -05:00
David Lechner
3070e30241
Fix mod operator comment
...
The remainder of mod in Scratch is not always positive.
According to the wiki, Scratch uses floored division like Smalltalk instead of truncated division like JavaScript.
With floored division, the sign of the remainder matches the sign of the divisor - it is not always positive.
2019-09-30 17:08:43 -05:00
Karishma Chadha
a9e081859e
Remove todo comment about flip_rtl default based on discussion from PR.
2019-09-27 11:48:31 -05:00
Karishma Chadha
470fdb761d
Remove 'alt' from field_image descriptor since it seems to only be used for 'collapsed blocks' from blockly. This is not a feature being used in scratch. Update docs.
2019-09-27 11:46:48 -05:00
Karishma Chadha
b1392572ca
Update tests and fix bug causing type error.
2019-09-27 11:39:15 -05:00
Karishma Chadha
c5879633d5
Make ArgumentTypeMap clearer now that there is an image field which is not technically an argument. Make the color picker consistent with the other arguments so that an extension developer can specify a default color if they wish. Add docs to document this.
2019-09-27 11:04:03 -05:00
Karishma Chadha
6afbe192d8
Log a warning if dataURI
property is missing from image argument specification in extension info. Default to empty string if dataURI or alt are not provided.
2019-09-20 16:56:02 -07:00
Karishma Chadha
167f502edc
Add comment for flipRTL property.
2019-09-20 16:02:18 -07:00
Karishma Chadha
7129f8c4a9
Add support for specifying that whether or not the image should be flipped in an RTL language.
2019-09-20 15:47:33 -07:00
Karishma Chadha
21430a5366
Add support for image argument type in extensions. Add example in core example extension.
2019-09-20 15:19:14 -07:00
Kevin Nørby Andersen
23d94b3820
Merge pull request #2231 from knandersen/bugfix/2230
...
Implements BLE manufacturer data-feature in LEGO BOOST extension
2019-09-19 17:44:03 -04:00
Karishma Chadha
5be322c1d5
Merge pull request #2192 from apple502j/list-cast-safely
...
Fix Cast.LIST_ALL casting case
2019-09-17 17:53:00 -07:00
Karishma Chadha
30ee33c50a
Merge pull request #2146 from adroitwhiz/no-ie-hacks
...
Remove Internet Explorer-specific Number.isNaN polyfill
2019-09-17 09:29:40 -07:00
Eric Rosenbaum
b540b2107a
Remove mock data
2019-09-16 18:23:55 -04:00
DD Liu
cbb668a7ec
Update src/import/load-costume.js
...
Thanks!
Co-Authored-By: Karishma Chadha <kchadha@media.mit.edu>
2019-09-16 13:59:45 -04:00
Eric Rosenbaum
7011084517
Check for empty menuMap
2019-09-15 12:05:20 -04:00
DD Liu
82e0f71643
Move error log to right place
2019-09-13 16:15:36 -04:00
Eric Rosenbaum
5e84441542
Support dropped language names
2019-09-10 21:35:34 -04:00
Eric Rosenbaum
5ba476c833
Working localized Text to Speech language menu with dummy data
2019-09-10 18:37:21 -04:00
DD Liu
e447f003a1
Fix variable name
2019-09-04 11:26:23 -04:00
DD Liu
d3f687a6a7
use template
2019-08-23 17:31:11 -04:00
DD Liu
89db44bc6a
Give some indication of why asset load failed
2019-08-23 17:28:13 -04:00
Eric Rosenbaum
0052383657
Merge pull request #2247 from spl237/keyboard
...
Add enter key to list of keyboard events detected.
2019-08-15 14:47:41 -04:00
chrisgarrity
5adf5ba8fc
Merge pull request #2252 from chrisgarrity/custom-mimetype
...
Add custom mime-type to exported sb3 and sprite
2019-08-13 15:22:10 -04:00
Chris Garrity
40be416c9f
Add custom mime-type to exported sb3 and sprite
2019-08-07 13:52:30 +01:00
Kevin Nørby Andersen
d379dc1bc6
Merge pull request #2229 from knandersen/bugfix/2215
...
Fix 2215 by properly remapping ports to fit new firmware changes
2019-07-31 11:02:06 -04:00
Simon Long
7783deecf6
Add enter key to list of keyboard events detected.
2019-07-31 07:23:35 +01:00
Kevin Andersen
7d7ce2db13
Fixed issue where port A motor position was not being reported because the port number was false-y
2019-07-30 10:20:34 -04:00
Kevin Andersen
4523597a04
Corrected old port mapping! Thanks for catching that @ericr.
2019-07-29 17:59:16 -04:00
Kevin Andersen
842a8e9778
Adjusted portmapping variables to match firmware versions correctly
2019-07-26 15:34:26 -04:00
Kevin Andersen
fcbac7516e
This commit addresses a discussion in #2229 around backward compatibility.
...
This change creates two different port mappings for the Move Hub. By default the extension will use the newer mapping introduced in firmware version 1.0.00.0224. When connected to the hub, the extension will request the hub's firmware version. If it's older than 1.0.00.0224 it will use the older mapping.
2019-07-26 15:31:37 -04:00
Kevin Andersen
e7634d50fa
Add port mappings to support older firmware version 2.0.00.0016 and later as well as newer firmware version 2.0.00.0017 or newer
2019-07-26 14:12:05 -04:00
Kevin Andersen
fd0944e505
Changed manufacturerData-filter to fit the changes in https://github.com/LLK/scratch-link/pull/139
2019-07-23 13:11:17 -04:00
adroitwhiz
4e34f1735a
replaceItemOfList by assigning array index
2019-07-20 01:11:35 -04:00
Karishma Chadha
9ba9732e8a
Merge pull request #2145 from mzgoddard/raise-params
...
Raise params to the next frame when pushing
2019-07-17 16:12:37 -04:00