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/
This commit is contained in:
Nathan Dinsmore 2013-11-14 23:44:00 -05:00
commit 0e062e7669
3 changed files with 51 additions and 3 deletions

View file

@ -94,6 +94,11 @@ Runtime.prototype.stopAll = function() {
runtime.sprites[s].hideBubble();
}
}
// Reset graphic effects
runtime.stage.resetFilters();
for (var s = 0; s < runtime.sprites.length; s++) {
runtime.sprites[s].resetFilters();
}
};
// Step method for execution - called every 33 milliseconds