Question about Tiled Background for building level

Discussion and feedback on Construct 2

Post » Thu Apr 04, 2013 12:32 pm

I have few questions for those who have experience building level using TiledBackground.


1. Is it ok to use only one huge TiledBackground object (Tile size is 32x32) to cover the whole layout,
or do i need to split it into smaller chunks ?

For example using only 1 TiledBackground object (tile size 32x32) to cover 2400 x 640 Layout,
instead of several small chunks, let say 10 TiledBackground object each with 480 x 320 in size.

I read somewhere (forgot where it is) that it's better to split bigger objects,
so I wonder if the rules still applied to TiledBackground.



2. Which method do you guys think is better practice to build level from Tiled Background,
something like this: (a simplified example, the real thing will be hundreds of tiles with different types)




METHOD 1
1. Less object, but some overlap happens:



Only 3 objects (2 type of TiledBackground)


METHOD 2
2. More objects but no overlap happens:



7 objects (2 type of TiledBackground)


METHOD 1 definitely is faster and easier to build
(however I wonder if those overlaps will cost a rendering time in the long run ?)


Thanks in advance Potato2013-04-04 12:33:14
B
34
S
13
G
8
Posts: 134
Reputation: 8,118

Post » Thu Apr 04, 2013 1:53 pm

It's fine to use a layout-sized tiled background. Method 2 of designing your level will probably cause you to go mad, so I'd recommend method 1 simply because it's the only practical option. Performance should be approximately the same as method 2 anyway.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests