Modifying alpha properties on mobile

Hi! For my game, I have to animate the alpha (increase to full opacity / decrease to zero) of multiple items such as Sprites, GUI TextBlock, GUI Images, etc. I noticed that on desktop, It run smoothly. However, it run poorly on mobile. It looks like the alpha glitched and is missing some frame.

In order to animate the alpha, I’m simply doing that :

this.myAlpha -= this.mySpeed * (this.scene.deltaTime / 1000);		

Is there a way to fix this issue?

I’m not sure if there is a fix, alpha takes more GPU power/bandwidth due to the blending and mobiles are known to not handle alpha at best…

3 Likes