Chad Walker
41b68edd90
Add procedure support
...
- when a call block is executed, the block is copied, any parameters are
evaluated and stored on the copy, then the copy is pushed on the stack
- when a getParam block is executed it finds the last call block on the
stack, and then gets the already evaluated parameters from there.
- based on PR #21 by @bobbybee, passes all of @nathan's tests there
2014-09-13 11:07:11 -05:00
William Ferguson
e57c4ec1f2
Fix: PID 24976765 Issue https://github.com/WPFerg/scratch-html5/issues/16
2014-07-25 09:25:07 +01:00
Tom Keeble
89471364ae
Fix Maths functions
2014-05-10 10:26:30 +01:00
Andrew Sliwinski
aade0b4121
Merge from upstream
2014-04-10 12:25:43 -07:00
Andrew Sliwinski
b301a2f8b9
Allow implicit type conversion.
2014-04-09 19:26:25 -07:00
Andrew Sliwinski
586f29a285
Minor formatting and type casting adjustment to make codebase internally consistent
2014-04-09 01:17:50 -07:00
Lukas Prokop
4b7fe36066
Fix DST issue in SensingPrims.primTimestamp.
2014-03-21 19:54:59 +01:00
Brian Pilati
e59b279be1
updates to finish doAsk
2014-03-09 11:59:38 -06:00
Brian Pilati
1beed456cc
updates to add "ask" functionality
2014-03-08 00:46:59 -07:00
Nathan Dinsmore
489a212fee
Fixed #22
...
Modulo now behaves exactly like Scratch 1.4 and passes http://scratch.mit.edu/projects/13839488/
2013-12-19 15:11:02 -05:00
Nathan Dinsmore
0e062e7669
Merge github.com:djdolphin/scratch-html5 into test
...
Also improved filter performance, fixed edge cases, and implemented stage filters for color, brightness, and ghost.
Conflicts:
js/Runtime.js
js/Sprite.js
js/primitives/LooksPrims.js
Tested with:
http://scratch.mit.edu/projects/14315832/
2013-11-14 23:46:19 -05:00
Nathan Dinsmore
07415badbe
Merge branch 'master' of github.com:MathWizz/scratch-html5 into test
...
Conflicts:
js/Interpreter.js
js/primitives/LooksPrims.js
js/primitives/MotionAndPenPrims.js
js/primitives/Primitives.js
js/primitives/SoundPrims.js
js/primitives/VarListPrims.js
Tested with:
http://scratch.mit.edu/projects/13841687/
http://scratch.mit.edu/projects/2192048/
2013-11-14 22:27:52 -05:00
Scimonster
01c35969d0
Add show/hide list blocks, fix list reporters, and fix show/hide var (issue was with multiple sprites having same local variable name).
2013-11-04 22:28:23 +02:00
djdolphin
c40c1b4027
Removed evil evals
...
Filters now reset when the stop button is clicked.
2013-11-03 07:10:45 -05:00
djdolphin
fc0e2f4218
Delete .DS_Store
2013-11-02 18:21:31 -04:00
djdolphin
422da2fd87
Added color and brightness effects
2013-11-02 18:16:18 -04:00
djdolphin
6bd32857be
Partially implemented filter effects
...
Implemented ghost effect
2013-11-02 10:19:44 -04:00
MathWizz
2778e0a3fd
Corrected casting numbers and fixed blocks under ifs not running
2013-11-02 00:38:29 -05:00
Nathan Dinsmore
1a72b01b31
Formatting and indentation fixes
2013-11-01 23:14:39 -04:00
Scimonster
dcd0a43348
Merge branch 'LLK/master'
...
Replace my timeAndDate code with Shane's.
2013-10-30 21:01:42 +02:00
Shane M. Clements
311b411315
Added getTimeString to the runtime and made a few other small fixes.
2013-10-30 11:40:53 -06:00
Scimonster
45b86691ed
Adjust for DST in days since 2000.
2013-10-30 18:25:32 +02:00
Scimonster
4d237ef389
Added list reporter block.
2013-10-30 15:00:28 +02:00
Scimonster
234e044660
Add (days since 2000) block. For some reason it is around 1/100th off for me.
2013-10-30 14:28:55 +02:00
Scimonster
64fb52699c
Add timeAndDate block.
2013-10-30 12:34:18 +02:00
Amos Blanton
6360de08da
Initial commit.
2013-10-28 20:00:20 +00:00