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
32
S
9
G
3
Posts: 275
Reputation: 8,063

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 Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

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
32
S
9
G
3
Posts: 275
Reputation: 8,063

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
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

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
32
S
9
G
3
Posts: 275
Reputation: 8,063

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


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 12 guests