Christopher Willis-Ford
8dbcc1fc8f
style: fix hasOwnProperty lint complaints
2023-12-15 17:40:05 -08:00
apple502j
1012a2aa61
wrapClamp direction during sb/sb2 deserialization
2020-05-30 21:54:14 +09: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
Paul Kaplan
3b203a2a9b
Merge pull request #1995 from paulkaplan/is-discrete
...
Support isDiscrete flag on monitors
2019-02-13 11:19:51 -05:00
Paul Kaplan
6754fa9334
Add isDiscrete to monitor record, update sb2,3 and conversion tests
2019-02-11 11:09:01 -05:00
picklesrus
ecbfcd78bd
Fix sb2 loading of broadcast messages with special characters.
2019-02-06 16:48:39 -05:00
Karishma Chadha
57f112cbfd
Remove unsafe chars from variable ids when importing from 2.0.
2019-02-04 10:29:24 -05:00
Karishma Chadha
e5723e299a
Add runtime to blocks container since it was getting passed in everywhere where it was being referenced. Update calls to blocks constructor.
2019-01-23 18:18:38 -05:00
Karishma Chadha
fbee37e915
Populate executable targets when runtime.targets is populated so that scripts don't run before they are supposed to (e.g. before targets are done getting installed).
2019-01-11 14:52:34 -05:00
Paul Kaplan
c33d6caa2b
Merge pull request #1902 from picklesrus/unknown-monitors
...
Allow projects with unknown monitors to load.
2019-01-09 14:50:25 -05:00
picklesrus
cdec5a1cef
Allow projects with unknown monitors to load.
2019-01-08 15:00:00 -05:00
Karishma Chadha
c27b624401
When loading a project, clamp the currentCostume number to an appropriate value.
2019-01-08 13:07:46 -05:00
Ray Schamp
80ff7e6756
Generate md5s for uploaded assets
...
Without this, we were erroneously setting uploaded assets as clean, so they wouldn't be saved when uploaded from an .sb2/3 file.
2019-01-02 11:46:47 -05:00
Karishma Chadha
eeac4e62f6
Fix issue where sb2s originally from sb1s sometimes have baseLayerMd5 formatted incorrectly.
2018-12-10 18:17:24 -05:00
Katie Broida
ef8bbb7186
Set video state after project load event, adding extension for the first time
2018-12-05 11:08:00 -05:00
DD Liu
5802723dc7
Merge pull request #1737 from fsih/textLayer
...
Support text layer in sb2 files
2018-11-21 13:18:47 -05:00
Valerie Young
2ca735eab4
Merge pull request #1716 from bocoup/unknown-block-input-fix
...
Handle unknown opcode in input
2018-11-15 10:09:46 -05:00
Eric Rosenbaum
26ced0dd58
Use note picker in imported play note blocks ( #1757 )
...
* Use note picker in imported play note blocks
* Set default for obscured note shadows to 60
2018-11-14 14:55:12 -05:00
Valerie R Young
ebd3b46cc2
Address feedback
2018-11-14 14:24:09 -05:00
Karishma Chadha
dccb41e3c4
Comment and test cleanup.
2018-11-14 10:42:52 -05:00
Karishma Chadha
cfa71723eb
Ignore video sensing monitor and import music tempo monitor unless it is hidden. Load extensions for visible monitors. Add tests for new functionality.
2018-11-09 00:09:54 -05:00
Karishma Chadha
87244b4110
Normalize capitalization of sensing_current block fields during sb2 import and during monitor id generation. Update monitors integration test to include sensing_current block monitors.
2018-11-08 14:11:30 -05:00
Karishma Chadha
5db3db3a92
monitor id getter should use block fields instead of a list of strings
2018-11-08 01:33:26 -05:00
Karishma Chadha
7d1226458f
Fix import of current day of week block from sb2.
2018-11-08 00:37:49 -05:00
Karishma Chadha
0e7eae98d5
Separate out monitors for blocks reporter blocks that have parameters.
2018-11-08 00:37:28 -05:00
Karishma Chadha
8aa0fa11aa
Merge pull request #1649 from mzgoddard/get-attribute-stage-alt-name
...
Get attribute stage alt name
2018-11-07 17:47:44 -05:00
DD
88b6bdd06c
Get text assets from zip
2018-11-05 18:07:56 -05:00
DD
86149325b1
Try to make loadCostume more readable, and revert deserializeCostume to changing the costume object directly
2018-11-05 17:11:07 -05:00
Michael "Z" Goddard
bca01a9ed2
rename Stage to _stage_ when its the OBJECT input for getAttributeOf
2018-11-01 12:33:56 -04:00
Valerie R Young
26c928d10b
Handle unknown opcode in input
2018-10-31 17:40:08 -04:00
Karishma Chadha
1df6743a5f
Refactor cloud data manager to break out cloud data limit check vs. limit update.
2018-10-31 13:40:05 -04:00
Karishma Chadha
848deaff30
Track whether a project has cloud data and enforce a cloud data limit on projects being loaded into the runtime.
2018-10-30 18:53:57 -04:00
Ray Schamp
de86eb3f19
Merge pull request #1691 from rschamp/storage-no-cache
...
Store asset objects on costumes and sounds
2018-10-25 10:15:47 +01:00
Katie Broida
18c83dcc67
Prevent non-core extensions from adding monitors ( #1688 )
2018-10-24 16:43:01 -04:00
Ray Schamp
902aee48ee
Merge branch 'develop' of https://github.com/LLK/scratch-vm into storage-no-cache
...
# Conflicts:
# package-lock.json
2018-10-24 12:09:06 +01:00
Ray Schamp
b47912dce4
Store asset objects on costumes and sounds
...
Stop using storage for in-memory storage, and keep these on the vm objects. Towards https://github.com/LLK/scratch-vm/issues/1577
2018-10-23 11:10:50 +01:00
DD
91e2f3a935
Revert 1643 Confirm extension in use in sb2 serialization
2018-10-18 11:06:13 -04:00
Katie Broida
899ce56214
Confirm extension in use in sb2 serialization ( #1643 )
...
Add a check when serializing sb2 projects to see whether an extension is actually in use in a block or a visible monitor.
2018-10-17 10:49:08 -04:00
Andrew Sliwinski
7a28d5e41d
Merge pull request #1586 from mzgoddard/variable-id-type
...
conflict workaround for variables and lists of the same name
2018-10-01 18:27:59 -04:00
Karishma Chadha
0ad59d3859
Merge pull request #1563 from mzgoddard/get-param-condition-input
...
Get param condition input
2018-09-18 15:29:43 -04:00
Michael "Z" Goddard
a5151a0446
generate sb2 variable ids with variable type
...
Make variables and lists with the same name have unique IDs so they
don't clobber the other in the variables map on the target.
2018-09-14 16:53:48 -04:00
Michael "Z" Goddard
ea55b3ed55
add inputOp to every input arg in the sb2 specmap
...
Add missing meta information in the inputOp value for some arguments.
`boolean` and `substack`, the new inputOp values, are not considered to
be shadowed values.
2018-09-13 12:42:54 -04:00
Michael "Z" Goddard
34b77d2024
ensure argument_reporter_boolean is used in CONDITION input
2018-09-07 17:26:24 -04:00
Michael "Z" Goddard
db7b356825
rename stage monitors along with stage
...
Rename Stage object and monitors together then use the set name to name
the sprite.
2018-09-07 14:36:44 -04:00
Michael "Z" Goddard
609350a7fc
pass parseState info in sb2 deserializer
...
Pass state information beyond the current block.
2018-09-07 14:00:23 -04:00
Ray Schamp
9c556219ce
Merge pull request #1528 from kchadha/fix-comment-import
...
Fix Comment import/save/load issue
2018-08-28 16:04:53 -04:00
Karishma Chadha
2c24ef37a0
Fix issue where block comments converted to workspace comments import correctly when there are no scripts on the workspace.
2018-08-24 14:29:10 -04:00
Karishma Chadha
0532f9a80a
Fix issue where a c-block that contained only blocks with unknown opcodes, was causing an import error.
2018-08-23 18:20:45 -04:00
Karishma Chadha
5e1dd8a7cf
Fix issue with importing projects from 2.0 where block comments were converted to workspace comments and the corresponding block was deleted.
2018-08-22 18:41:47 -04:00