Commit graph

502 commits

Author SHA1 Message Date
Tim Mickel
29887e24c9 Simplify execute hat check.
In case a reporter has side-effects, we'd probably like to run hat predicates even if there is no next block.
2016-08-24 11:04:23 -04:00
Tim Mickel
4f81033762 Remove extra Thread require 2016-08-23 18:46:54 -04:00
Tim Mickel
4f2cccf279 Fix issue when broadcasting in a when-broadcast 2016-08-23 18:37:03 -04:00
Tim Mickel
fe2ba2a536 Implementation of timer > _, broadcast, broadcast and wait 2016-08-23 18:14:05 -04:00
Tim Mickel
b4cf64009f General-purpose hat implementation 2016-08-23 18:12:32 -04:00
Tim Mickel
39fdbaf983 Add atStackTop helper to Thread 2016-08-23 18:12:19 -04:00
Tim Mickel
43f3b59f7c Add retireThread to seqeuencer 2016-08-23 15:53:34 -04:00
Tim Mickel
94e389c8fb Refactor script glowing into its own runtime function 2016-08-23 15:47:21 -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
Andrew Sliwinski
b1272abbcd Update installation instructions (pending release to NPM) 2016-08-08 13:34:51 -04:00
Tim Mickel
30735bc06e Update toolbox XML July 14 2016-07-14 13:25:56 -04:00
Tim Mickel
1098178fc7 Add Blockly messages to playground 2016-07-14 13:24:39 -04:00
Tim Mickel
0465ee2076 Add --host flag and index redirect for playground 2016-07-14 13:22:11 -04:00
Tim Mickel
c650de8520 Real version of Clone.prototype.setVisible 2016-07-13 16:52:46 -04:00
Tim Mickel
1f19d7a209 Only visually report when an actual value was returned 2016-07-07 19:44:26 -04:00
Tim Mickel
9c6dca8131 Add visual reporting of top-level reporter execution 2016-07-07 19:42:38 -04:00
Tim Mickel
d4353458ff Don't quit loop when a thread is yielding 2016-07-06 14:16:44 -04:00
Tim Mickel
30dc285a37 Add implementations for math_positive_number and math_whole_number 2016-07-06 14:13:03 -04:00
Tim Mickel
7c24bdc612 More documentation in sprite, clone 2016-07-06 14:09:06 -04:00
Tim Mickel
2e01caa8a6 Add documentation for math-util functions. 2016-07-06 14:04:36 -04:00
Tim Mickel
798368b6c5 Add documentation in src/sprites/clone.js 2016-07-06 13:57:58 -04:00
Tim Mickel
460760bd06 Stub "say" and "think" blocks with console.log 2016-07-06 13:47:32 -04:00