Fade Performance Question

Get help using Construct 2

Post » Sun Jul 28, 2013 7:20 pm

I want to make a bunch of glowing units in my game (may have 20-30 of them on screen at the time) and I've got two ways to do it.

The first is straight forward, its just a sprite drawn to have a glow effect when animated.

The second is to create a copy of the sprite with lower opacity (eg. 60-70), and fade the original sprite on top of it in a loop.

Just wondering whether 20 animated sprites or 20 fade effects will take more processing power (it's a mobile game).

B
7
S
2
G
1
Posts: 37
Reputation: 1,278

Post » Sun Jul 28, 2013 7:37 pm

Hi @Len,

You would probably get better performance by using animated sprites. Although this would depend largely upon the size of the sprites you want to animate, and how many frames each animation would need.

Hope that helps.Blacksmith2013-07-28 19:40:00
B
33
S
6
G
7
Posts: 494
Reputation: 8,252


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, Yahoo [Bot] and 29 guests