Feedback request: new PhoneGap features

Discussion and feedback on Construct 2

Post » Mon Sep 29, 2014 3:27 pm

Over the last few betas we've added some interesting new PhoneGap features, including:

- IAP object support on iOS and Android (for Android, it should also work with Crosswalk if you add the com.mcm.plugins.androidinappbilling plugin)
- Game Center for iOS
- iAd for iOS

These can be tricky for us to test, since to make 100% sure they work basically involves publishing to the app store, and we don't have any publishable apps ourselves.

Bug reports are useful to report negatives ("it doesn't work"), but in this case I'm also looking for positives ("I tried it and it did work"). Has anyone tried any of these features on PhoneGap? How have they been working out? Are they working OK? We're due a stable update soon, so it would be good to have some positive feedback that they are working before we ship stable.

Thanks!
Scirra Founder
B
400
S
236
G
89
Posts: 24,546
Reputation: 195,461

Post » Mon Sep 29, 2014 3:58 pm

Hey Ashley,

Do you mean by "PhoneGab" -> "Crosswalk" as well? I am interested in using/testing Game Center for iOS and iAds, but I need the Google Play Games Service plugin as well for that. Are you working on that? Any plans?

Would be nice to just have one leaderboard/achievement plugin like the CCJS Plugin had (for both iOS and Android).
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Mon Sep 29, 2014 4:21 pm

I gave it a quick try and here is some feedback:

- I really like the option to be able to load the player's image. That is something I am going to test soon.
- I like the triggers (fail/error/success).

Questions:
1. Do I need to run "authenticate user" on any start of the game?
2. I am missing the "request score" action to be able to sync with an already submitted higher score.
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Mon Sep 29, 2014 4:25 pm

Yes, the IAP on Android should work in Crosswalk too actually, edited the OP to indicate that. I'm mostly interested in whether or not it works, I'm just looking for "yeah it works" to give us some confidence going in to a stable release.

You always need to authenticate the user on start of any game for Game Center to work.
Scirra Founder
B
400
S
236
G
89
Posts: 24,546
Reputation: 195,461

Post » Mon Sep 29, 2014 4:30 pm

Some unrelated question...

Isn't PhoneGap better than Crosswalk?

According to reports, HTML5 game performance in phonegap isn't exceptional
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Mon Sep 29, 2014 4:34 pm

Scirra Founder
B
400
S
236
G
89
Posts: 24,546
Reputation: 195,461

Post » Mon Sep 29, 2014 4:35 pm

Joannesalfa wrote:Some unrelated question...

Isn't PhoneGap better than Crosswalk?

According to reports, HTML5 game performance in phonegap isn't exceptional


Phonegap has no engine shipped with it, it uses the webview, which is not great except on iOS8 and I think android L (on android L it should be like crosswalk I think, without the 20mb overhead), which can explain the low performances reports across multiple OS versions.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Mon Sep 29, 2014 4:41 pm

"PhoneGap 3.5, which makes use of the in-app web view, but as of PhoneGap 3.5 does not use the new faster web view control. A future version of PhoneGap should be faster and match the performance of Safari. More on this later."


@Ashley How do you know there a new version of PhoneGap will have same Safari performance? Is guaranteed?

@Aphrodite I hope Android L and iOS 8 could be standard for HTML5 gaming.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Mon Sep 29, 2014 5:10 pm

@Ashley Oh nice, I missed that article. Really great. Thanks for writing it down. Pritty clear ;-)

Ok, I integrated both now(iAds and Game Center), but can't test it. I left my mac at work :-( Maybe I will go and get it later.

Another missing thing: "Show/open achievements", I don't want to build a view myselft from recieved data. Would be nice to just open the iOS achievements to show it.
B
34
S
9
G
3
Posts: 206
Reputation: 7,851

Post » Mon Sep 29, 2014 5:13 pm

lol

I would suggest that people who aren't answering Ashley's direct request refrain from posting and start their own topic.

@Ashley I would test it for you but I am out of the office for a few days without my apple products.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests