Transparent animations vs faux transparencies?

Get help using Construct 2

Post » Sun Jan 06, 2013 6:46 am

Is there a difference in performance using an animation with the transparency set to 60 over a sprite vs an animation that appears to have a transparent object in it. Like water flowing over rocks...? I searched around but only found references to sprites using too much transparent areas.

Thanks
Image Image Image
B
60
S
19
G
5
Posts: 325
Reputation: 7,369

Post » Sun Jan 06, 2013 8:12 pm

As I understand it, 100% opaque pixels are the fastest to render, fully transparent the second-fastest, and semi transparent third fastest. I don't think it matters whether the sprite's opacity is set to 60% or if the pixels contained in the image itself are 60% opaque, I think they will both render at the same speed. However, having an image where the actual pixels are rendered fully opaque but there appears to be a transparent object rendered in the image itself will be faster.

It also results in the video card having to draw less pixels, which is especially a help on mobile.Arima2013-01-06 20:14:26
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Sun Jan 06, 2013 10:52 pm

Thank you @Arima!

"having an image where the actual pixels are rendered fully opaque but there appears to be a transparent object rendered in the image itself will be faster."

exactly the info I was looking for :)
Image Image Image
B
60
S
19
G
5
Posts: 325
Reputation: 7,369


Return to How do I....?

Who is online

Users browsing this forum: CavalierBubble, imnotspecial and 21 guests