Commit graph

315 commits

Author SHA1 Message Date
Tim Mickel
020250e258 Test: take out old blockListener check 2016-08-31 13:57:54 -04:00
Tim Mickel
c70e9759a9 Add initial SB2 importer and spec map 2016-08-31 13:56:05 -04:00
Tim Mickel
75212c5958 Add playground tools for targets, loading 2.0 projects 2016-08-31 12:28:44 -04:00
Tim Mickel
3e749fb9f1 Add loadProject, setEditingTarget, and UI emits 2016-08-31 12:28:09 -04:00
Tim Mickel
23d9999a9f Add runtime.getTargetById helper 2016-08-31 12:18:24 -04:00
Tim Mickel
d4a43639f3 Add editingTarget and map block events to that target 2016-08-31 12:08:54 -04:00
Tim Mickel
08f48c5b30 Always start runtime with an empty target list. 2016-08-31 12:03:41 -04:00
Tim Mickel
ba0cc0dcfc Pass along newCoordinate of Blockly MOVE events 2016-08-31 11:50:29 -04:00
Tim Mickel
ad82a5cb74 Add naming mechanism for targets/clones 2016-08-31 11:50:10 -04:00
Tim Mickel
2c6722b958 Add unique ID for Targets 2016-08-31 11:39:57 -04:00
Tim Mickel
b1a3026ea1 Blockly XML encoding for Blocks object
Provide two functions, `toXML` and `blockToXML`, which can be used to generate workspaces based on the VM representation of the blocks.
2016-08-31 11:38:45 -04:00
Tim Mickel
c58bda1839 Record coordinate changes in block representation 2016-08-31 11:34:29 -04:00
Tim Mickel
05a5369d7b Switch Blockly listener to normal function (not closure/generated) 2016-08-31 11:34:17 -04:00
Tim Mickel
aa70c1bc3b Add shadow, x, y properties to block adapter 2016-08-31 11:32:59 -04:00
Tim Mickel
8339e2769f Clean up and add documentation to sprite/clone 2016-08-31 11:30:09 -04:00
Tim Mickel
2da121d019 Add UID utility 2016-08-31 11:21:42 -04:00
Tim Mickel
be06078df1 Update sprite and clones to have basic costume support 2016-08-31 11:21:32 -04:00
Tim Mickel
29a595345a Wording change in README.md 2016-08-29 10:12:57 -04:00
Tim Mickel
c87539a148 Merge pull request #111 from dekrain/readme
Update README
2016-08-29 10:12:09 -04:00
dekrain
10ca84f281 Update README 2016-08-26 15:46:02 +02:00
Tim Mickel
6d773076c5 Update package.json 2016-08-24 14:03:42 -04:00
Tim Mickel
a991710a4b Merge pull request #105 from tmickel/recompile-aug-16
Recompile August 16
2016-08-16 16:01:52 -04:00
Tim Mickel
f118c718a5 Recompile August 16 2016-08-16 16:01:25 -04:00
Tim Mickel
fd5d85ed73 Merge pull request #104 from tmickel/feature/io
VM "I/O devices"; clock, mouse as demo
2016-08-16 15:59:14 -04:00
Tim Mickel
aebcfde492 Add VM "I/O devices", clock, mouse as demo 2016-08-15 21:37:36 -04:00
Tim Mickel
c969b51dee Merge pull request #102 from tmickel/feature/fps-counter
Add stats.js meter to playground
2016-08-12 10:22:41 -04:00
Tim Mickel
66c216bf1d Merge pull request #101 from tmickel/feature/operators
Filling out operators and fixing up casting to look like Scratch
2016-08-12 10:22:33 -04:00
Tim Mickel
7a44dce816 Add stats.js meter to playground 2016-08-11 22:54:57 -04:00
Tim Mickel
349cb14c5a Removing extra cast in join implementation 2016-08-11 19:00:11 -04:00
Tim Mickel
bfe007e29f Add casting utilities and apply them to operator blocks 2016-08-11 18:47:55 -04:00
Tim Mickel
07e965261d Implementation of remaining operators 2016-08-11 18:47:55 -04:00
Tim Mickel
4c67fc3bae Merge pull request #100 from tmickel/refactor/stacks-to-scripts
Rename `stacks` to `scripts`
2016-08-11 15:45:18 -04:00
Tim Mickel
8af657627b Recompile August 11 2016-08-11 11:11:35 -04:00
Tim Mickel
4faaf1b685 Rename stacks to scripts
Further pushing toward removing ambiguity of what "stack" means in the codebase.
2016-08-11 11:11:27 -04:00
Tim Mickel
caab305b52 Merge pull request #99 from tmickel/refactor/branches
Project wide rename substack -> branch
2016-08-10 13:16:22 -04:00
Tim Mickel
c37675fcd7 Update README.md for make serve and playground 2016-08-10 12:04:02 -04:00
Tim Mickel
7780b25c46 Project wide rename substack -> branch 2016-08-10 11:43:49 -04:00
Andrew Sliwinski
34384f1563 Merge pull request #98 from thisandagain/bugfix/2
Remove memoizee dependency
2016-08-09 09:29:37 -04:00
Andrew Sliwinski
32c691d404 Merge branch 'develop' of github.com:LLK/scratch-vm into bugfix/2 2016-08-09 09:26:31 -04:00
Tim Mickel
d9dff49558 Merge pull request #87 from tmickel/feature/sprites
Straw-man implementation of targets/sprites/clones
2016-08-09 07:50:38 -04:00
Tim Mickel
2c031d87f6 Make renderer/self nullable in the Clone
Fixes a test issue where renderer is not necessarily defined.
2016-08-08 18:29:44 -04:00
Andrew Sliwinski
32b1d4ec61 Remove memoizee dependency and usage in adapter. Resolves GH-2 2016-08-08 17:07:50 -04:00
Andrew Sliwinski
bda2926be2 Merge branch 'feature/sprites' of https://github.com/tmickel/scratch-vm into feature/sprites 2016-08-08 16:50:21 -04:00
Tim Mickel
67c3ceff86 Update clone's scale to match renderer update 2016-08-08 16:47:52 -04:00
Tim Mickel
a6ad34f002 Add primitive for math_angle, fixing point in direction 2016-08-08 16:44:48 -04:00
Andrew Sliwinski
97bd799eb1 Merge branch 'feature/sprites' of https://github.com/tmickel/scratch-vm into feature/sprites 2016-08-08 15:49:33 -04:00
Tim Mickel
0b826c0dc9 Remove unused Promise in scratch3_operators 2016-08-08 15:44:55 -04:00
Tim Mickel
c47a061edb Updates for newly released scratch-render repo 2016-08-08 15:43:52 -04:00
Andrew Sliwinski
c3f7877c21 Merge branch 'feature/sprites' of https://github.com/tmickel/scratch-vm into feature/sprites 2016-08-08 15:28:19 -04:00
Andrew Sliwinski
902fa6dfba Track vm.worker build result 2016-08-08 13:35:22 -04:00