Transparency and Performance on Mobile

Get help using Construct 2

Post » Sat Jul 21, 2012 7:37 am

I'm making a mobile phone game and want to know if I should be concerned about whether to use transparency or not.

If I make the .PNG file transparent using Photoshop, will it also affect performance?
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Sat Jul 21, 2012 1:57 pm

If you mean cutting out the background of your sprite, you should not worry about affecting performance. Using the "Set opacity" action however, might affect the performance.

Read this post for all you need to know about performance.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jul 26, 2012 12:37 pm

I've already read that :) . I'm not asking about cutting out the background of the sprite. I'm asking about making a transparent image in Photoshop and saving it as PNG so that it saves the alpha channel.

Then importing it in C2. Will it affect performance?
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Thu Jul 26, 2012 12:45 pm

I don't get it, why would you want to do that? But yea, I don't see why it should affect performance.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jul 26, 2012 12:48 pm

Transparent touch controls on iPhone is good. Since the screen is small, you don't have the buttons covering up the gameplay screen.
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Thu Jul 26, 2012 12:54 pm

Oh, of course, I see what you mean. I don't think you'll notice much performance drop if it's just a few objects. You could just turn down the opacity in C2 though, no need to do it in PS.

But I don't have that much experience with mobile, why not just give it a go, and if you experience any FPS drops, you know where to look.
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Thu Jul 26, 2012 1:05 pm

Alright... thanks for helping
B
10
S
2
Posts: 79
Reputation: 1,122


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests