How do I export to mobile (Android)

Get help using Construct 2

Post » Mon Mar 10, 2014 5:30 pm

Hi, i am testing one of templates included in construc , flappy clone, and i try to export it to make an android app.
When i play it as a native android app it have a lot of lags...
Maybe there is something i am doing wrong. ?
I create android app with intel xdk, using Crosswalk for android
B
3
Posts: 5
Reputation: 210

Post » Mon Mar 10, 2014 5:57 pm

Try cocoonjs. You can easily load the cocoonjs launcher in google playstore and play your app with the exported zip file.
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Mon Mar 10, 2014 6:10 pm

Thanks for your reply, but i need more isntructions.
I see where to load cocoonjs in C2, but after that, wht do i have to do ?
I export game to android on C2 ?
And how can i make an android app from exported files ?
B
3
Posts: 5
Reputation: 210

Post » Mon Mar 10, 2014 8:43 pm

The tutorials will take you through it step by step. Just search in the tutorial section for Android.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Tue Mar 11, 2014 5:31 am

I have read tutorials, and i can cretae apk for android
But when i try the flapy example included with C2, and when i create an apk or android, using intel xdk, it's terrible and very laggy...
B
3
Posts: 5
Reputation: 210

Post » Tue Mar 11, 2014 5:48 am

@puccino

When building the app inside the Intel XDK, make sure you select "Crosswalk for Android".

You may be using the regular "Android" one. The regular Android export is the old version, and is much slower than Crosswalk.
B
18
S
6
Posts: 348
Reputation: 2,633

Post » Tue Mar 11, 2014 5:51 am

Hi, thanks for your help.
I have selected Crosswalk for Android, and it is terrible on my phone running android 4.1
On my samsung GS 3, android 4.4, the game is running better but sound is terible
B
3
Posts: 5
Reputation: 210

Post » Tue Mar 11, 2014 5:53 am

@puccino

I believe that Crosswalk utilizes Android 4.2 or higher. Any version lower then that may have compatibility, stability and performance issues.

As for sound, may I ask for more of a description of what you define as "terrible"?


Edit: Sorry, Android 4.0 or better is supported. Depending on the age of the device, may make apps run more slowly.
Last edited by GameThirsty on Tue Mar 11, 2014 5:55 am, edited 1 time in total.
B
18
S
6
Posts: 348
Reputation: 2,633

Post » Tue Mar 11, 2014 5:55 am

I have added an explosion sound, and it's laggy
How can i create an apk for android 4.1 and inferior ?
B
3
Posts: 5
Reputation: 210

Post » Tue Mar 11, 2014 5:57 am

Android 4.0 or higher is supported. I just looked, however even though 4.0 is supported, it does not mean that the device will run it at great speeds. It all depends on the devices processing power.

It could also be, that the device being tested on, has its GPU blacklisted, I believe in some cases.
B
18
S
6
Posts: 348
Reputation: 2,633


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests