Kenny2github
3f1c4aa2d8
thought I was being smart by using inline assignment, but noooooo
2018-05-08 08:27:51 +08:00
Kenny2github
e3b7f53319
Make sure switched costume is not current costume
2018-05-08 08:21:27 +08:00
Michael "Z" Goddard
8107349bec
Comment BlockCached
2018-05-07 15:32:31 -04:00
Michael "Z" Goddard
2db2287d12
BlockCached instances are always initialized
2018-05-07 15:32:30 -04:00
Michael "Z" Goddard
5fd749918f
Reuse argValues
...
Block args set by fields are static and never change. Inputs that do
change are always set onto args. With these two assumptions we can
reuse the same objects for each execution of the same block instead of
constantly creating them and letting them be garbage collected.
2018-05-07 15:32:30 -04:00
Michael "Z" Goddard
9b82530f51
Use a constructor to create the execute cache objects
2018-05-07 15:32:30 -04:00
Ray Schamp
784705d46e
Merge pull request #1105 from mzgoddard/dynamic-load-music
...
Dynamically load music extension manifest
2018-05-07 14:38:37 -04:00
Ray Schamp
a9a23ef589
Merge pull request #1104 from mzgoddard/webpack-4
...
Update to webpack 4
2018-05-07 11:28:51 -04:00
Michael "Z" Goddard
0634e962a8
Add Thread.StackFrame class
...
Use a private StackFrame class to help internally manage use of Stack
Frame values and memory. Create params, reported, and executionContext
on demand.
2018-05-07 11:20:26 -04:00
Ray Schamp
a3324c6a38
Major-pin webpack
2018-05-07 10:41:18 -04:00
Ray Schamp
9f33b593b3
Merge pull request #1112 from mzgoddard/babel-preset-env
...
Update babel-preset-es2015 to babel-preset-env
2018-05-07 10:34:34 -04:00
Kenny2github
4419014421
Handle random backdrop
2018-05-05 18:25:18 +08:00
Michael "Z" Goddard
dcb6a3ac56
Update babel-preset-es2015 to babel-preset-env
...
Use the common scratch browserlist configuration used for styling and babel
transforming in other scratch repositories.
2018-05-04 15:49:12 -04:00
Michael "Z" Goddard
ff7b575114
Dynamically load music extension manifest
2018-05-04 15:47:48 -04:00
kchadha
16c6868779
Merge pull request #1110 from kchadha/sprite-upload
...
Support for Sprite Upload
2018-05-04 14:56:31 -04:00
Karishma Chadha
3db2083294
Address PR comment.
2018-05-04 14:48:29 -04:00
Paul Kaplan
7ae0511e3f
Merge pull request #1117 from kchadha/update-svg-bitmapRes
...
Updating vector should make bitmap resolution 1.
2018-05-04 14:40:55 -04:00
Karishma Chadha
8cdc9dc2cd
Updating vector should make bitmap resolution 1.
2018-05-04 14:39:20 -04:00
Paul Kaplan
15db23244f
Merge pull request #1114 from kchadha/fix-broken-bitmap-res
...
Fix broken rotation center on vector sprites
2018-05-04 14:01:55 -04:00
Karishma Chadha
0156dd139d
Do not delete bitmap resolution property when vector is edited because there are other things that still rely on it.
2018-05-04 13:37:07 -04:00
Karishma Chadha
9b1aa7d7c7
Move comments
2018-05-04 11:00:45 -04:00
Karishma Chadha
0848a1a4ca
Update scratch-parser.
2018-05-04 11:00:45 -04:00
Karishma Chadha
55352e88b1
Tests and cleanup of addSprite3 so that .sprite3 format does not need to be nested inside an extra {targets: ...}
2018-05-04 11:00:45 -04:00
Karishma Chadha
9cc34d7406
Fix attribute of block so that it doesn't have errors if referenced target doesn't exist.
2018-05-04 11:00:45 -04:00
Karishma Chadha
7d36054cf6
Update scratch-parser version.
2018-05-04 11:00:45 -04:00
Karishma Chadha
adf7571851
Add API to generically validate and add sprite based on validation results.
2018-05-04 11:00:45 -04:00
Karishma Chadha
d5c91c3b41
Merge branch 'develop' of github.com:LLK/scratch-vm into develop
2018-05-04 09:41:24 -04:00
Ray Schamp
1fcbbc261f
Merge pull request #1111 from mzgoddard/arraybuffer-loader
...
Use arraybuffer-loader in place of buffer-loader
2018-05-04 09:08:02 -04:00
Michael "Z" Goddard
8e252f2d7d
Use arraybuffer-loader in place of buffer-loader
2018-05-03 18:58:59 -04:00
Michael "Z" Goddard
f60d8fc4c1
Update to webpack 4
2018-05-03 18:57:48 -04:00
Eric Rosenbaum
4cee734cde
Merge pull request #1008 from towerofnix/itemnum-vm
...
Implement "item # of (thing) in (list)" block
2018-05-03 18:08:31 -04:00
Karishma Chadha
c81f2ffeb8
Merge branch 'develop' of github.com:LLK/scratch-vm into develop
2018-05-03 13:09:50 -04:00
Eric Rosenbaum
9979391200
Merge pull request #1085 from ericrosenbaum/feature/key-droppability
...
Re-write keyboard IO for droppability support
2018-05-03 11:10:24 -04:00
Karishma Chadha
38febb1528
Merge branch 'feature/key-droppability' of https://github.com/ericrosenbaum/scratch-vm into develop
2018-05-03 09:54:40 -04:00
Michael "Z" Goddard
a635e72741
Merge pull request #1067 from mzgoddard/boolean-shadow-test
...
Boolean shadow regression test
2018-05-02 17:49:47 -04:00
Michael "Z" Goddard
dbe548eb18
Move execute integration fixtures into test/fixtures
2018-05-02 15:54:54 -04:00
Michael "Z" Goddard
f10d6a847e
Test a procedure with argument types: number, number, boolean
...
- Add tests for blocks used by the procedure test in case the smaller block
sets are what is causing the procedure to fail instead of procedure or
argument passing behaviour
2018-05-02 15:54:26 -04:00
Michael "Z" Goddard
6968f1769e
Test virtual machine execution with SAY
...
Test the virtual machine handling of scratch scripts by authoring scratch
projects that use SAY blocks to "pass" or "fail" tests. Let tap know how many
tests are in the "plan". And when the test will "end".
2018-05-02 15:54:25 -04:00
Eric Rosenbaum
49802688dd
Move key name strings to top
2018-05-02 15:34:17 -04:00
Eric Rosenbaum
23dd898daf
Use obj.map (can’t use obj.values)
2018-05-02 09:52:04 -04:00
DD Liu
5e6873628e
Merge pull request #1082 from fsih/updateBitmap
...
Add updateBitmap function. getCostume can now serve bitmaps as well as svgs
2018-05-01 17:05:34 -04:00
kchadha
54ee628b27
Merge pull request #1099 from towerofnix/scrollcompat-vm
...
"Implement" scroll blocks
2018-05-01 15:52:42 -04:00
kchadha
2b6f96ae0a
Merge pull request #1096 from towerofnix/warpspeed-vm
...
Implement "all at once" block
2018-05-01 15:43:37 -04:00
kchadha
3161831890
Merge pull request #1102 from towerofnix/misc-noop-vm
...
"Implement" miscellaneous no-op obsolete blocks
2018-05-01 15:42:53 -04:00
Florrie
25bb4bc82c
Remove doNothing method
2018-05-01 14:00:34 -03:00
Florrie
97a9b37843
Remove doNothing methods
2018-05-01 13:58:09 -03:00
Florrie
8d13bf3662
Add comment explaining all-at-once
2018-05-01 13:43:32 -03:00
kchadha
ae8c1e0ebf
Merge pull request #1101 from towerofnix/loud-vm
...
Implement "loud?" block
2018-05-01 10:19:26 -04:00
Eric Rosenbaum
85ac307261
Access key name strings from a getter
2018-05-01 09:01:36 -04:00
Mx Corey Frang
08a992f28d
Add a project to benchmark sensing_touchingobject vs other sprites ( #1094 )
2018-05-01 08:57:16 -04:00