Help with mobile graphics please

Discussion and feedback on Construct 2

Post » Sat Jan 19, 2013 3:49 am

@Ludei - by saying "do not load all the backgrounds at a time," what does that mean for cocoonjs's memory management? Does it load textures as they are used and unload them when they are not? Does that mean c2's layout by layout loading has been implemented, or is that your own memory management system? I'm very interested to know the specifics of how it works.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Wed Jan 30, 2013 4:00 pm

Arima,

At this moment, CocoonJS is HTML5 standard compliant on this matter. This means that an image is loaded to memory when it is loaded and deallocated when there are no more references to it. So, do not load images until you need them and be sure not tu reference them again if you are not using them anymore. I guess that with an authoring tool like Construct, it is difficult to have such a control and that is why Scirra has added some kind of "extensions" to handle resources more accurately. Ludei will try to provide this kind of APIs soon.

Regards,
Iker
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Wed Jan 30, 2013 6:03 pm

Awesome, thanks Ludei!
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 18 guests