My experience with C2 exporting to mobile in general

Ideas and discussion about publishing and distributing your games

Post » Tue Sep 02, 2014 9:52 am

Hi.

So I have this popular app that almost topped some of the Google Play charts here in Poland. Nevermind the name (that's not the point) but it has 60k+ active users and growing.

I selected the Intel XDK/Crosswalk as my exporter of choice and it seems to have done a relatively good job. The app works for most people, with a couple of bumps along the way:
- the apk size is too big - a native app would be some 5 mb at the most; Crosswalk is 50 mb after installation,
- a lot of one star reviews: "doesn't work", "crashes", "says too little free space when I have 2gb" etc. - disabling some old devices and limiting to Android 4+ helps but it still happens,
- the performance could be better, and this is a simple app,

All in all I doubt I could achieve better results with any other export option.
Now I would really like to get my app on the Apple AppStore. To do that, I purchased the developer account and... it proved impossible.

My first choice - the XDK had some problems with certificates but when I finally got the export to work, the app only displayed a white screen. Then someone in another thread told me that C2 doesn't really support exporting to iOS via the XDK.

My second choice was Ejecta, as it seems this is currently considered *the* iOS exporter. Unfortunately though my app really needs textboxes, xml and other stuff that Ejecta just doesn't support.

Sooo... right, CocoonJS. I got the premium account, exported, opened with XCode and launched. Starts slow, displays splashscreens. Then it turns out the textboxes are gone, my swipe gesture for some reason only works on one side of the app, the scaling is screwed (displays things outside of the layout no matter what scaling settings I choose in C2 and CocoonJS.)

So as you see, I'm starting to think I'm beating a dead horse.

Now, the funny thing: my app works perfectly well on any device in the browser. So one would think 'hey, then maybe the best option would be to have a version of Chrome without toolbars disguised as the app.' But wait... isn't that how these exporters actually work? So I'm wondering... why is it so problematic to create a working wrapper if the devices are already capable of running the apps smoothly on their browsers? I mean really.
Last edited by pirx on Mon Sep 22, 2014 5:47 pm, edited 2 times in total.
B
16
S
7
G
1
Posts: 158
Reputation: 3,125

Post » Tue Sep 02, 2014 12:32 pm

Thank you for sharing. I still waiting for new solutions, because the actual exporters are not working as intended.
Image
B
104
S
23
G
17
Posts: 1,350
Reputation: 22,028

Post » Tue Sep 02, 2014 3:43 pm

iOS has always been problematic because they've imposed severe restrictions on apps implementing browser features, and then provided very slow built-in browser features for apps (UIWebView).

This all changes with iOS 8: the UIWebView will have the full performance and features of the browser, as well as WebGL support. You should then be able to get great results with PhoneGap. Until then Ejecta is about as good a stepping stone as can be made with Apple's tight restrictions, and it does have its limitations, but it should be workable if you design from the start with those limitations in mind.

iOS 8 should be out in a couple of months and luckily iOS is pretty good at quickly getting a majority of devices on the latest version. So hopefully by the end of the year the picture will be very different.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,464

Post » Tue Sep 02, 2014 3:52 pm

Does this mean PhoneGap will be a truly viable option to use once that happen? I hope there'll announce when the time comes, or a blog post about it.
B
28
S
8
G
4
Posts: 553
Reputation: 4,914

Post » Wed Sep 03, 2014 6:34 am

That's GREAT news Ashley. Can't wait!
B
16
S
7
G
1
Posts: 158
Reputation: 3,125

Post » Wed Sep 03, 2014 3:44 pm

@pirx

2013 - Scirra is waiting for CocoonJS improvements
early 2014 - Scirra is waiting for Crosswalk improvements
late 2014 - Scirra is waiting for iOS/Android improvements

:D
B
18
S
6
G
1
Posts: 783
Reputation: 4,187

Post » Mon Sep 15, 2014 11:01 am

szymek wrote:@pirx

2013 - Scirra is waiting for CocoonJS improvements
early 2014 - Scirra is waiting for Crosswalk improvements
late 2014 - Scirra is waiting for iOS/Android improvements

:D


And yet each time, the result becomes better and more stable
The option to go directly html5 for mobile still is a niche however...
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Mon Sep 15, 2014 3:41 pm

Thanks @Pirx for sharing your experience! (I feel the pain since I try to publish on iOS too)

Have you tried to export now that iOS 8 GM is out?
B
7
S
1
G
1
Posts: 36
Reputation: 751

Post » Wed Sep 17, 2014 9:22 am

I still love C2 for the ease of creating games and I will definitely continue using it. Working in C2 does give me genuine pleasure.
However, I don't have the time nor desire to put up with the perks, limitations and issues of wrapping the applications so that they sort of work on mobile, maybe. This is simply too much of an issue: should be one-click-ish thing. So for the time being I'm leaving C2 to desktop HTML5 development, which is where it excels.

In short, I gave up and I rewrote my app in native code for both Android and iOS.

That said, things are getting better. I've just noticed that the new beta has AdMob support which is great. With the new iOS 8 and when the Build Service is supported it will all be WAY less painful. If you have trouble with getting your app to work on iOS try the Build Service. Apart from the lack of Admob support it was the only wrapper that didn't mess up my app.
B
16
S
7
G
1
Posts: 158
Reputation: 3,125

Post » Sun Sep 21, 2014 1:28 am

szymek wrote:@pirx

2013 - Scirra is waiting for CocoonJS improvements
early 2014 - Scirra is waiting for Crosswalk improvements
late 2014 - Scirra is waiting for iOS/Android improvements

:D


Glad to say XDK/Xwalk is finally awesome for Android.

iOS is still iffy, Ejecta is just broken for me and others (seems some get it to work fine, while some can't get their game started at all!).

Yes, looking forward to phonegap for iOS8! Luckily most Apple users update quickly so a few months from now, iOS8 will reach 70%+ coverage. If the JIT JS engine is faster than Chrome, it's gonna be even better than XDK.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Next

Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 0 guests