maxmax Posted December 4, 2014 Share Posted December 4, 2014 Hi, Before the new version of phaser 2.2, when an object has need disappearing progressively we used : tween with alpha to 0 and appearing alpha to 1. But with the new version, alpha change the transparence AND the luminosity or the contraste. This isn't good.. ! An explication or an solution ? (sorry for my english) // To hide objectgame.add.tween(my_object).to({alpha:0}, 550, Phaser.Easing.Linear.None, null, 0).start();// or to show objectgame.add.tween(my_object).to({alpha:1}, 550, Phaser.Easing.Linear.None, null, 0).start(); Link to comment Share on other sites More sharing options...
rich Posted December 4, 2014 Share Posted December 4, 2014 Yes: http://www.html5gamedevs.com/topic/10820-phaser-220-bethal-is-released/#entry63356 Link to comment Share on other sites More sharing options...
rich Posted December 4, 2014 Share Posted December 4, 2014 Ok Phaser 2.2.1 is now live and fixes this. Just do a straight upgrade, nothing else (API related) changed at all. Link to comment Share on other sites More sharing options...
Recommended Posts