Performance question

Discussion and feedback on Construct 2

Post » Tue Dec 17, 2013 4:53 am

Hello,

I am making a platform game and i was wondering how poeple handle levels.. mine is composed of 2x tilemap of 3000x2000 (16x16 tiles) (one for background and one for foreground which is collisions)

To load a map it take around 5-8 seconds (from ajax TMX). However, i was wondering if this could cause performance problems in the long term ? (I am mostly making it for desktop) will it be better to avoid scrolling at all and big levels and simply use a kind of zelda 1 scrolling effect with small levels ? So when i reach the end of a level simply load the other.. but i might have some problems such when ennemis see me in a level they must fellow me somehow..

Thanks for your advices!
B
16
S
5
G
1
Posts: 190
Reputation: 2,489

Post » Tue Dec 17, 2013 6:26 am

At 3000x2000, I really would t be too worried for desktop. I have much larger with tons more going on than you are describing and my 7-year-old PC can handle it fine.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Thu Dec 19, 2013 1:10 pm

Alright! Thanks. However i decided to go the 1280x720 levels-by-levels route (such in Zelda) because i may export to mobile.
B
16
S
5
G
1
Posts: 190
Reputation: 2,489

Post » Thu Dec 19, 2013 1:49 pm

I wonder whether the gpu handles a tilemap as a handful of separate textures or like a signle texture atlas ? If it works as an atlas, in memory you'll get a 2048*1024 texture, which is big for lower end mobile phones (Android in particular).

Good luck,
Nathan
B
79
S
22
G
4
Posts: 311
Reputation: 12,774


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests