Exporting as phonegap

Get help using Construct 2

Post » Fri Feb 14, 2014 8:39 pm

I'm trying to export a project as phonegap to preview the app in iOS as native app. Since i've been trying to export it again lots of time changing the project properties to see if anything change but i'm being unsuccessful. The app, after a short time, closes itself returning me to the home screen of iphone. Could someone tell me how to get over this problem or how to export to phonegap properly? By the way i followed this topic (which is outdated)https://www.scirra.com/tutorials/71/how-to-make-native-phone-apps-with-construct-2-and-phonegap. Thanks.
B
7
S
2
G
1
Posts: 38
Reputation: 917

Post » Fri Feb 14, 2014 9:43 pm

It's hard to guess why it might not be working for you without looking at a capx to see if it's something obvious (not that I can think of why that might be). Are you tinkering with the config.xml file at all?

If you are an amateur like me then I suggest having a good read through the phonegap build documentation and I posted some settings I found in other forums on this thread which might be of help. If your game has a lot of graphics or demanding plugins then it's possible that phonegap simply can't cope.

Post a capx if you get stuck - I can't think of anything else to suggest.
A big fan of JavaScript.
B
76
S
20
G
73
Posts: 2,241
Reputation: 45,956

Post » Fri Feb 14, 2014 9:58 pm

Thanks for the reply. Somehow i changed the first layout on project properties and it worked, not as expected but the return to home screen bug didn't happen again. Now the screen is unaligned, even though i'm using the iphone 4 screen size on the project. The FPS are running low, but i don't know if it is a phonegap performance issue, the project itself has 1.6Mb and is kinda simple.
B
7
S
2
G
1
Posts: 38
Reputation: 917

Post » Fri Feb 14, 2014 10:44 pm

Mmmm, I don't know what might cause that. Phonegap is definitely slow though. Might be a zoom inner scale or a parallax error.
A big fan of JavaScript.
B
76
S
20
G
73
Posts: 2,241
Reputation: 45,956

Post » Fri Feb 14, 2014 10:48 pm

I think too, but it is easy to solve. Something that i really can't understand is why the letterbox integer scale isn't working, but that's not a big problem. Anyway, thanks dude =].
B
7
S
2
G
1
Posts: 38
Reputation: 917


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests