mardi 28 novembre 2017

Phaser.Cache.getImage: Key "texture" not found in Cache

create: function(){    

var checkbox1 = game.add.checkbox( 10, 10, { text: 'labeltext', style: { fill: '#ffffff' } }, 'texture' );

checkbox1.events.onInputUp.add( function( elm, pointer ){
  alert( checkbox1.state );
}, this );

}




Aucun commentaire:

Enregistrer un commentaire