New Android Export Experiences

Discussion and feedback on Construct 2

Post » Fri Feb 14, 2014 2:43 am

@Zharzew: I'm working on Crosswalk. Advertising support has been in plan. You can track below issue to follow up its progress:
crosswalk-project.org/jira/browse/XWALK-726yongsheng2014-02-14 02:55:25
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 2:49 am

@dooley: About lock orientation, @Silverforce provides a good method to enable it. Another method is using HTML5 API. We've supported 'lock orientation' since Crosswalk-4. I think XDK will integrate it soon. See the spec:
dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html

And our implementation discussion here:
crosswalk-project.org/jira/browse/XWALK-162
yongsheng2014-02-14 08:54:24
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 3:03 am

Since Crosswalk-4, the issue of volume control should be fixed for WebAudio. No problem with audio tag.
But the sound is low because web audio is played similar to phone calls.
However, audio tag could be played well. This is same as Chromium.

So if just playing audio files, I think audio tag is a preferred approach.yongsheng2014-02-14 04:46:05
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 3:05 am

@dooley: about 'double tap', actually it's a problem for Android 4.2 and older. Now it's fixed in Crosswalk. :)yongsheng2014-02-14 03:06:07
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 3:12 am

[QUOTE=RenatoB] Could someone confirm for me: Crosswalk runs only in Android 4.2? I need to buy a cel phone with android to test my apks. Thanks.[/QUOTE]
@RenatoB: Crosswalk could run on Android 4.0+. so versions newer than 4.0 could run Crosswalk.yongsheng2014-02-14 03:13:39
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 3:41 am

[QUOTE=yongsheng] Since Crosswalk-4, the issue of volume control should be fixed for WebAudio. No problem with audio tag.
But the sound is low because web audio is played similar to phone calls.
However, audio could be played well.

So if just playing audio files, I think audio tag is a preferred approach.[/QUOTE]

@yongsheng

Can you explain audio tag to us Construct 2 users? Currently we have the Audio plugin, it's got Music and Sound import WAV to OGG/MP4.

How can we go about making audio from Construct 2 games work properly on Crosswalk?Silverforce2014-02-14 03:41:53
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,609

Post » Fri Feb 14, 2014 4:43 am

@BiznessMan

When you build with Crosswalk, make sure you click the 'canary' version in the build dialog.

You can also select if you want to run your app in full screen, or with the toolbar showing as well.

Then inside C2, use the Browser Object, and "Lock Orientation" to whichever mode you want.
-----------
thanks, Since crosswalk-4, we supported Fullscreen API. See:
crosswalk-project.org/jira/browse/XWALK-825
the spec is here:
http://www.w3.org/TR/fullscreen/yongsheng2014-02-14 04:44:49
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 4:49 am

[QUOTE=Silverforce] [QUOTE=yongsheng] Since Crosswalk-4, the issue of volume control should be fixed for WebAudio. No problem with audio tag.
But the sound is low because web audio is played similar to phone calls.
However, audio could be played well.

So if just playing audio files, I think audio tag is a preferred approach.[/QUOTE]

@yongsheng

Can you explain audio tag to us Construct 2 users? Currently we have the Audio plugin, it's got Music and Sound import WAV to OGG/MP4.

How can we go about making audio from Construct 2 games work properly on Crosswalk?[/QUOTE]
@Silverforce, audio tag means html5 audio element. See http://www.w3schools.com/html/html5_audio.asp

However, for web audio, it's quite different than audio tag. It uses similar mechanism like WebRTC which is for web based real communication. So the sound is for earphone. We'll sync with upstream.
It's web audio here:
http://www.html5rocks.com/en/tutorials/webaudio/intro/
B
6
S
1
Posts: 48
Reputation: 545

Post » Fri Feb 14, 2014 5:36 am

@yongsheng

Is there a plugin for Construct 2 for that? Because the default one is just Audio and its going through the earphone on some devices, or volume controls don't work.

I mean as a C2 user, how do I go about using WebAudio or HTML5 Audio?
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,609

Post » Fri Feb 14, 2014 6:29 am

@yongsheng Thank you for the update about Ad support. That is very exciting. Is there a time frame for adding this support?

Is there a plan to support Google Play API services (ie leaderboards, achievements, etc), as well? It seems like a natural thing to also support.

Also, is there a upcoming release list for Crosswalk? And a list of when IntelXDK is going to integrate the latest version? It sounds like they are a few versions behind. I have no idea what features are planned, or even already supported in Crosswalk.

Thanks so much for your help!
B
8
S
2
G
4
Posts: 64
Reputation: 3,199

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: paradine and 1 guest