Skip to content

Commit 1c89a86

Browse files
committed
Removed WIP from sprite example
1 parent d1807ae commit 1c89a86

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

examples/Introduction/Sprite.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,9 @@ Sprite.create = function () {
2727
**/
2828
this.pirate = new Kiwi.GameObjects.Sprite(this, this.textures.pirate, 300, 30);
2929
this.addChild(this.pirate);
30-
//var v = this.game.renderer.filters.addFilter(Kiwi.Filters.VignetteFilter);
31-
//var d = this.game.renderer.filters.addFilter(Kiwi.Filters.DotscreenFilter);
32-
//d.enabled = false;
33-
//v.enabled = false;
34-
this.game.renderer.filters.addFilter(Kiwi.Filters.VibranceFilter,{level:0});
30+
3531
}
3632

37-
function callback() {
38-
console.log("callback");
39-
}
4033
//Create's a new Kiwi.Game.
4134
/*
4235
* Param One - DOMID - String - ID of a DOMElement that the game will reside in.
@@ -46,8 +39,6 @@ function callback() {
4639
*/
4740
if (typeof gameOptions == "undefined") {
4841
gameOptions = {};
49-
} else {
50-
gameOptions.bootCallback = callback
51-
}
42+
}
5243
var game = new Kiwi.Game('game', 'KiwiExample', Sprite, gameOptions);
5344

0 commit comments

Comments
 (0)