kchadha
|
adfbeddcab
|
Merge pull request #964 from kchadha/save-load
Preliminary Save and Load Work
|
2018-03-09 09:34:44 -05:00 |
|
kchadha
|
d59a4ffd55
|
VM receives input buffer representing project to load and unpacks it as zip. This functionality will eventually move to storage.
|
2018-03-08 10:25:58 -05:00 |
|
kchadha
|
cc2bf1dfc7
|
Merge pull request #957 from kchadha/mouse-up-drag-end
Use flag to selectively activate 'when this sprite clicked' hat on mouse up
|
2018-03-07 13:26:28 -05:00 |
|
Chris Willis-Ford
|
219f083a29
|
Merge pull request #934 from picklesrus/extensions-dynamic-menu
Extensions dynamic menu
|
2018-03-06 16:33:26 -05:00 |
|
Karishma Chadha
|
d6e248aab8
|
VM should do the heavy lifting of saving project to a zip file, and return a promise of the zip to gui.
|
2018-03-05 17:20:36 -05:00 |
|
Karishma Chadha
|
c0afcd2ab3
|
Ensure that md5 and assetId stay in sync.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
9d8602db93
|
Removing specific save-load branch dependency now that scratch-parser has been updated.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
605ce4b16d
|
Configuring scratch-vm to use changes made to scratch-parser.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
e0b23cde31
|
Can load saved sb3 files (including sounds and costumes that were modified in the 3.0 editors and saved in the sb3 zip when the project was saved). Tests still need to be fixed.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
089df0a50f
|
Sounds get updated in storage and vm runtime when they are updated in the sound editor. The updateSvg function ensures that the costume that was edited has an updated dataFormat property in the vm runtime. This is specifically for when pngs get edited in the vector editor. Their file format should then get updated to svg.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
52c77d9fb0
|
Updating asset serialization code to get data format from stored asset rather than vm state. Storage seems to be more up to date than vm in the case of editing the blank backdrop, which is stored as a png instead of an svg.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
525a8c2ce7
|
Serializing sounds and costumes into file descriptors upon 'saveProjectSb3'.
|
2018-03-05 15:16:06 -05:00 |
|
Karishma Chadha
|
1169f5badd
|
Hooking up vm to scratch-parser for sb2 validation.
|
2018-03-05 15:16:06 -05:00 |
|
DD Liu
|
02c6002bb2
|
Merge pull request #961 from fsih/returnCostumes
Temporarily return real costumes array. GUI currently relies on this behavior somewhere
|
2018-03-05 12:02:41 -05:00 |
|
DD Liu
|
97d3785554
|
Temporarily return real costumes array. GUI currently relies on this behavior somewhere
|
2018-03-05 11:07:50 -05:00 |
|
picklesrus
|
16ecaab1be
|
Fix up comment.
|
2018-03-02 11:07:22 -08:00 |
|
picklesrus
|
026b9dc282
|
Stop wrapping function for no reason.
|
2018-03-02 11:02:56 -08:00 |
|
kchadha
|
a0c7d9aeb3
|
Merge pull request #956 from kchadha/validate-sb2
Validate sb2
|
2018-03-02 10:28:53 -05:00 |
|
DD Liu
|
a907dba639
|
Merge pull request #943 from fsih/privateSprite
Make sprite.costumes private
|
2018-03-01 17:34:40 -05:00 |
|
DD
|
b885402081
|
Merge branch 'develop' into privateSprite
|
2018-03-01 17:27:10 -05:00 |
|
Eric Rosenbaum
|
5d658b5ecb
|
Merge pull request #953 from ericrosenbaum/bugfix/load-tempo-from-sb2
Load tempo from sb2
|
2018-03-01 13:20:37 -05:00 |
|
Eric Rosenbaum
|
981fc57a43
|
Merge pull request #950 from ericrosenbaum/bugfix/import-music-menus
Fix music extension menu import
|
2018-02-28 18:47:30 -05:00 |
|
kchadha
|
8bebc1f5a2
|
Merge pull request #952 from kchadha/duplicate-sprite-names
Duplicating sprite should give new sprite a fresh name.
|
2018-02-28 17:13:19 -05:00 |
|
Karishma Chadha
|
d9fb315e3b
|
Removing log messages.
|
2018-02-28 17:10:54 -05:00 |
|
Ray Schamp
|
4e933eed81
|
Merge pull request #878 from davidaylaian/reduce-peekstack-calls
Optimize stepThread by reducing the number of calls to peekStack
|
2018-02-28 16:50:20 -05:00 |
|
Karishma Chadha
|
d51a2ad39f
|
Use wasDragged flag to selectively activate 'when this sprite clicked' block on mouse up.
|
2018-02-28 16:45:26 -05:00 |
|
Karishma Chadha
|
7c7b016643
|
scratch-parser expects json string...
|
2018-02-28 11:52:22 -05:00 |
|
Karishma Chadha
|
59d1c2a0b3
|
Code cleanup and actually throw errors when project fails to load. Depends on scratch-gui loading sb3 version of default project.
|
2018-02-28 10:02:02 -05:00 |
|
Eric Rosenbaum
|
a0525542fc
|
Stub runtime to fix unit test
|
2018-02-27 15:38:34 -05:00 |
|
Eric Rosenbaum
|
db795abfbc
|
Use tempo stored in stage
|
2018-02-27 11:48:49 -05:00 |
|
Eric Rosenbaum
|
7e5e43fbe1
|
Load tempo from sb2
|
2018-02-27 11:48:23 -05:00 |
|
Eric Rosenbaum
|
237616490f
|
Add tempo property to rendered target
|
2018-02-27 11:48:14 -05:00 |
|
Karishma Chadha
|
8c5c68b896
|
Duplicating sprite should give new sprite a fresh name.
|
2018-02-26 23:17:25 -05:00 |
|
Karishma Chadha
|
79169c81b3
|
Use scratch-parser to validate structure of project json files.
|
2018-02-26 22:43:55 -05:00 |
|
Eric Rosenbaum
|
651d46fff0
|
Add default values for obscured shadows
|
2018-02-26 17:28:20 -05:00 |
|
Paul Kaplan
|
1f3c6ac6ad
|
Merge pull request #939 from fsih/blockDrag
Block drag
|
2018-02-26 16:26:53 -05:00 |
|
Eric Rosenbaum
|
8b18ff7ae9
|
make inputOP, arg name and menu name the same
|
2018-02-26 15:56:37 -05:00 |
|
Paul Kaplan
|
58702a78fd
|
Merge pull request #944 from fsih/duplicateCostume
Duplicate costume
|
2018-02-26 07:59:32 -05:00 |
|
DD
|
9a65df4c12
|
Make index optional
|
2018-02-23 16:24:18 -05:00 |
|
DD
|
10789cd779
|
Bring in Karishmas changes from save-load to ensure the sound gets updated in storage when edited
|
2018-02-23 16:21:07 -05:00 |
|
DD
|
bb0394a668
|
Fix lint
|
2018-02-23 16:09:38 -05:00 |
|
DD
|
0a5ccbf42f
|
Use existing UID util
|
2018-02-23 12:07:07 -05:00 |
|
DD
|
8355dd662f
|
Switch to sending end drag event to be handled by gui
|
2018-02-23 11:57:19 -05:00 |
|
DD
|
2239d1b92b
|
Use promises
|
2018-02-23 11:09:19 -05:00 |
|
DD
|
75cf6407d4
|
Duplicate costume
|
2018-02-23 10:50:45 -05:00 |
|
DD
|
d6bcfae526
|
Remove costume ID
|
2018-02-23 10:25:14 -05:00 |
|
DD
|
b4d6db0ad9
|
Fix tests
|
2018-02-22 15:45:41 -05:00 |
|
DD
|
729fc3d303
|
Make sprite.costumes private so that I can enforce that when you add costumes, they get assigned a unique ID
|
2018-02-21 19:59:35 -05:00 |
|
DD
|
51fd97ee54
|
fix lint
|
2018-02-20 16:09:08 -05:00 |
|
DD
|
2545d1955d
|
Repopulate blocks with ids
|
2018-02-20 16:09:08 -05:00 |
|