New Android Export Experiences

Discussion and feedback on Construct 2

Post » Fri Dec 20, 2013 5:12 pm

@jayderyu

Glad to be back on these forums. I used to be AppmobiTyler and had awesome badges but I couldn't change the username and figured a new account was needed. I now also have more of a drive to re-grab those badges!

Warning: I didn't work on the creation of Crosswalk, but this is my understanding of the technology.

Crosswalk adds 20-25MB when compiled on the local machine or in the cloud since to my understanding it is packaging up chromium, enabling WebRTC, WebGL and others goodies though code. We realize this is sub-optimal but this is the initial release and we're working on streamlining now.

Thanks for bringing this testing friction issue up. Our team is always looking for what users want and I'll bring this issue up in our next meeting.

Most importantly on this thread:

We think we fixed the Crosswalk build issue
We noticed not just construct 2 people were having issues and found a bug in the build system. Anyone who has tried and failed please retry and see if you're still getting errors. If so then just message me so we can continue to track down the issue :DIntelTyler2013-12-20 17:13:40
Intel Corporation
B
2
S
1
Posts: 4
Reputation: 408

Post » Fri Dec 20, 2013 5:40 pm

Thanks for looking in to the issues @IntelTyler and team!

I'd remind everyone that to test Crosswalk you must use the 'Crosswalk for Android' build option, and download and install the APK. Any other preview, test or build options do not currently use Crosswalk, as far as I am aware.

For testing, the easiest thing to do is just run the game in Chrome for Android using preview-over-wifi! It should run very close to what you get in Crosswalk. As far as I'm aware there are two differences though:

- Crosswalk can enable WebGL even when Chrome for Android doesn't enable it
- Crosswalk can play music at any time, whereas Chrome will queue up music playback to start at the next touch.

The music thing is pretty minor, but the WebGL difference can be pretty significant, and we might be making more changes in future (such as handling the back button and IAP). We might be able to publish a test app ourselves, since it just needs to be a Crosswalk app that can load the preview-over-Wifi URL. I'll have a look in to that.Ashley2013-12-20 17:42:16
Scirra Founder
B
397
S
236
G
88
Posts: 24,420
Reputation: 194,549

Post » Fri Dec 20, 2013 5:44 pm

@AnD4D

The icon problem is an issue with XDK support for crosswalk. We are working on it.
B
1
Posts: 3
Reputation: 131

Post » Fri Dec 20, 2013 6:00 pm

The export through Crosswalk looks to be working now! Thanks guys!

Performance is a little less than on CocoonJS, but promising! I am sure I can optimize more.

The major issues I am seeing right now are ones I reported yesterday:

- No Fullscreen (ie Status Bar can be seen always currently)
- Screen Orientation is always set to 'both' (meaning a fixed Portrait or Landscape are based off of phone orientation; my game only works in Landscape and I would like to force it).

Thank you @IntelTyler, @rscohn2, @ashley Zharzew2013-12-20 18:07:02
B
8
S
2
G
4
Posts: 64
Reputation: 3,199

Post » Fri Dec 20, 2013 6:08 pm

[QUOTE=Zharzew]

- No Fullscreen (ie Statue Bar can be seen currently)

[/QUOTE]

This seems to be device dependent. On a Nexus5 (4.4.2) I have clean fullscreen, on a Nexus7 pad (2013 edition, 4.3) I get the battery life bar and the button-bar at the bottom.
B
77
S
28
G
32
Posts: 481
Reputation: 19,763

Post » Fri Dec 20, 2013 8:05 pm

@IntelTyler
Were you the one working on the Pender project?
I have no problem with the bloated size I expect that since the project needs to include a browser. I have the problem that my game assets are 49MB and XDK won't compile the project due to the larger size of the game. Limit of 25MB and keep in mind the uploads are going to be long. While we plan on releasing The Blue Code as episodic there will come a day where we will want to bundle the entire game as a single package. This could very well be 500mb. This isn't really going to work out well with XDK 25mb limit size. :(

@Ashley. that would be cool if Scirra provided a Construct 2 Android test app using a Crosswalk compile.

Also I would like to point out. That in the details list. You can turn off features which will decrease the final size. My 24MB Droust game was packaged to a 14MB. So to everyone. Make sure to turn off what you don't need. If you don't use a compass turn it off, if you don't use Microphone or Camera turn off the capture devices... etc.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,028

Post » Fri Dec 20, 2013 8:14 pm

My first test performance has been very good! but on my device "Samsung Galaxy S" no notification bar and works vertically. I'm waiting for a possible control buttons "back", "menu" ... etc ....

I'll try it on a device bq aquaris 5 "hd ... to see if the same results.

But I'm happy for the breakthrough!SergioRM2013-12-20 20:16:53
B
42
S
8
G
5
Posts: 52
Reputation: 6,914

Post » Fri Dec 20, 2013 8:19 pm

@Allchix
@RookieDev
If you're still having installation problems, I found a workaround.
Assuming you have WinRAR installed, rightclick the setup file ("xdk_web_win_master_0240.exe") and click "Open in WinRAR" and then you'll see a "Setup.exe". Click that. :P
B
51
S
20
G
10
Posts: 571
Reputation: 9,819

Post » Fri Dec 20, 2013 8:36 pm

Anyone know the difference between x86 and ARM? Not sure which I should be picking.

In my game, it takes a while for my main sprite to load in. I can move it around, but it's not visible for a few seconds.
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
80
S
12
G
7
Posts: 965
Reputation: 10,750

Post » Fri Dec 20, 2013 8:53 pm

@jatderyu
Alright, totally misunderstood what you were talking about. Right now the XDK NEW has the 25MB upload, but I believe you can actually just upload your project to the AppCenter(http:// appcenter. html5tools-software .intel.com) without going to the XDK and build with only a 50MB limit.

This limit is imposed because the Google Play store won't allow apps over 50MB. If you have a game over 50MB, there is another way you can compile your code native to point to another bundle that injects assets. This technique is only available to native devs as of this moment, so to avoid people creating apps that will be rejected, we placed this limit. We are looking for a viable solution though.

So for a 500MB game deployed to Android, I'm not sure if you could do that with HTML5 unless you natively compile by hand. This again is my understanding, if anyone else has better info, please post on the thread!
Intel Corporation
B
2
S
1
Posts: 4
Reputation: 408

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Harolddadev and 6 guests