Is my app too heavy for smartphones?

Get help using Construct 2

Post » Wed Dec 21, 2016 6:51 am

Hi guys, I have completed a game, and I tested the application, besides heavy loading time (about 4-5 second) between layout, everything works fine. I know large image will use up alot of RAM, so I had resized all my images. but when I tried my game with other phone, it doesn't work well, the app crashes sometimes or the background is missing. Below I'll show my app details, please give me some advise is my app very heavy for smartphones,

Approx. download: 35.1mb
memory use: 169.8mb
Events: 381
The largest background size: 2881,2010
All the layout background size: 533,854
Average animation frame per sprite: 80

Asus Zenfone 5
Android version 4.4.2
ram 2gb
Everything works fine

Samsung S4
Android version 5.0.1
ram 2gb
Could not load background image

Samsung S3
Android version 4.0
ram 1gb
Could not load background image
Sometimes app crash

Is my layout background size too large? Usually what is the appropriate size for layout?

Please, I need advise..
Posts: 73
Reputation: 6,474

Post » Wed Dec 21, 2016 10:35 am

Layout size doesn't really matter. It's what the cpu has to draw to fill in that that 170 mb of memory.

Have you looked at what Ashley talks about on desiging for mobile?

Think of a phone as a small storage unit. Your the 3 bedroom house you have to pack into it.

When i first started, i wanted to go big. But soon found out that ain't happening. I had to try and figure out (through reading manual entries and posts) how to pack 10lbs of crap into a 2lb bag.

My 2nd or 3rd attempt at designing a game used about 130mb of memory. I gave up. Came back and designed a much smaller one.

After being away for about a year, i went back to that previous it down to under 80mb, which is still a little high, but i learned how to pack that 2lb bag more efficiently.

Layout size doesn't really matter. It's that huge bg image that is being drawn along with the 1000 other objects.

Also, check your objects in the image editor (i think its called) is there large amounts of transparency between your objects and the edges? Crop it out.

Physics is probably the biggest drain on cpu's. Are you using it in your game? Check collision boxes. Check overlap on collision boxes...

There is a ton of things that can cause your game to drop.

Your mission, should you accept it, is to learn what those things are. And then figure out how to get that 10lbs in that 2lb bag.

Also, and this is a biggie, we love capx's. The more experienced persons on here can look at it, instead of asking 100 questions in 20 posts, and see what's wrong. And you're bound to get a bit more help with a capx, instead of some dope typing up a long post and taking up space.
Posts: 664
Reputation: 14,112

Post » Wed Dec 21, 2016 10:50 am

jeffige wrote:.......some dope typing up a long post and taking up space.

Agree about the .capx but disagree about the dope part :)

Nice post, @jeffige.
If your vision so exceeds your ability, then look to something closer.
Posts: 5,726
Reputation: 61,438

Return to How do I....?

Who is online

Users browsing this forum: Naurgalen and 21 guests