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: 143
Reputation: 1,800

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
40
S
9
G
5
Posts: 177
Reputation: 6,805

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
103
S
38
G
19
Posts: 962
Reputation: 17,996


Return to Construct 2 General

Who is online

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