File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,9 @@ Sprite.create = function () {
27
27
**/
28
28
this . pirate = new Kiwi . GameObjects . Sprite ( this , this . textures . pirate , 300 , 30 ) ;
29
29
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
+
35
31
}
36
32
37
- function callback ( ) {
38
- console . log ( "callback" ) ;
39
- }
40
33
//Create's a new Kiwi.Game.
41
34
/*
42
35
* Param One - DOMID - String - ID of a DOMElement that the game will reside in.
@@ -46,8 +39,6 @@ function callback() {
46
39
*/
47
40
if ( typeof gameOptions == "undefined" ) {
48
41
gameOptions = { } ;
49
- } else {
50
- gameOptions . bootCallback = callback
51
- }
42
+ }
52
43
var game = new Kiwi . Game ( 'game' , 'KiwiExample' , Sprite , gameOptions ) ;
53
44
You can’t perform that action at this time.
0 commit comments