How do I keep memory usage small?

Get help using Construct 2

Post » Sun Jun 08, 2014 10:15 pm

I'm working on my game Star Catcher and for it to run on a mobile device it needs to stay on the small side.

Problem is, right after I get all my layouts (4) and event sheets for them made I add the compressed version of my background and the memory shoots up to 29mb before I've added any sprites or music or events! I have it at a standard 16:9 resolution landscape mode.

Can anyone help me out?
B
10
S
1
Posts: 69
Reputation: 641

Post » Sun Jun 08, 2014 11:53 pm

Do you mean image memory?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Sun Jun 08, 2014 11:57 pm

yeah, I'm trying a new file with a smaller layout size and so far it's working.
B
10
S
1
Posts: 69
Reputation: 641

Post » Mon Jun 09, 2014 12:07 am

I don't think the layout size had anything to do with the image memory.
One of my layout's is 92000 by 3000 px, And the size is 40 mb with tons of trees and grass...etc.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Mon Jun 09, 2014 12:11 am

Huh...maybe It's becasue I compressed all my images in export for web.
B
10
S
1
Posts: 69
Reputation: 641

Post » Mon Jun 09, 2014 4:27 am

A0Nasser wrote:I don't think the layout size had anything to do with the image memory.
One of my layout's is 92000 by 3000 px, And the size is 40 mb with tons of trees and grass...etc.


That file size on a mobile or browser?
B
33
S
5
G
1
Posts: 163
Reputation: 2,693

Post » Mon Jun 09, 2014 11:17 am

@Scofano
On browser.
Really i didn't test my game on mobile.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Mon Jun 09, 2014 4:30 pm

A0Nasser wrote:@Scofano
On browser.
Really i didn't test my game on mobile.


If you have the time, give it a try.
I´ve been very upset with the results (but trying to figure it out how to improve them) of c2 mobile on an action game I´m working on. :cry:
B
33
S
5
G
1
Posts: 163
Reputation: 2,693

Post » Mon Jun 09, 2014 9:56 pm

I'm planning to test on ipad and mobiles after i finish from the browser release.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Mon Jun 09, 2014 11:38 pm

I've been able to get my file down to 20 mb and it;s running okay on mobile though there's this odd bit 30 seconds in where it slows down a bit...
B
10
S
1
Posts: 69
Reputation: 641

Next

Return to How do I....?

Who is online

Users browsing this forum: nahima and 6 guests