Commit graph

58 commits

Author SHA1 Message Date
Michael "Z" Goddard
bcf8ff60e4 add cat-touches-pen integration test () 2018-08-08 14:04:16 -04:00
Mx Corey Frang
6863613d20
Optimizing isTouching while creating a drawableTouches for sensing mouse pointer ()
* Allow 'isTouching' and 'pick' to still work on invisible drawables.

* Always ignore visibility for isTouching on drawable

* Filter invisble drawbles in isTouchingDrawable per rules of collision

* polish up some docs/get logic 👍

* leftover line from deleted comment

* revert to ghosted pick behavior

* Add clientSpaceToScratchBounds method

* fix lint

* add some pick tests
2018-08-07 10:56:28 -04:00
Paul Kaplan
bf12823037 Update scratch-vm and svg-renderer dependency and fix tests 2018-07-24 15:58:26 -04:00
Mx Corey Frang
b753c37899
Add a test case for touching color ()
* Add a test case for touching color

* Add a say bubble based touching color test
2018-07-20 10:03:06 -04:00
Paul Kaplan
44c30d76ad Add snapshot test for bubble svg strings 2018-05-29 15:28:16 -04:00
Corey Frang
ab8fda1655 Even simpler way to check that some thread is active 2018-05-10 16:17:38 -04:00
Corey Frang
5579f121a9 Fix a thread status check in integration tests to allow "done" threads 2018-05-10 16:13:10 -04:00
Mx Corey Frang
e5d1516b1b
Quick example of a collision test integration test ()
* Quick example of a collision test integration test

* Add a test for ghost and hidden sprites

* enable scratch/es6 which then had my lint error for `(param) => {}` arrows

* cleanup npm test command

* an a was an an but should have been an a

* 2space tabs for the html doc

* Add some comments in the integration index html

* Add a few more comments about intentionally leaking variables into the global scope

* add some more comments for the integration helper and add a timeout

* 4 space tabs are actually correct

* adding even more comments and improving readability a little

* fix lint no-shadow rule

* fix indentation on comment
2018-04-27 13:06:34 -04:00