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
43
S
14
G
3
Posts: 288
Reputation: 8,866

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
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

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
43
S
14
G
3
Posts: 288
Reputation: 8,866

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
398
S
236
G
88
Posts: 24,428
Reputation: 194,625

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
43
S
14
G
3
Posts: 288
Reputation: 8,866

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
18
S
5
G
3
Posts: 298
Reputation: 5,332


Return to Construct 2 General

Who is online

Users browsing this forum: EwiZad, marcinkowski and 19 guests