Do the blank parts of a tilemap use up performance?

Discussion and feedback on Construct 2

Post » Fri Sep 02, 2016 3:19 pm

I have a tilemap imported from tiled which has an occupied space of 10% and the rest are blank (blank space is just for visual measurement)... In ways a tilemap would work, does a blank space still affect performance. Aside from Ashley's explanation, I still don't really know how tilemaps work.

Thanks.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,852

Post » Fri Sep 02, 2016 6:57 pm

Its really not an issue. Modern devices have way more memory, and handle textures good enough to pretty much disregard the power of two limitations of older gpu's.
Supposedly the next version of webgl will make p^2 moot anyway.
Also don't forget its video memory, it gets swapped around a lot, and has like zero impact on the cpu.
The only way it could be an issue is if you have a lot of objects with huge invisible areas.
Like a 32x32 sprite in the middle of a 512x512 frame uncropped.
Image ImageImage
B
169
S
50
G
173
Posts: 8,313
Reputation: 110,270

Post » Sat Sep 03, 2016 1:54 am

@newt - Sorry, I don't know if I explained my question well or I did not get your answer.

My point here is that. Regarding the tileset, it has no problem, no uncropped parts since it is measured well.
My question is about the unoccupied space of the tilemap object.... My Layout size is for example 5000x5000 and the tilemap also sized the same with the layout. But only 10% of the tilemap is drawn on the layout, 90% is empty space.

But I did not use the C2 Tilemap bar to draw the map, I used the Tiled.exe & I don't know if the blank space on the tilemap object is drawn like a transparent image, making it consume performance. I pointed it out in case tiled and C2 has a difference.

So my question is does the blank space part of the tilemap consume performance.
Considering the drawn part of the tilemap is at the bottom?

Thanks.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,852

Post » Sat Sep 03, 2016 2:52 am

Nope.
The only part of a tilemap that takes up any space is its texture.
The only time a tilemap has any impact on the cpu is when it has a collision.
Image ImageImage
B
169
S
50
G
173
Posts: 8,313
Reputation: 110,270

Post » Sat Sep 03, 2016 3:39 am

@newt - Thanks.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,852


Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 13 guests