Biggerplay Posted February 22, 2014 Share Posted February 22, 2014 If I use a line like this...this.spell1 = this.game.add.button(15,110, 'greenIcon', this.castSpell(1), this, 'over', 'out', 'down');but "greenIcon" is just a single .png image without a .json file, is that ok? can I get rid of the 3 bits at the end? (over, out, down) or they are still needed anyway? Link to comment Share on other sites More sharing options...
rich Posted February 23, 2014 Share Posted February 23, 2014 You don't need to set them. Link to comment Share on other sites More sharing options...
Recommended Posts