Josepho Posted February 23, 2014 Share Posted February 23, 2014 Hi there, i found an unexpected behaviour in Ipad when I change the alpha value of the display objects If the alpha value is less than 0, instead of making the sprite invisible its completely visible, this doesnt happens in computer browsers. Is there any way to fix this? Quote Link to comment Share on other sites More sharing options...
rich Posted February 23, 2014 Share Posted February 23, 2014 Two options: 1) Make sure the alpha never goes below zero! As this can only happen from your code. 2) Patch Sprite.js, this line:if(this.visible === false || this.alpha === 0)return;for:if(this.visible === false || this.alpha <= 0)return; Quote Link to comment Share on other sites More sharing options...
Josepho Posted February 23, 2014 Author Share Posted February 23, 2014 Many thanks! Quote Link to comment Share on other sites More sharing options...
Josepho Posted February 23, 2014 Author Share Posted February 23, 2014 Mmm, I had applied this fix but it appear that it still no working Edit: Okay, I was doing something wrong! hehe, thanks!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.