Karishma Chadha
475eaf3dfa
Merge pull request #1969 from mzgoddard/benchmark-more-data
...
Benchmark more data
2019-02-25 11:38:09 -05:00
Eric Rosenbaum
ab6a60357e
Merge pull request #2008 from ericrosenbaum/feature/vernier-block-updates
...
Vernier Force & Accel extension updates
2019-02-25 11:10:02 -05:00
Michael "Z" Goddard
0e9357b062
benchmark load now
...
This is a slight ergonomics improvement for faster benchmark loading.
We should be able to apply this to gui as well if it already does do
the same thing.
2019-02-22 16:01:09 -05:00
Michael "Z" Goddard
991acbb36a
benchmark more loading stats
...
- Display time to load just the (json) data
- Display progress and time for content
- Display progress and time hydrating the downloaded assets
2019-02-22 16:01:08 -05:00
Michael "Z" Goddard
84de5cdc7e
determine _pushThread defaults without Object.assign
2019-02-22 15:56:34 -05:00
Kevin Andersen
40c022ca8e
- Refactoring of output commands:
...
- Simplified generateOutputCommand() to follow the LEGO Wireless Protocol command-structure. Every output-command must have a portID, execution information, sub-command, and then followed by a custom payload which must be defined according to the protocol documentation mentioned in the extension.
- Simple motor commands now use the above subcommand-structure rather than the former primitive command structure.
- stopLED()-function removed since it's not used
- Implemented check of pendingPromiseFunction() for motors before firing.
2019-02-22 12:50:19 -05:00
Kevin Andersen
9767d72188
- Cleaned up TODOs!
...
- Added and made use of more enums rather than hardcoded bytes
2019-02-21 14:47:30 -05:00
Kevin Andersen
a3dcdd01dd
Merge branch 'develop' of https://github.com/LLK/scratch-vm into boostextension
2019-02-21 14:00:43 -05:00
Kevin Andersen
1d72b3b971
- Removed unused distance-mode from BoostMode-enum
...
- Added descriptions to BoostMode-enums
- Improved motor-position handling
- Added helper-functions for converting to/from motor position values
- Added default value to BoostMotor._pendingPromiseFunction
- Added changeLedColorBy-block
- Only motors will now try to resolve motor-promises
- Changed motor position wording from 'zero' to 'reset'
- Modified tilt-thresholds to improve tilt-handling
2019-02-21 13:35:21 -05:00
Eric Rosenbaum
c0e80edfcc
Update block and menu icons
2019-02-20 11:13:00 -05:00
Eric Rosenbaum
931d7e9a62
More re-ordering
2019-02-20 11:00:21 -05:00
Eric Rosenbaum
9e650279a6
Re-order blocks
2019-02-20 10:59:07 -05:00
Eric Rosenbaum
7da54dd067
Add tilted any option
2019-02-20 10:49:03 -05:00
Eric Rosenbaum
a19585af75
Add tilt blocks
2019-02-19 16:09:58 -05:00
Eric Rosenbaum
ba548701e2
Set update rate to 80ms
2019-02-19 15:14:37 -05:00
Eric Rosenbaum
f4662f833f
rename “tilt angle” and “spin speed” reporters
2019-02-19 15:06:03 -05:00
Eric Rosenbaum
ec2ca32ffa
Remove “moved” gesture
2019-02-19 13:55:24 -05:00
Christopher Willis-Ford
e6dd3f1175
Fix TaskQueue constructor when no options passed
2019-02-15 15:20:38 -08:00
Michael "Z" Goddard
e79bed276a
depend on uglifyjs-webpack-plugin
...
uglifyjs-webpack-plugin is used in webpack.config.js.
2019-02-15 18:04:06 -05:00
Michael "Z" Goddard
146e93e4ec
start loading sb2 sounds before handling sb2 data
2019-02-15 17:43:55 -05:00
Michael "Z" Goddard
d4320f1c26
start loading sb2 assets before handling sb2 data
2019-02-15 17:34:14 -05:00
Karishma Chadha
a86dc5bb58
Merge pull request #1944 from mzgoddard/benchmark-load-time
...
Benchmark load time
2019-02-15 13:52:48 -05:00
greenkeeper[bot]
f1c7d10274
chore(package): update lockfile package-lock.json
2019-02-15 15:12:00 +00:00
greenkeeper[bot]
f64eaa3329
fix(package): update scratch-sb1-converter to version 0.2.7
2019-02-15 15:11:54 +00:00
Kevin Andersen
e99a217ba5
Merge branch 'develop' of https://github.com/LLK/scratch-vm into boostextension
2019-02-14 13:31:13 -05:00
Kevin Andersen
32a9674b5d
Added disconnect-handling per new extensions-spec. Motor-commands that fail will now also cause their blocks to complete
2019-02-14 13:30:58 -05:00
Evelyn Eastmond
894828d54b
Merge pull request #1990 from evhan55/bug/gdxfor-tilt
...
Vernier gdxfor tilt values 0 when disconnected
2019-02-13 15:46:49 -05:00
unknown
ac571ece5a
Fixing comment.
2019-02-13 14:14:05 -05:00
Evelyn Eastmond
8bbdc4e691
Resolves #1988 : Vernier gdxfor tilt values should be 0 when disconnected.
2019-02-13 14:14:05 -05:00
Chris Willis-Ford
7ab41d2bd9
Merge pull request #1881 from apple502j/pen-legacy
...
Fix legacy `set pen color` block's transparency behavior
2019-02-13 10:51:47 -08:00
Chris Willis-Ford
a02fb3877b
Merge pull request #1871 from Affonso-Gui/fix_dynamic_menu_string
...
Fix dynamic menus for string arrays
2019-02-13 10:41:36 -08:00
Paul Kaplan
3b203a2a9b
Merge pull request #1995 from paulkaplan/is-discrete
...
Support isDiscrete flag on monitors
2019-02-13 11:19:51 -05:00
Christopher Willis-Ford
be040f4c9b
TaskQueue: Add option for max total cost
2019-02-12 18:57:58 -08:00
Christopher Willis-Ford
2a9a3b11b9
TaskQueue: support canceling a single task
2019-02-12 18:11:13 -08:00
Kevin Andersen
245ba998d2
merge changes from origin/develop
2019-02-12 13:18:28 -05:00
chrisgarrity
77fd88302f
Merge pull request #1993 from chrisgarrity/handle-nested-sb2
...
handle sb2 files zipped in a folder
2019-02-12 16:41:27 +01:00
chrisgarrity
8f22fc6af3
update scratch-parser version
...
include the new version of the scratch-parser that handles nested sb2 files.
2019-02-12 16:20:14 +01:00
Kevin Andersen
e2bd28b85e
Cleaned up documentation (WIP). Added Output subcommand enum for use throughout extension
2019-02-12 10:10:21 -05:00
Karishma Chadha
59f58b0284
Merge pull request #1933 from ErikMejerHansen/feature/field_type_support
...
Feature/field type support
2019-02-12 09:59:22 -05:00
chrisgarrity
7f37934eae
rewrite readProjectFile to automatically handle nested project jsons
2019-02-12 11:24:26 +01:00
Christopher Willis-Ford
d27dc5d54a
TaskQueue: reduce number of async steps before task runs
2019-02-11 12:46:48 -08:00
Christopher Willis-Ford
5a17bb1451
Add clearTimeout
to Timer and MockTimer
2019-02-11 12:14:44 -08:00
Kevin Andersen
c902bbaa0d
Cleaned up some documentation. Consolidated and renamed Boost enums
2019-02-11 11:30:22 -05:00
Paul Kaplan
6754fa9334
Add isDiscrete to monitor record, update sb2,3 and conversion tests
2019-02-11 11:09:01 -05:00
Paul Kaplan
8c92d195f7
Update monitors sb2 integration test for editing locally.
...
I cannot open the sb2 file without modifying the width/height of the lists, and editing+rezipping does not seem to work for me, so I need to change this width/height before I can make real changes to the tests.
2019-02-11 10:59:07 -05:00
Kevin Andersen
bf02426a4a
added named variables to onMessage for readability. Changed wording of motor-blocks. Added BLE Advertisement Manufacturer Data as filter for scanning, for https://github.com/LLK/scratch-link/issues/112
2019-02-11 10:57:57 -05:00
chrisgarrity
7e9297145d
Add test for nested sb2
2019-02-11 10:24:34 +01:00
chrisgarrity
a4b0550013
handle sb2 files zipped in a folder
...
If the asset can’t be found by name, look for the same asset in a folder within the zipfile.
2019-02-08 15:03:27 +01:00
Chris Willis-Ford
51252531af
Update src/extensions/scratch3_pen/index.js
...
Co-Authored-By: apple502j <33279053+apple502j@users.noreply.github.com>
2019-02-08 20:03:54 +09:00
Chris Willis-Ford
2d575a9208
Update src/extensions/scratch3_pen/index.js
...
Co-Authored-By: apple502j <33279053+apple502j@users.noreply.github.com>
2019-02-08 20:03:48 +09:00