Apk export

Discussion and feedback on Construct 2

Post » Sun Mar 06, 2016 4:06 pm

Why construct 2 dont have export to android choice. I knew i can make apk with intel xdk,cocoon but i want to make apk directly.
One more problem is my game running good on pc but too much lag on mobile(galaxy s4) and really low fps. I have already read and try some optimizitation and performance topics but there is no difference. Do you guys have any suggestions?
B
3
Posts: 4
Reputation: 183

Post » Tue Mar 08, 2016 3:23 am

I like C2's awesome development system - it's really fast and direct. But, unfortunately, the Android performance is not good enough for me - even with my modest test setup levels. I'm getting 9-15 FPS on a level with one character and some blue balls.

I'm going to move over to either Unity or Unreal. The project I'm working on now is important to me and I really want to focus on making an awesome, aesthetic game. C2 doesn't have the performance capabilities on neither my phone (Galaxy S4) or tablet that I own to even handle very little.

Unless you're making a very pixelated game, I suggest you look at other cross-platform game editors for mobile performance.
B
4
Posts: 1
Reputation: 202

Post » Tue Mar 08, 2016 1:21 pm

Modern Android devices should be able to run most games just fine.

With build services like PhoneGap Build or the Intel XDK, you should just be able to click a few buttons and get an APK out. I do it relatively regularly and it's not too hard, and it saves you having to configure gigabytes of SDKs and IDEs on your system to do the building yourself.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Post » Tue Mar 08, 2016 3:55 pm

Before building the project in Intel XDK.

1. Go to your build folder
2. Edit intelxdk.config.additions.xml
3. Remove everything what is there
4. Paste this:
Code: Select all
<preference name="debuggable" value="false" />
<intelxdk:crosswalk xwalk-command-line="--ignore-gpu-blacklist" />
<intelxdk:crosswalk xwalk-command-line="--disable-pull-to-refresh-effect" />
<preference name="CrosswalkAnimatable" value="false" />


Test performance again.
ImageImageImage
B
27
S
16
G
74
Posts: 981
Reputation: 41,681

Post » Tue Mar 08, 2016 6:09 pm

BackendFreak wrote:Before building the project in Intel XDK.

1. Go to your build folder
2. Edit intelxdk.config.additions.xml
3. Remove everything what is there
4. Paste this:
Code: Select all
<preference name="debuggable" value="false" />
<intelxdk:crosswalk xwalk-command-line="--ignore-gpu-blacklist" />
<intelxdk:crosswalk xwalk-command-line="--disable-pull-to-refresh-effect" />
<preference name="CrosswalkAnimatable" value="false" />


Test performance again.

What happens when you ignore the GPU blacklist?
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Tue Mar 08, 2016 7:06 pm

From what I understand Chromium has a blacklist of particular WebGL features for particular devices. This means that some WebGL features may cause potential issues sometimes.

When you have it enabled chromium has to check against the blacklist everytime your game tries to execute some WebGL feature.
Now if you ignore the gpu blacklist, then such features will be treated by hardware acceleration.

But this is just how I understand it and it is still not clear for me (I may be wrong). Hard to find any detailed information how it works and what it exactly does.
ImageImageImage
B
27
S
16
G
74
Posts: 981
Reputation: 41,681

Post » Tue Mar 08, 2016 9:11 pm

BackendFreak wrote:From what I understand Chromium has a blacklist of particular WebGL features for particular devices. This means that some WebGL features may cause potential issues sometimes.

When you have it enabled chromium has to check against the blacklist everytime your game tries to execute some WebGL feature.
Now if you ignore the gpu blacklist, then such features will be treated by hardware acceleration.

But this is just how I understand it and it is still not clear for me (I may be wrong). Hard to find any detailed information how it works and what it exactly does.

Still, thanks for the information.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Tue Mar 08, 2016 11:56 pm

Construct 2 does not have native exporters.

Use Cocoon for the best performance.

The more time goes on, the better performance will get due to stronger devices.

Optimize and then optimize again.
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 16 guests