scratch-vm/test/fixtures
Paul Kaplan 140094a7ad Make "when clicked" blocks target dependent.
This involves adding a new opcode, event_whenstageclicked, and adding a
method to the blocks container to update the opcode pair depending on
whether the target is the stage. This method is then called in two
places: first after the sb2 import parses the blocks (not done in the
sb2 parsing itself because no other blocks are target specific) and then
again when blocks are shared between targets.

Also added tests for the block container method, and a fixture project
that tests the opcode splitting on sb2 import.
2018-03-20 10:41:50 -04:00
..
clone-cleanup.sb2
complex.sb2
control.sb2
data.sb2 Fix variable import scoping 2017-07-17 12:28:44 -04:00
default.sb2
demo.json Updating tests for refactoring lists. Updating demo fixture -- now we have IDs and variable types for variables. 2017-11-13 16:30:47 -05:00
dispatch-test-service.js Refactor common code in {central,worker}-dispatch 2017-08-09 17:30:00 -04:00
dispatch-test-worker-shim.js Add tests for message dispatch system; fix bugs 2017-07-21 13:23:52 -07:00
dispatch-test-worker.js Refactor common code in {central,worker}-dispatch 2017-08-09 17:30:00 -04:00
event.sb2
events.json Correctly deserialize HTML entities in block DOM 2017-10-09 01:19:55 +03:00
extract.js
fake-renderer.js
hat-execution-order.sb2
looks.sb2
loudness-hat-block.sb2 just hat changes 2017-08-03 16:01:53 -04:00
make-test-storage.js
motion.sb2
pen.sb2 Add test case for pen state cloning 2017-06-16 16:29:12 -07:00
procedure.sb2
saythink-and-wait.sb2 Add test for say/think and wait 2018-03-14 16:16:59 -07:00
sensing.sb2
sound.sb2
sprite.json
stack-click.sb2 just hat changes 2017-08-03 16:01:53 -04:00
when-clicked.sb2 Make "when clicked" blocks target dependent. 2018-03-20 10:41:50 -04:00