Commit Graph
2324 Commits
Author SHA1 Message Date
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 5d25a5afcf Add unit tests for new duplicate variable functions on target. 2018-08-07 18:21:01 -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 f38b96d70a Merge pull request #1413 from paulkaplan/turbo-mode
Add turbo mode events
2018-08-02 10:15:40 -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 26dd048a72 Update package-lock.json 2018-07-31 11:23:30 -04:00
Paul Kaplan 138d7136af Fix various jsdoc issues preventing the docs from building 2018-07-31 11:22:42 -04:00
Paul Kaplan 5a429d90be Add jsdoc to package json and test/build tasks 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
kchadha 9bfce505f1 Merge pull request #1394 from LLK/greenkeeper/scratch-parser-4.3.0
Update scratch-parser to the latest version 🚀
2018-07-25 12:13:36 -04:00
greenkeeperio-bot 6cacd42e35 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-07-25 15:40:24 +00:00
greenkeeper[bot] a103af8bb9 fix(package): update scratch-parser to version 4.3.0 2018-07-25 15:37:22 +00:00
kchadha 92c55454c8 Merge pull request #1393 from kchadha/no-layer-order-for-sprite-export
Don't serialize layerOrder when exporting a sprite.
2018-07-25 11:00:09 -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
kchadha dc612fb4a1 Merge pull request #1391 from kchadha/target-ordering
Target ordering
2018-07-23 17:16:56 -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 f3451cea91 Merge pull request #1381 from paulkaplan/fix-ev3-coast
Do not send coast if another motor command has been sent
2018-07-19 16:42:44 -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 378fd672fc Bump vm version 2018-07-18 16:36:39 -04:00
Paul Kaplan f61a319270 Merge pull request #1378 from paulkaplan/bump-vm-tag
Use the newer date format for vm versions, to get greenkeeper working
2018-07-18 15:36:34 -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 11bdae2740 Use the newer date format for vm versions, to get greenkeepr working 2018-07-18 15:16:57 -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 51a86d7d9b Merge pull request #1368 from thisandagain/bugfix/videosensing
Change 'video motion' to 'video sensing'. See LLK/scratch-gui#2621
2018-07-18 10:39:11 -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