Platforms - Sprites or TiledBackground

Discussion and feedback on Construct 2

Post » Fri Aug 02, 2013 8:25 pm

If I have only have six sprites for my platform images (TopLeft, TopMiddle, TopRight, BottomLeft, BottomMiddle, BottomRight), am I better off using 4 sprite instances (TopLeft, TopRight, BottomLeft, BottomRight) and putting the "middle" pieces into two TiledBackground objects, or leave them all as sprites?
B
14
S
6
G
1
Posts: 140
Reputation: 1,791

Post » Sat Aug 03, 2013 6:53 am

It depends whether your project is optimized for performance. Just bare in mind performance is prior to the amount of objects used. Take a look at this page: https://www.scirra.com/manual/134/performance-tips
B
34
S
9
G
5
Posts: 168
Reputation: 6,605

Post » Sat Aug 03, 2013 2:18 pm

You may also consider using the 9-patch object for your needs. Go check it out in the manual--it may help you quite a bit,
B
100
S
35
G
16
Posts: 942
Reputation: 16,109


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests