Ken
fc4f073526
Add glide (number) secs to [dropdown] block ( #662 )
...
* Add glide to dropdown block
* Use helper functions instead of copy-paste
* Wrong syntax for array 😒
* Aha
* Fix some Travis issues
* Aha!! This should work
* Wow, Travis is strict about spacing!
* Make requested changes
Rename function getTarget to getTargetXY
Rename parameter TO to targetName
2017-08-28 15:44:34 -04:00
Ray Schamp
f367f2d358
Merge pull request #670 from rschamp/eslint-config-scratch-4
...
Update eslint and eslint-config-scratch
2017-08-26 13:26:05 -04:00
Ray Schamp
32bc087bba
Fix remaining lint issues
2017-08-26 13:24:10 -04:00
Ray Schamp
5113876588
Pass with --fix
2017-08-26 13:24:10 -04:00
Ray Schamp
a4d634d84d
Update lint dependencies
2017-08-26 13:24:05 -04:00
Ray Schamp
f6189903f8
Merge pull request #668 from SillyInventor/develop
...
Switch from parseInt to Math.floor
2017-08-24 12:24:13 -04:00
Andrew Sliwinski
d1af3ef808
Merge pull request #562 from bigeyex/feature/fix-deleted-clone-sequence-order
...
Fix the next thread is skipped after clone deleted
2017-08-23 09:51:38 -04:00
SillyInventor
525b601253
Switch from parseInt to Math.floor
2017-08-22 10:30:41 -04:00
Chris Willis-Ford
2665ef2b2b
Merge pull request #640 from cwillisf/feature/message-dispatch
...
Implement message dispatch system
2017-08-17 10:57:23 -07:00
Andrew Sliwinski
6988571eb8
Merge pull request #660 from Kenny2github/patch-1
...
Add [string] contains [string] block
2017-08-10 10:44:01 -04:00
Ken
884e24f782
*facepalm*
2017-08-11 02:23:43 +12:00
Ken
28e61dbf48
Cleaned up
2017-08-11 01:58:59 +12:00
Ken
328514ae63
This kinda doesn’t make sense, but ok
2017-08-11 01:46:26 +12:00
Ken
963078210a
Add test coverage
2017-08-11 01:37:10 +12:00
Ken
5af99566fa
Wait includes is case sensitive
...
Made it convert to lowercase before comparing
2017-08-11 01:27:31 +12:00
Ken
3b601e8595
Add string contains string
2017-08-11 00:52:41 +12:00
Christopher Willis-Ford
b4c0cfe940
Refactor common code in {central,worker}-dispatch
...
Central dispatch and worker dispatch share most of their code now by
inheriting from a new shared dispatch class.
Also, the format of passed messages has been altered to make it easier
to understand in a debugger.
2017-08-09 17:30:00 -04:00
Paul Kaplan
3beebdc7be
Merge pull request #657 from neurosie/variable-fix
...
Fix variable deserializing
2017-08-09 09:58:13 -04:00
neurosie
86e2b2338e
Fix variable deserializing
2017-08-08 16:00:31 -04:00
DD Liu
21e273c6fe
Merge pull request #637 from fsih/timerBlock
...
Fix monitor not updating every frame
2017-08-04 13:14:49 -04:00
DD Liu
58c49bd4f5
Merge branch 'develop' into timerBlock
2017-08-03 17:40:50 -04:00
DD Liu
517b396249
Merge pull request #655 from fsih/edgeActivatedHats
...
Activate the greater than hat block by clicking
2017-08-03 17:38:03 -04:00
DD Liu
8906aada5f
words better
2017-08-03 17:32:50 -04:00
DD Liu
3ea316d04f
words better
2017-08-03 17:31:34 -04:00
DD Liu
fed449876f
just hat changes
2017-08-03 16:01:53 -04:00
DD Liu
ffbbbc71cc
remove debugger
2017-07-31 18:09:20 -04:00
DD Liu
a48efe681e
tests
2017-07-31 17:57:51 -04:00
DD Liu
cc1678fa9e
Also run monitor blocks every frame
2017-07-28 14:38:26 -04:00
DD Liu
2aef75bc11
Merge branch 'develop' into timerBlock
2017-07-28 11:35:47 -04:00
TheBrokenRail
936ff04b0f
Fix setting Infinity to direction ( #612 )
...
* Create rendered-target.js
* Update math-util.js
* Update rendered-target.js
* Update math-util.js
* Update rendered-target.js
2017-07-26 17:44:02 -04:00
Paul Kaplan
f2bd32a81a
Merge pull request #653 from paulkaplan/sound-ids
...
Use sound ID instead of md5 for playing sounds
2017-07-26 09:00:00 -04:00
Paul Kaplan
fe0cb03c41
Merge pull request #652 from paulkaplan/fix-asset-naming
...
Use unused names when adding assets
2017-07-26 08:41:47 -04:00
Paul Kaplan
25a0e2ffaf
Use new audio engine api to retreive and set sound buffers
2017-07-25 17:03:26 -04:00
Paul Kaplan
44298fd71b
Use soundId instead of md5 for playing sounds
2017-07-25 12:20:32 -04:00
Paul Kaplan
0cf05647d2
Merge branch 'develop' into fix-asset-naming
2017-07-25 10:48:25 -04:00
Paul Kaplan
f96a92b4d1
Move renaming and adding into rendered-target with tests
2017-07-25 10:32:25 -04:00
Paul Kaplan
ef16a7d574
Use name instead of costumeName when using vm#addCostume
2017-07-25 10:31:15 -04:00
Christopher Willis-Ford
97d67d75f4
Allow 'then' on service registration
...
This allows a service to postpone communication with other services
until it can be sure that it's registered with central dispatch. Service
registration on the main thread always happens immediately, but that
version of `setService` still returns a Promise for consistency.
2017-07-21 13:23:52 -07:00
Christopher Willis-Ford
84ac66d6e5
Fix exception message
2017-07-21 13:23:52 -07:00
Christopher Willis-Ford
0fcc248ac1
Add tests for message dispatch system; fix bugs
...
The tests run using TinyWorker, which emulates web workers on Node.
There are quite a few quirks in that situation due to the differences
between Node and Webpack as well as the differences between TinyWorker
and real Web Workers.
The tests also exposed a few bugs in the dispatch system, which have now
been fixed. Most notably, if a method called through the dispatch system
throws an exception that exception will now be passed back to the
caller. Previously the exception would escape the dispatch system and
the caller would never hear any response at all.
2017-07-21 13:23:52 -07:00
Christopher Willis-Ford
09d3fe330f
Implement message dispatch system
...
This message dispatch system allows a "service" to register itself under
a particular name, and then anyone can call any method on that service
from any context (the main "window" thread or any worker). Return values
are passed back through promise resolution.
2017-07-21 13:22:14 -07:00
Ray Schamp
e249c5c252
Merge pull request #649 from rschamp/travis/fix-deploy
...
Finish configuring npm deploy
2017-07-19 13:49:27 -04:00
Ray Schamp
e0e10b61c5
Finish configuring npm deploy
...
More followup fixes on #567 , wasn't possible to test npm deployments really.
2017-07-19 13:48:55 -04:00
Ray Schamp
a115d1d51e
Merge pull request #648 from rschamp/travis/fix-deploy
...
Build the vm so we can deploy it
2017-07-19 12:05:28 -04:00
Ray Schamp
7eae7e1957
Build the vm so we can deploy it
...
Whoops.
Also move the git deploy setup to before_deploy.
2017-07-19 12:04:22 -04:00
Ray Schamp
b4d95cdcaf
Merge pull request #647 from rschamp/travis/fix-deploy
...
Convert multi-entry script to single scalar
2017-07-19 11:55:42 -04:00
Ray Schamp
55d0b2650c
Convert multi-entry script to single scalar
...
Multi-entries aren't supported
https://docs.travis-ci.com/user/deployment/script
2017-07-19 11:54:51 -04:00
Ray Schamp
5ef540be1c
Merge pull request #646 from rschamp/travis/fix-deploy
...
Fix provider 'on' key being converted to 'true'
2017-07-19 10:42:14 -04:00
Ray Schamp
0e11ff1c23
Fix provider 'on' key being converted to 'true'
2017-07-19 10:28:54 -04:00
Paul Kaplan
01ed85facf
Merge pull request #641 from paulkaplan/fix-variable-importing
...
Fix variable import scoping
2017-07-19 10:04:57 -04:00