rich Posted September 11, 2014 Share Posted September 11, 2014 https://github.com/photonstorm/phaser/releases/tag/v2.1.1 Version 2.1.1. of Phaser is an emergency point release. It addresses a potential race condition that could happen in States that tried to change state from the `create` method but had an empty preloader or pre-cached assets. There are no other changes in this release. It is now live on github and npm. ram64 1 Link to comment Share on other sites More sharing options...
JUL Posted September 11, 2014 Share Posted September 11, 2014 "a potential race condition that could happen in States" Ho my god...Why does everything has to be turned into politics these days ? Just tested it, works as good as 2.1.0 here... (with the slow down), no new surprise so far. codevinsky 1 Link to comment Share on other sites More sharing options...
Dumtard Posted September 11, 2014 Share Posted September 11, 2014 And just like that Cairhien is gone. The Aiel just can't leave them alone can they. Link to comment Share on other sites More sharing options...
codevinsky Posted September 11, 2014 Share Posted September 11, 2014 "a potential race condition that could happen in States" Link to comment Share on other sites More sharing options...
rich Posted September 11, 2014 Author Share Posted September 11, 2014 I should have called it Ferguson Link to comment Share on other sites More sharing options...
salvo Posted September 11, 2014 Share Posted September 11, 2014 hia little note, Text.setText() sets a blank space. PIXI.BitmapText.prototype.setText = function(text){ this.text = text || ' '; this.dirty = true; }; I think it should be this.text = text || ''; Link to comment Share on other sites More sharing options...
rich Posted September 11, 2014 Author Share Posted September 11, 2014 Yes it does this on purpose. There used to be several Pixi methods that died if you pass an empty string, and may still do (although I've not tested for a few months now). JUL 1 Link to comment Share on other sites More sharing options...
JUL Posted September 11, 2014 Share Posted September 11, 2014 I should have called it Ferguson MWARFMWARFMWARF LOL ! Let's just hope it doesn't turn like this on update at some point Link to comment Share on other sites More sharing options...
San4er Posted September 15, 2014 Share Posted September 15, 2014 I don't know why, but both 2.1.0 and 2.1.1. versions has bad performance compared to 2.0.7 (22fps vs 37fps for example). Is everyone notice that performance change or it's I'm doing something wrong? I'm using CANVAS. Link to comment Share on other sites More sharing options...
SignalSin Posted September 16, 2014 Share Posted September 16, 2014 Just noticed that the game scale example no longer works as intended with 2.1.0 and 2.1.1. Can it be adapted for the current/future releases or is it worth leaving there for legacy sake? Link to comment Share on other sites More sharing options...
chg Posted September 18, 2014 Share Posted September 18, 2014 Brand new to Phaser and tried to follow this tutorial: http://www.photonstorm.com/phaser/advanced-phaser-and-typescript-projects with the eianrod build of Phaser testing in Chrome 37. Couldn't figure out how, but the MainMenu class from the tutorial seems to be broken by this version of Phaser: after completing the tweens added in the Create method the canvas is cleared clicking wont get the state to change to the Level1 state. I found and older build of Phaser version 2.0.5 (unsure of the build name sorry) and when using it instead of eianrod the MainMenu class seemed to behave as expected. Link to comment Share on other sites More sharing options...
kroop Posted September 23, 2014 Share Posted September 23, 2014 Just noticed that the game scale example no longer works as intended with 2.1.0 and 2.1.1. Can it be adapted for the current/future releases or is it worth leaving there for legacy sake? Maybe related to this, I'm using https://github.com/photonstorm/phaser/tree/master/resources/Project%20Templates/Full%20Screen%20Mobile as a base for multiple projects and it won't work anymore with Phaser 2.1.1 (dunno about 2.1.0). Rollback to 2.0.7 and everything works ok. I don't have mac at the moment so finding the reason is quite difficult. Help appreciated once again. Edit: No visible changes when running the app on desktop, but the screen stays black on mobile. Tried on ios6, ios8 and Android 4.4. Works ok on all platforms with Phaser 2.0.7. Link to comment Share on other sites More sharing options...
spencerTL Posted September 23, 2014 Share Posted September 23, 2014 When I've encountered the same problems its been because i've used a pre 2.1 template that has the hasResized event still in it in the boot state. Double check you've not got that still in. kroop 1 Link to comment Share on other sites More sharing options...
kroop Posted September 24, 2014 Share Posted September 24, 2014 Yeah, it was that in my case at least. Thanks! Link to comment Share on other sites More sharing options...
bunnyhero Posted September 30, 2014 Share Posted September 30, 2014 I should have called it Ferguson wow that is in really poor taste. Link to comment Share on other sites More sharing options...
Recommended Posts