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
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
Kreg Hanning
2af04c43ea
Ignore display command with blank string ( #1355 )
2018-07-17 16:09:12 -04:00
Evelyn Eastmond
c4ee7065a2
EV3/Microbit critical fixes for code freeze ( #1354 )
...
* Resolves - BLESession and BTSession should emit PERIPHERAL_SCAN_TIMEOUT #1348 .
* Resolves - BLESession should handle 'could not find service' error #1350 .
* Resolves - BTSession should handle 'no peripheral connected' error #1351 .
* Fixing a typo that caused device scan timeout bugs.
* Resolves - Add casting and clamping throughout the EV3 extension #1352 .
* Fixing a linting error.
* Further fixes for issue #1351 .
2018-07-17 16:03:05 -04:00
Eric Rosenbaum
1dcdfc9548
Use secure web socket address for ble and bt connection ( #1359 )
2018-07-17 15:40:47 -04:00
Karishma Chadha
99c1ce9286
Fix variable conflict that arises during sprite upload where the sprite may reference a global variable that conflicts with the name of a local variable on a different sprite in the project.
2018-07-17 15:37:28 -04:00
kchadha
0776845a94
Merge pull request #1347 from kchadha/fix-var-rename-delete
...
Fix local var rename/delete
2018-07-17 11:07:13 -04:00
Eric Rosenbaum
b8ea846eed
Use 2x png for microbit icon ( #1346 )
...
* Use file-loader for png
* Use 2x png for microbit block icon
* Load png via data URI
* JSDOC
2018-07-17 09:21:44 -04:00
Karishma Chadha
ee9a99b928
Fix variable deletion bug.
2018-07-15 19:00:55 -04:00
Karishma Chadha
a8fc399746
Fix var rename bug where variable would go back to old name after switching sprites.
2018-07-15 18:58:56 -04:00
picklesrus
bf22cdbf13
Make the end listening sound only play one time even if multiple bloc… ( #1232 )
...
* Make the end listening sound only play one time even if multiple blocks stop listening at the same time.
* Update for new sound API
2018-07-15 15:04:27 -04:00
picklesrus
ed78231fe9
Turn speech block text into i18n messages. ( #1224 )
...
* Turn speech block text into i18n messages.
* Update message descriptions and other code review comments.
* fix typo
* Add bit about not translating Google to message description.
* Change default when I hear text
2018-07-15 14:34:24 -04:00
picklesrus
bd83d66bff
Update speech extension to use new audio engine api since the old version no longer exists. ( #1272 )
2018-07-15 14:23:14 -04:00
Paul Kaplan
3fa28cac35
Merge pull request #1326 from kchadha/share-local-var-fix
...
Fix variable conflicts that arise when sharing the love with the stage.
2018-07-13 13:24:49 -04:00
Evelyn Eastmond
133ade7f48
EV3 port and sensor polling updates ( #1342 )
...
* Add motor rotate, without coasting yet. Fixed some todos.
* Removing logging.
* Implemented motor set position, motor set power, and beep note for time blocks. Changed labels on motor blocks. Tracking motor speeds for all ports.
* Fixing motor ports to 0-3 and then output bit field when sending commands.
* Added stop all motors with stop button. Added port masking function. Some cleanup. Moved beeping up an octave.
* Combine device list polling and sensor polling into a single timeout call, device list requested every 20 times.
* Don't reset sensors on device update. Don't store undefined sensor/motor values. Some comments.
* Fixing some linting.
2018-07-13 13:14:53 -04:00
Karishma Chadha
2b2fc2e561
Code cleanup, refactor, abstraction
2018-07-13 12:58:45 -04:00
Michael "Z" Goddard
fee3c4cc04
fix unnecessary stackClick report from nested promise reporters
...
Check that a reporting block is the last operation as part of some
parent block. The last operation is the block itself which may report
values for stack clicks and monitor updates if it meets other
requirements.
2018-07-13 10:23:42 -04:00
Karishma Chadha
13df3e7bd6
Add unit tests and fix object shallow vs. deep copying bug.
2018-07-13 09:36:43 -04:00
Karishma Chadha
406e59fc18
Fix variable conflicts that arise when sharing the love of a sprite-local variable with the stage.
2018-07-13 09:36:43 -04:00
Andrew Sliwinski
c69a59575d
Merge pull request #1316 from ericrosenbaum/feature/language-reporter
...
Change translate extension reporter block text to 'language'
2018-07-13 08:41:33 -04:00
Paul Kaplan
ec0ac19772
Merge pull request #1332 from ericrosenbaum/bugfix/microbit-bail-out
...
Microbit write bails out if not connected
2018-07-13 08:32:58 -04:00
Paul Kaplan
b9203ac5d6
Merge pull request #1333 from ericrosenbaum/bugfix/fix-microbit-extension-name
...
Change extension name to micro:bit
2018-07-13 08:32:45 -04:00
Paul Kaplan
b33d9ba4e0
Merge pull request #1335 from mzgoddard/fix-execute
...
fix asynchronous block execution
2018-07-13 08:32:20 -04:00