How do I lighten the load on layout start?

Get help using Construct 2

Post » Mon May 08, 2017 2:22 am

Hi! I'm developing a mobile game and have an issue when transitioning from the "Start" layout to the "Game" layout once exported to mobile through an .apk generated by Cocoon.io. The transition from Start to Game is speedy while testing over wifi, on both Android and iOS devices. However, once the game is loaded through the Google Play Store, the transition is slow, lasting from 2-4 seconds after the play button is clicked on the Start layout. I haven't tested through the App Store yet as I haven't bought an Apple developer license.

I believe the delay is caused by the destroying of ~40 objects "On start of layout" in the Game layout, but I'm not sure how to get around this. As far as I've read, they have to be included on start up to avoid jerkiness from loading in mid-play.


I would greatly appreciate any advice or help!

Thank you!
B
22
S
8
Posts: 9
Reputation: 1,470

Post » Wed May 10, 2017 1:35 am

~bump

still struggling with this if anyone has some advice

thank you!
B
22
S
8
Posts: 9
Reputation: 1,470

Post » Wed May 10, 2017 3:06 am

Combine objects together, for example, backgrounds objects can be one static object, I don't think there's a magic event that will instantly speed up your game
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Wed May 10, 2017 11:55 pm

Hey, thanks Whiteclaws! I really appreciate the advice.

Do you think it would be better to have 20 gradient background tilemaps (1x1080 each that i stretch to 1920x1080) or 1 sprite object for the background gradient with 20 animation frames (1x1080 for each frame)?

Thanks again
B
22
S
8
Posts: 9
Reputation: 1,470


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, jatoblendy and 29 guests