Commit graph

6919 commits

Author SHA1 Message Date
griffpatch
a6c56a6e20 Merge remote-tracking branch 'refs/remotes/LLK/develop' into bug/PenColorOpacity 2017-02-09 08:51:10 +00:00
griffpatch
2ba177aa0f Bug - Return pen opacity to opaque
When setting the pen color using pen blocks, the opacity should be reset
to fully opaque if no alpha is supplied.
2017-02-09 08:50:37 +00:00
Ray Schamp
45f39c2ebd Merge pull request #440 from griffpatch/bug/CaseInsensitiveBroadcast
Bug caseinsensitivebroadcast
2017-02-08 10:28:02 -05:00
Ray Schamp
5ac63caccf Merge pull request #437 from LLK/greenkeeper/tap-10.1.0
Update tap to the latest version 🚀
2017-02-08 09:38:01 -05:00
griffpatch
276ae82769 Fixes Case Insensitive Broadcast Bug
Broadcasts are case sensitive #433
2017-02-08 10:05:48 +00:00
griffpatch
9cb595312e Implement "Stop this script" function
Existing implementation incorrectly terminates the entire thread.
See: http://llk.github.io/scratch-vm/#144142535
2017-02-08 09:44:10 +00:00
griffpatch
cf215bf0bc Fix for the "Empty or white space strings equal 0" bug
See: Empty or white space strings equal 0 #435
2017-02-08 08:38:50 +00:00
griffpatch
aecc3bf893 Merge remote-tracking branch 'refs/remotes/LLK/develop' into develop 2017-02-08 08:32:06 +00:00
griffpatch
7d69ecc005 Optimisation - Only check browser compatability once
Disable use of more accurate timer temporarilly due to performance.
However, with the rearrange and introduction of the 'nowObj' it turns
out most of the delay is in resolving 'self.performance'... so keeping
this cached in nowObj actually mitigates most of the delay.
2017-02-08 08:11:10 +00:00
griffpatch
57c222e94f Merge remote-tracking branch 'refs/remotes/LLK/develop' into optimisation/only-check-for-compatability-once 2017-02-08 08:04:47 +00:00
morant
ed978e3062 Read sprite costume names from JSON, and write currentCostume to JSON 2017-02-07 20:12:55 -05:00
morant
6b545ea16d Update isStage for each sprite when loading JSON, removing things copied from SB2 which are not relevant. 2017-02-07 18:38:44 -05:00
greenkeeper[bot]
c12cc25e5f chore(package): update tap to version 10.1.0
https://greenkeeper.io/
2017-02-07 23:35:36 +00:00
morant
0dc1883e9f Write costumes and sounds to JSON on save 2017-02-07 18:15:11 -05:00
morant
e16f2924a3 Merge branch 'develop' of https://github.com/LLK/scratch-vm into develop 2017-02-07 09:53:17 -05:00
Ray Schamp
8c7ca9580e Merge pull request #431 from LLK/greenkeeper/eslint-3.15.0
Update eslint to the latest version 🚀
2017-02-06 10:42:56 -05:00
Eric Rosenbaum
92affb05f0 Merge pull request #432 from thisandagain/bugfix/coverage
Add basic test coverage for the sound blocks
2017-02-03 17:58:33 -05:00
Andrew Sliwinski
92ff57de7d Add basic test coverage for the sound blocks 2017-02-03 17:39:36 -05:00
greenkeeper[bot]
284357941b chore(package): update eslint to version 3.15.0
https://greenkeeper.io/
2017-02-03 22:04:26 +00:00
greenkeeper[bot]
30cdef5782 chore(package): update webpack-dev-server to version 2.3.0
https://greenkeeper.io/
2017-02-03 15:13:39 +00:00
Andrew Sliwinski
eda2cf578e Merge pull request #428 from LLK/greenkeeper/tap-10.0.2
Update tap to the latest version 🚀
2017-02-03 08:26:25 -05:00
greenkeeper[bot]
7612a46c61 chore(package): update tap to version 10.0.2
https://greenkeeper.io/
2017-02-02 23:33:29 +00:00
Eric Rosenbaum
46c0859ae9 Merge pull request #424 from ericrosenbaum/sound
Refactor sound engine
2017-02-02 17:45:45 -05:00
Eric Rosenbaum
9741dc2e35 Merge branch 'develop' of https://github.com/LLK/scratch-vm into sound 2017-02-02 16:37:07 -05:00
Andrew Sliwinski
8ff21a3822 Merge pull request #426 from LLK/greenkeeper/tap-10.0.1
Update tap to the latest version 🚀
2017-02-02 07:59:57 -05:00
greenkeeper[bot]
6ca8814a2f chore(package): update tap to version 10.0.1
https://greenkeeper.io/
2017-02-02 06:26:51 +00:00
Ray Schamp
597006bc6e Merge pull request #423 from LLK/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2017-02-01 17:37:22 -05:00
Ray Schamp
98a12f1388 Replace broken DavidDM badges with Greenkeeper 2017-02-01 16:27:56 -05:00
Ray Schamp
727fcc7875 Lint for eslint-config-scratch@3 2017-02-01 16:27:55 -05:00
Ray Schamp
a6568c4bf2 Update webpack config for webpack 2
* `module.loaders` -> `module.rules`
* loaders need `-loader` suffix
* `json-loader` is enabled by default
* `UglifyJsPlugin`'s `compress.warning` setting is false by default
2017-02-01 16:27:55 -05:00
Eric Rosenbaum
123b9ce06f remove build files that were un-ignored 2017-02-01 12:02:20 -05:00
greenkeeper[bot]
0d38d1d245 docs(readme): add Greenkeeper badge
https://greenkeeper.io/
2017-02-01 15:19:47 +00:00
greenkeeper[bot]
82acfddeb5 chore(package): update dependencies
https://greenkeeper.io/
2017-02-01 15:19:46 +00:00
Eric Rosenbaum
0947775a31 Merge branch 'develop' of https://github.com/LLK/scratch-vm into sound 2017-02-01 10:18:01 -05:00
Andrew Sliwinski
073ffda0fb Merge pull request #422 from CSnap/tan_fix
Added new util function that sends tan function infinities correctly
2017-02-01 09:12:42 -05:00
SillyInventor
1ac89f5aa4 Added new util function that sends tan function infinities correctly
Changed mathop to call new math util
Changed sin & cos to round correctly (to get 0)
Added testing for the new math util function
Added testing for the new mathop functions
2017-01-31 19:05:54 -05:00
Eric Rosenbaum
53127f6320 use customstate for sound volume, instrument, effects 2017-01-31 18:33:32 -05:00
Eric Rosenbaum
95e29ed66a move sound-related code out of rendered target 2017-01-31 18:32:46 -05:00
Andrew Sliwinski
fff63e3af2 Merge pull request #414 from thisandagain/bugfix/413
Bugfix - Continue import if opcode is not found during SB2 import
2017-01-30 15:36:24 -05:00
Andrew Sliwinski
c2a488a197 Merge pull request #408 from griffpatch/optimisation/avoid-negative-index-lookups
Optimisation - Avoid negative index lookups #407
2017-01-30 15:06:02 -05:00
Andrew Sliwinski
249c0d6dca Merge pull request #409 from griffpatch/optimisation/remove-redundant-lookups
Optimisation - Remove redunant lookups
2017-01-30 15:04:42 -05:00
Andrew Sliwinski
bb7c411edb Merge pull request #411 from griffpatch/optimisation/reuseStackForNextBlock
Optimisation - Recycle Stack Frame for cosecutive block execution
2017-01-30 15:03:39 -05:00
Andrew Sliwinski
7c18b33f99 Continue import if opcode is not found during SB2 import. Resolves GH-413 2017-01-30 14:32:32 -05:00
Eric Rosenbaum
f7a3a8dbbe merge 2017-01-30 11:40:20 -05:00
Eric Rosenbaum
2d8491123e Merge branch 'develop' of https://github.com/LLK/scratch-vm into sound 2017-01-30 11:28:52 -05:00
Eric Rosenbaum
dd30e07052 comments on getSoundIndex 2017-01-30 10:56:50 -05:00
Eric Rosenbaum
9d8819ddc7 audio engine handles rest block 2017-01-30 10:56:31 -05:00
Eric Rosenbaum
cb4209b27a target handles playnote via audio engine 2017-01-30 10:56:06 -05:00
Eric Rosenbaum
5966a46bbd target manages instrument setting 2017-01-30 10:54:24 -05:00
Eric Rosenbaum
4e4b0b86e1 target manages audio effect values 2017-01-30 10:53:12 -05:00