Evelyn Eastmond
ab7f24bf9a
WeDo2 rate limiting ( #1509 )
...
* Starting work on #1456 : rate limiting.
* Fixing #1456 : rate limit send messages.
* Chaining a couple of send operation Promises.
* Fixing linting.
2018-08-22 15:53:17 -04:00
Karishma Chadha
62bf790d8f
Fix stack glows so that stacks glow as soon as the first block in the stack starts running as opposed to after the first block has finished. Make sure that monitored reporters in the flyout are not glowing.
2018-08-22 14:44:06 -04:00
jokebookservice1
3ef61e2248
Make SWITCH COSTUME and SWITCH BACKDROP compatible with 2.0
2018-08-22 20:39:15 +03:00
jokebookservice1
c81f7ee9a6
Create unit tests for SWITCH COSTUME and SWITCH BACKDROP
2018-08-22 20:38:46 +03:00
Evelyn Eastmond
1f7d9d3b67
Revert "Attempting to fix #1492 : WeDo2 use of should be backwards compatible."
...
This reverts commit ae28a0c1b86209c66dcdbe9b10e0df8c39be7e10.
2018-08-22 11:17:31 -04:00
Evelyn Eastmond
bfa4dfaac2
Attempting to fix #1492 : WeDo2 use of should be backwards compatible.
2018-08-22 11:17:31 -04:00
Evelyn Eastmond
f4e9212249
Fixing #1504 : WeDo2: Distance sensor not being cleared on device disconnect.
2018-08-22 11:17:31 -04:00
Evelyn Eastmond
3659973101
Fixing #1510 : WeDo2 stop button gives console error if device not connected.
2018-08-22 11:17:31 -04:00
Karishma Chadha
9242835be8
Merge branch 'develop' of github.com:LLK/scratch-vm into develop
2018-08-22 10:57:26 -04:00
Karishma Chadha
d1761466fc
Merge pull request #1427 from paulkaplan/fix-bubble-positioning
...
Remove heuristic for bubble positioning that was not accurate.
2018-08-22 10:39:50 -04:00
Karishma Chadha
fa1bf5b165
Merge branch 'fix-bubble-positioning' of https://github.com/paulkaplan/scratch-vm into develop
2018-08-22 10:30:01 -04:00
Karishma Chadha
e8ccc1a123
Merge pull request #1511 from kchadha/restore-costume
...
Restore costume
2018-08-21 19:53:22 -04:00
Karishma Chadha
3fb48f9aa4
Add and update tests for deleteCostume functionality.
2018-08-21 15:42:14 -04:00
Karishma Chadha
e5ca208a41
Return function to restore a costume when it gets deleted.
2018-08-21 15:33:19 -04:00
Karishma Chadha
6f9da87abe
Merge pull request #1503 from kchadha/restore-sound
...
Restore sound
2018-08-21 15:28:39 -04:00
Karishma Chadha
a8c56948cb
Clean up test.
2018-08-21 15:23:14 -04:00
Karishma Chadha
0c53659476
Merge pull request #1475 from towerofnix/fix-repeat-count
...
Use round() instead of floor() in repeat
2018-08-21 12:58:54 -04:00
Karishma Chadha
6f9367a8e2
Merge pull request #1468 from gnarf/serialization-util
...
export deserializeBlocks method
2018-08-20 19:58:19 -04:00
Corey Frang
ae219e361a
Add comments for deserialization and add tests
2018-08-20 13:25:24 -04:00
Karishma Chadha
e0a1f464ce
Add and update unit tests for sound deletion.
2018-08-20 12:49:30 -04:00
Evelyn Eastmond
2121a3be80
Some small EV3 fixes ( #1494 )
...
* Fixing #1353 : Stop button should stop EV3 beep sound.
* Fixing #1358 : EV3 and Microbit: shouldn't send requests if not connected?.
* Fixing #1373 : EV3 motor does not brake at the end of a motor command.
2018-08-20 11:00:48 -04:00
Ray Schamp
4f18cdd4ee
Merge pull request #1497 from amazinigmech2418/revert-1453-round-setxy
...
Revert "round x and y like Scratch 2 does"
2018-08-20 10:36:46 -04:00
Evelyn Eastmond
5395f9c321
WeDo2 changes for upcoming smoke test ( #1493 )
...
* Starting on #1491 : use 'startNotifications' instead of 'read'. Still need to make backwards compatible.
* Fixing #1489 : WeDo2 set light color block should wrap values to 0-100.
* Fixing #1488 : WeDo2 should not clear LED light on stop button.
* Fixing to support negative LED light color inputs.
* Removing a binding.
* Using wrapClamp for inputHue for LED color block.
2018-08-19 22:09:57 -04:00
amazinigmech2418
f0d47923b0
Revert "round x and y like Scratch 2 does"
2018-08-17 20:35:42 -04:00
Karishma Chadha
24b098257b
Return restore sound function when deleting a sound.
2018-08-17 14:01:24 -04:00
Ray Schamp
a1249bd3f8
Merge pull request #1453 from mzgoddard/round-setxy
...
round x and y like Scratch 2 does
2018-08-17 10:26:15 -04:00
Karishma Chadha
84f4c8c0a6
Merge pull request #1486 from kchadha/fix-delete-sprite-local-vars
...
Fix issue with deleting sprite with local variables
2018-08-16 17:28:43 -04:00
Eric Rosenbaum
83b3eabf1d
Regulate micro:bit send timing ( #1471 )
...
* display blocks yield for 50ms
* WIP on microbit command send timing
* WIP on microbit command send timing
* Cleanup and JSDOC
* Send “withResponse” param to Link
* Remove caching, add busy timeout
2018-08-16 15:38:03 -04:00
Eric Rosenbaum
825035f503
Fix importing WeDo 2.0 blocks from SB2 ( #1487 )
...
* Fix wedo2 import from sb2
* Hide wedo play note block
2018-08-16 14:24:19 -04:00
Corey Frang
896e62d2c4
Also export serializeBlocks for round-tripping
2018-08-15 17:06:30 -04:00
Corey Frang
df9dbd112a
Make importing with deserialized stuff okay
2018-08-15 17:04:49 -04:00
Karishma Chadha
b95350da6e
Fix issue where deleting a sprite with a monitored local variable creates that local variable on all other sprites after switching sprites twice or more.
2018-08-15 14:31:40 -04:00
Evelyn Eastmond
0df334fd38
Fixes #1423 : WeDo commands should be able to be translated. ( #1482 )
2018-08-15 14:21:42 -04:00
Evelyn Eastmond
280be8379b
Merge pull request #1481 from evhan55/feature/wedo2-fixes
...
Various WeDo2 fixes and enhancements
2018-08-15 14:11:04 -04:00
Evelyn Eastmond
35a2411f92
Fixing motor direction block to also work when the motor is on indefinitely.
2018-08-15 14:01:08 -04:00
Evelyn Eastmond
c21d5eba1c
Merge pull request #1469 from ericrosenbaum/feature/wedo-icon
...
Add WeDo 2.0 block icon
2018-08-15 12:01:48 -04:00
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
Florrie
5af79a086b
Use round() instead of floor() in repeat, add unit test
2018-08-14 20:27:18 -03: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
Eric Rosenbaum
3af8a4eca5
Add WeDo 2.0 block icon
2018-08-14 13:51:17 -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
Corey Frang
fe46a81cc9
export deserializeBlocks method
2018-08-14 11:17:47 -04:00
Karishma Chadha
e6a7188613
Merge pull request #1463 from kchadha/update-parser
...
Bump scratch-parser version, pulling in validation error fixes.
2018-08-13 18:25:16 -04:00
Karishma Chadha
f663b1eb78
Update package-lock file.
2018-08-13 18:19:55 -04:00