My project lags while previewing on phone

Get help using Construct 2

Post » Fri Mar 31, 2017 12:43 am

I have exported my project to Intel XDK and previewed it on my phone using Intel App Preview, but the project's performance is poor, I've also previewed it on my phone's browser, but it's the same there aswell.

I have no endless loops or stuff like that, the performance is good when previewing in browser on my laptop, but that's not the case for my phone.

What may cause this?
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Fri Mar 31, 2017 12:58 am

Memory.

My first project was successfully exported. Got it to work all the way to the main menu but as soon as I click 'New Game' it won't even play at all. the whole thing crashed.

Check this out: https://www.scirra.com/blog/112/remembe ... our-memory
Image Image Image
B
32
S
12
G
27
Posts: 761
Reputation: 17,244

Post » Fri Mar 31, 2017 10:52 am

I'm not really sure that's the problem since my images are all made in construct 2 (I am just testing the game), and I paid attention on the number of objects....
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Fri Mar 31, 2017 10:11 pm

Without seeing your project, it is impossible to diagnose.

Memory issues are first suspect, physics/collisions second, and too many pixels to fill on a draw call third (lots of layered/invisible sprites).
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Sat Apr 01, 2017 7:06 pm

It lags on every other phone except for Xperia which has a WebGL and the game there runs with no difficulties. I've seen that many people suffer from this problem. So, what should I have to do to make no difference in playing from Xperia and other phones.

I have followed the tutorial in the link MPPlantOfficial gave me, but my project still lags.. I've removed 75% of the objects on screen just to test it out, and there was no change in the performance (so, something else is the source of the problem), it still runs by 1 frame per sec.... 0_0
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463


Return to How do I....?

Who is online

Users browsing this forum: Christmas, Hassan Hackmi, minigame and 4 guests