Problems with APK

Discussion and feedback on Construct 2

Post » Thu Mar 12, 2015 4:39 pm

Have you tried using Ludei's own compiler and not the WebView?
B
124
S
31
G
17
Posts: 1,488
Reputation: 20,050

Post » Fri Mar 13, 2015 2:34 am

The problem was not just that, it really was my mistake. I did not know how the images consumed memory and then was due to the excess of images that my game crashed.

Despite being a relatively small game, I put enormous backgrounds for the character around.

The problem I had with the previous Template, was a compilation error, but all the rest was due to an overload on the use of images.

For this, I created a calculator in Excel to help me in maintaining the memory game. It would be interesting to post it here on the forum? :lol: :lol:

I would like to thank all who were willing to help me, hope one day to return the favor.
B
3
Posts: 5
Reputation: 185

Post » Fri Mar 13, 2015 3:24 am

Using HD images turns the game slow. Try to use 8-bit PNG and small size images.
Image
B
15
S
7
Posts: 126
Reputation: 1,845

Post » Fri Mar 13, 2015 10:08 am

@djosh if that helps, to get the maximum out of C2 spritesheeting (assuming that you left the downscaling to its default value):

with a frame of a sprite with multiple frames (aka if it is animated or has multiple animations, or both), try to make each frame size at most in sizes that fits a n^2 -2 form (aka 4-2=2; 8-2=6; 16-2=14; 32-2=30; 64-2=62; 128-2=126....), what I mean by that is that if a frame is 127x62, it will actually take the same memory as 256x256, if it is 126x62 though, it will take only 128x128.

if you have lots of textures in your project, that can make a difference.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
44
S
18
G
18
Posts: 2,108
Reputation: 16,465

Post » Fri Mar 13, 2015 10:59 am

@EstudioCelula3 - using 8-bit PNGs does not impact performance, only the download size. See 'Common misconceptions' in Performance Tips
Scirra Founder
B
381
S
222
G
84
Posts: 23,978
Reputation: 189,176

Post » Fri Mar 13, 2015 11:07 am

Ashley wrote:@EstudioCelula3 - using 8-bit PNGs does not impact performance, only the download size. See 'Common misconceptions' in Performance Tips


Oh really, it's true. Thanks Ashley.
Image
B
15
S
7
Posts: 126
Reputation: 1,845

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: legendaryarcane, Nepeo and 6 guests