Cheaper Sprites

Discussion and feedback on Construct 2

Post » Sat May 26, 2012 6:03 am



What is cheaper between having a ton of tiny sprite with alpha, a few larger ones or one sprite for a tree of this nature?

I need help deciding space over quality since I will have a ton of different trees in my game that take up the whole screen.

Thanks in advance!
B
36
S
11
G
3
Posts: 279
Reputation: 8,371

Post » Sat May 26, 2012 6:52 am

Obviously hundreds of little sprites will bottleneck performance.
While large sprites will add to load time, and overall ram.
Take your pick.
Image ImageImage
B
164
S
49
G
139
Posts: 7,964
Reputation: 92,394

Post » Sat May 26, 2012 7:23 am

Thanks for the response Newt. I think that I will go giant sprite with very few colors. That way I can wiggle the whole thing easily when its bumped. Thanks for the help.
B
36
S
11
G
3
Posts: 279
Reputation: 8,371

Post » Sat May 26, 2012 12:16 pm

See Performance Tips. Using too many objects can reduce performance, so try to use several medium size ones.
Scirra Founder
B
378
S
220
G
84
Posts: 23,868
Reputation: 188,151

Post » Sat May 26, 2012 7:16 pm

OK Thanks Ashley! Now that you mention that I think it would be aesthetically better as branches will wiggle when in the struck areas. Thanks guys. C2 POWER LORDS!
B
36
S
11
G
3
Posts: 279
Reputation: 8,371

Post » Sat May 26, 2012 7:27 pm

Perhaps you can also look at the canvas plugin ... seems the best way to create this kind of trees is to draw them ... I think it is also possible (but quite hard) to create a tree generator using canvas plugin so do a illimited number of different trees !naelian2012-05-26 19:33:48
B
17
S
5
G
3
Posts: 298
Reputation: 5,300


Return to Construct 2 General

Who is online

Users browsing this forum: SaRaB and 10 guests