Duplicate object VS Effects. Which one takes more RAM?

Discussion and feedback on Construct 2

Post » Fri Apr 17, 2015 6:33 pm

Hi,
I have this doubt.
I'm making a forest with several layers, and in each layer the trees have different colors.

So, is it better to have different sprites for the trees or to have just one sprite and change the color with an effect?
I mean, which one is better for performance, memory, etc?

Thanks! :D
B
5
S
1
Posts: 42
Reputation: 471

Post » Fri Apr 17, 2015 6:38 pm

I suspect: use one sprite with a different animation frame for the different color. Shader effects can show down older systems and mobiles for sure. A single sprite will cause one draw call, even with different animation frames, so that will be the least demanding.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465

Post » Fri Apr 17, 2015 6:53 pm

I haven't think of that option. Thanks!
B
5
S
1
Posts: 42
Reputation: 471

Post » Fri Apr 17, 2015 6:59 pm

Image ImageImage
B
166
S
49
G
154
Posts: 8,104
Reputation: 100,229


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests