Karishma Chadha
2fbd152c53
Make loadExtensionURL consistent with error handling logic in loadExtensionIdSync
2019-03-27 17:42:10 -04:00
Karishma Chadha
eccdeff2ce
Use async require with coreExample extension. Log a warning when attempting to load a non-built in extension synchronously. Simplify unit test.
2019-03-26 12:03:00 -04:00
Karishma Chadha
061b0b081f
Refactor loadExtensionURL for readability.
2019-03-25 16:39:00 -04:00
Karishma Chadha
efcb801fe3
Apply suggestions from code review
...
Add error cases in new functions and remove todo comment.
Co-Authored-By: kchadha <kchadha@media.mit.edu>
2019-03-25 16:32:51 -04:00
Karishma Chadha
30c9b7fd84
Add tests and update core example to handle stage being undefined.
2019-03-22 12:20:07 -04:00
Karishma Chadha
0e710ba3d9
Allow loading extensions synchronously. Add example extension to list of known internal extensions.
2019-03-22 12:20:06 -04:00
Karishma Chadha
bc2824dfdc
Add an example core blocks category using the extension spec.
2019-03-22 12:17:10 -04:00
picklesrus
7807dcecb4
Merge pull request #2042 from ktbee/clamp-graphics-effect
...
add clampEffect for limiting range of brightness and ghost effects
2019-03-13 15:23:18 -04:00
Michael "Z" Goddard
82d19bac4d
Merge pull request #1956 from mzgoddard/lazy-eval-big-dependencies
...
Lazy eval big dependencies
2019-03-12 17:11:26 -04:00
Katie Broida
92c1711937
add clampEffect for limiting range of brightness and ghost effects
2019-03-12 11:14:11 -04:00
Katie Broida
19a4329c8b
Merge pull request #2038 from ktbee/cast-sprite-names-to-string
...
Cast sprite name to string before getSpriteTargetByName
2019-03-08 11:52:23 -05:00
Katie Broida
c37745e97e
Cast sprite name to string before getSpriteTargetByName
2019-03-07 16:09:46 -05:00
Karishma Chadha
fa3771b320
Merge pull request #2037 from LLK/greenkeeper/scratch-parser-4.3.6
...
Update scratch-parser to the latest version 🚀
2019-03-06 11:59:14 -05:00
greenkeeper[bot]
6cf225c59d
chore(package): update lockfile package-lock.json
2019-03-06 16:28:50 +00:00
greenkeeper[bot]
d354d89f97
fix(package): update scratch-parser to version 4.3.6
2019-03-06 16:28:43 +00:00
Michael "Z" Goddard
882a83db9a
do not evaluate text-encoding until it is needed
...
text-encoding has about ~700KB of data that is great to skip decoding
for systems that have a browser provided TextDecoder.
2019-03-06 11:11:44 -05:00
Michael "Z" Goddard
bc5605cf80
lazy evaluate project loading related code
2019-03-06 11:11:44 -05:00
Michael "Z" Goddard
a5009b4c59
delay extension evaluation until that extension is installed
...
Reduce the amount of code that needs to evaluated before we can
starting the target project if there is one. It is key to note that the
music extension includes ~2MB of base64 encoded sound samples. This
skips evaluating those samples and decoding base64 into binary typed
arrays.
2019-03-06 11:11:44 -05:00
Michael "Z" Goddard
a791a1e64e
Merge pull request #1970 from mzgoddard/image-bitmap
...
Use Promise.all, createImageBitmap, and one canvas in `load-costume.js`
2019-03-06 11:05:49 -05:00
Michael "Z" Goddard
d717763cf5
Merge pull request #1981 from mzgoddard/bump-text-encoding
...
update text-encoding to latest version
2019-03-06 11:04:36 -05:00
Michael "Z" Goddard
d05a414439
turn getCanvas into a class CanvasPool
2019-03-06 10:53:15 -05:00
Michael "Z" Goddard
c01175613b
load-costume: idiomatic promise and createImageBitmap
2019-03-06 10:49:27 -05:00
Michael "Z" Goddard
9bd1bc5915
load-costume: use one canvas pool
2019-03-06 10:49:27 -05:00
Evelyn Eastmond
cd85e8ddfa
Merge pull request #2014 from evhan55/extensions/microbit-timeout
...
Fix micro:bit auto-disconnect from setInterval to setTimeout
2019-03-04 15:29:38 -05:00
Michael "Z" Goddard
53b0b7e923
update text-encoding to latest version
2019-03-04 13:01:37 -05:00
Michael "Z" Goddard
33f4482127
Merge pull request #1972 from mzgoddard/sound-bank-over-sprite
...
Sound bank over sprite
2019-03-04 12:51:10 -05:00
Michael "Z" Goddard
9350c2a9c2
Merge pull request #1947 from mzgoddard/sb2-load-assets-first
...
Deserialize sb2 assets before other sprite data and blocks
2019-03-04 12:50:09 -05:00
Karishma Chadha
49a891a014
Merge pull request #2000 from LLK/greenkeeper/scratch-sb1-converter-0.2.7
...
Update scratch-sb1-converter to the latest version 🚀
2019-03-04 12:35:43 -05:00
Karishma Chadha
ebfba83989
Merge branch 'develop' into greenkeeper/scratch-sb1-converter-0.2.7
2019-03-04 12:15:20 -05:00
Karishma Chadha
ff59ebd7c5
Merge pull request #2019 from LLK/greenkeeper/scratch-parser-4.3.5
...
Update scratch-parser to the latest version 🚀
2019-03-01 13:24:24 -05:00
Evelyn Eastmond
59ab3b717d
Fixing clearInterval > clearTimeout.
2019-03-01 10:04:56 -05:00
Evelyn Eastmond
7a1367d81a
Change from setInterval to setTimeout for auto disconnect feature.
2019-03-01 10:02:30 -05:00
greenkeeper[bot]
0b6613b2c1
chore(package): update lockfile package-lock.json
2019-02-27 22:53:18 +00:00
greenkeeper[bot]
6715b2ec34
fix(package): update scratch-parser to version 4.3.5
2019-02-27 22:53:13 +00:00
Chris Willis-Ford
bb42c0019c
Merge pull request #1998 from cwillisf/task-queue-enhancements
...
Task queue enhancements
2019-02-25 21:28:05 -05:00
Ray Schamp
8f4480f9b4
Merge pull request #2003 from mzgoddard/depend-on-uglify
...
Depend on uglifyjs-webpack-plugin
2019-02-25 16:00:19 -05:00
Katie Broida
cff1c2c0a4
Merge pull request #1959 from ktbee/declare-const-once
...
Declare const once to be reused in for loop
2019-02-25 15:57:52 -05:00
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
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