Evelyn Eastmond
82df80a04c
Fixing lint error.
2018-08-15 11:44:49 -04:00
Evelyn Eastmond
9fb522b3ff
Moving a function.
2018-08-15 11:39:26 -04:00
Evelyn Eastmond
13edf16caa
Fixing #1457 : extension should parse incoming messages using port table.
2018-08-15 11:39:26 -04:00
Evelyn Eastmond
d61f6e3d6f
Fixing #1460 : 'set motor direction' block should work while a motor is running.
2018-08-15 11:39:26 -04:00
Evelyn Eastmond
3023b7a9c2
Fixing #1455 : set LED to blue on connecting.
2018-08-15 11:39:26 -04:00
Evelyn Eastmond
9f25872c1f
Fixing #1454 : extension should cast and clamp input values.
2018-08-15 11:39:26 -04:00
Evelyn Eastmond
d89020cfb1
Fixing #1461 : distance sensor should report 0-100 in steps of 10.
2018-08-15 11:39:26 -04:00
Connor Hudson
f9814a5f88
Allow localizing EV3 blocks ( #1437 )
...
* Add formatMessage calls to block text in EV3 extension
* Make some EV3 l10n descriptions more descriptive
2018-08-14 14:36:19 -04:00
Connor Hudson
8d88058ae5
Allow localizing micro:bit blocks ( #1431 )
...
* Replace micro:bit block text with formatMessage calls
* Add l10n support to micro:bit block menus
* Remove A, B button translation, update some l10n descriptions
* Fix mismatched l10n description
2018-08-14 12:19:26 -04:00
Evelyn Eastmond
f01733f019
WeDo2 Extension: First Pass ( #1441 )
...
* Adding WeDo2 connection/disconnection over Scratch Link BLE.
* Testing motor and LED output.
* Reading sensor attachment and registering for sensor notifications.
* Motor indexing.
* Some refactoring notes. Moving some functions around.
* Refactoring and enums.
* Removing some comments
* Fixing linting error.
* Fixing tilt reporter values and added stopAll bound to stop button to stop piezo, LED and motors.
2018-08-13 17:10:55 -04:00
Mx Corey Frang
30892dfd43
Update npm packages to get new renderer and update benchmark for Bob Ross 🌲 ( #1443 )
2018-08-13 10:47:41 -04:00
kchadha
ec41b4a113
Merge pull request #1438 from kchadha/return-add-sprite-function-when-deleting
...
Export the sprite and return an add function when deleting the sprite.
2018-08-09 15:25:45 -04:00
Karishma Chadha
a1f03f58e1
Add integration test for deleting and restoring a sprite, and restoreFunciton should return a promise.
2018-08-09 11:53:37 -04:00
Mx Corey Frang
c092fe9f83
Use proposed drawableTouching interface from render ( #1419 )
...
* use new drawableTouching interface from render
* Fix mock renderer for new API call
* with lint fix
2018-08-09 10:10:23 -04:00
Karishma Chadha
5ef246a2b0
Export the sprite and return an add function when deleting the sprite.
2018-08-08 18:29:54 -04:00
Ray Schamp
4b5cf6505a
Merge pull request #1398 from paulkaplan/publish-docs
...
Publish jsdoc to gh-pages
2018-08-08 16:46:48 -04:00
kchadha
6b26e6e68c
Merge pull request #1434 from kchadha/fix-variable-xml
...
Fix variable xml
2018-08-08 15:32:09 -04:00
Michael "Z" Goddard
a15a9a1b7b
Fix benchmark suite ( #1397 )
...
* add scratch-svg-renderer adaptors to benchmark vm
* disable benchmark with monitor error
* fixup! add scratch-svg-renderer adaptors to benchmark vm
* fixup! disable benchmark with monitor error
2018-08-08 14:36:38 -04:00
Karishma Chadha
d91788406c
Don't generate new IDs for variables when making a sprite clone.
2018-08-07 16:24:02 -04:00
Karishma Chadha
337c1f464d
Fix duplication of variables and re-write variable ids in referencing fields.
2018-08-07 00:30:03 -04:00
Paul Kaplan
6e6e9b49cb
Merge pull request #1415 from paulkaplan/fix-current-menu
...
Import current block menu as field not input
2018-08-06 16:45:51 -04:00
Paul Kaplan
98e45ecdfe
Import current block menu as field not input
2018-08-02 13:45:00 -04:00
Paul Kaplan
79ab2fcb72
Add turbo mode events
2018-08-02 10:00:21 -04:00
Eric Rosenbaum
c8158321fc
Add "set voice" block to text2speech extension ( #1400 )
...
* Add set voice block
* Store voice in custom state
* Use a regex to preserve punctuation in kitten language
* cleanup
* don’t re-use args
* add todo comment about locale
* Use voice Id strings and add puppy
* Cleanup and comments
* Use extension name “Text-to-Speech”
* Add issue link in comment
2018-07-31 14:41:02 -04:00
Paul Kaplan
138d7136af
Fix various jsdoc issues preventing the docs from building
2018-07-31 11:22:42 -04:00
Paul Kaplan
c7db7ad086
Merge pull request #1399 from paulkaplan/add-to-target
...
Add an extra param for adding sounds and costumes to specific targets
2018-07-31 11:09:37 -04:00
Paul Kaplan
8540c139dc
Add an extra param for adding sounds and costumes to specific targets
2018-07-31 09:47:48 -04:00
Karishma Chadha
53ccb8d709
Don't serialize layerOrder when exporting a sprite.
2018-07-24 16:11:18 -04:00
Paul Kaplan
ac550d2d38
Merge pull request #1387 from paulkaplan/userdata-io-device
...
Add UserData ioDevice for setting and getting username from blocks
2018-07-24 15:13:15 -04:00
kchadha
c77b1f25e2
Merge pull request #1392 from kchadha/sprite-layer-save-load
...
Sprite Layer Ordering Save/Load
2018-07-24 13:53:29 -04:00
Evelyn Eastmond
6444cf071d
Feature/critical extension fixes ( #1383 )
...
* Resolves - Turning micro bit power off doesn't disconnect microbit #1366 .
* Resolves EV3 motor block causes distance to return 0 #1363 .
* Fixing linting.
* Tweak micro:bit auto-disconnect timeout.
2018-07-24 11:08:48 -04:00
Karishma Chadha
812e7a3772
Preserve sprite layer order information across saving and loading an sb3.
2018-07-24 11:00:48 -04:00
Karishma Chadha
b3ee2c439d
Remove layerOrder property, sprites are rendered in the order the targets are listed in in the .sb2 file.
2018-07-23 15:48:27 -04:00
Karishma Chadha
2508dc46ca
Order sprites in 2.0 projects based on the serailzied indexInLibrary property. Store original ordering (e.g. layer order of sprites on the stage) to use when installing targets.
2018-07-23 15:25:05 -04:00
Eric Rosenbaum
f5066626e5
Use sprite’s soundbank to play text2speech sound ( #1388 )
...
* Use sprite’s soundbank to play sound
* Add todo comment
2018-07-23 11:16:00 -04:00
picklesrus
db0597ada5
Get rid of some config that Safari cannot handle and was part of the older getUserMedia. ( #1297 )
2018-07-23 10:45:27 -04:00
Paul Kaplan
6d4c6df692
Add UserData ioDevice for setting and getting username from blocks
2018-07-23 09:38:58 -04:00
Paul Kaplan
4570184c6b
Fix linting
2018-07-19 16:41:07 -04:00
Paul Kaplan
a762892879
Do not send coast if another motor command has been sent
2018-07-19 15:46:01 -04:00
Paul Kaplan
a069a295d7
Merge pull request #1377 from paulkaplan/update-extension-names
...
Update the category info name when the extension is refreshed.
2018-07-18 15:18:27 -04:00
Paul Kaplan
7aa45ddb38
Update the category info name when the extension is refreshed.
...
Fixes an issue where changing languages did not update the name in the category menu.
2018-07-18 15:01:22 -04:00
chrisgarrity
d4f20522b8
Merge pull request #1367 from chrisgarrity/issue/gui2530-blockwidth-locale
...
Add function to return the current VM/blocks locale
2018-07-18 10:57:24 -04:00
Andrew Sliwinski
cf2b858d43
Change 'video motion' to 'video sensing'. See LLK/scratch-gui#2621
2018-07-18 10:11:08 -04:00
Paul Kaplan
c428e2ec02
Merge pull request #1341 from mzgoddard/fix-report
...
fix unnecessary stackClick report from nested promise reporters
2018-07-18 09:58:47 -04:00
kchadha
5f5ea5ec24
Merge pull request #1361 from kchadha/sprite-upload-global-local-fix
...
Fix sprite upload variable conflict
2018-07-18 09:56:47 -04:00
chrisgarrity
4ba7e9373f
Add function to return the current VM/blocks locale
2018-07-18 09:52:55 -04:00
Paul Kaplan
13c6c4f9d4
Merge pull request #1362 from paulkaplan/fix-duplicate-sound
...
Fix duplicating sounds not working
2018-07-18 09:03:03 -04:00
Paul Kaplan
3bb455dae5
Duplicating a sprite copied the sounds into the original, not the new
2018-07-17 16:50:40 -04:00
Karishma Chadha
37b276935e
Update fields of blocks to reference new variable names for renamed global so that the VM always has up-to-date and accurate information about the blocks.
2018-07-17 16:27:00 -04:00
Kreg Hanning
9524db5609
Only send matrix data if input !== null ( #1356 )
2018-07-17 16:12:38 -04:00