Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Sat Aug 23, 2014 7:26 am

@szymek

Yes crosswalk supports adds using plugins

I have leadbolt banner ads working using podes iframe plugin
and I have leadbolt interstitial and alert ads working using cranberrys plugins
B
50
S
22
G
14
Posts: 174
Reputation: 10,842

Post » Sat Aug 23, 2014 9:15 am

Darth Crusher wrote:I have leadbolt banner ads working using podes iframe plugin
and I have leadbolt interstitial and alert ads working using cranberrys plugins


what about AdMob banners and AdMob interstitials? (because of the highest fill rate)
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Sat Aug 23, 2014 10:41 am

cranberrys plugin does those as well
B
50
S
22
G
14
Posts: 174
Reputation: 10,842

Post » Sat Aug 23, 2014 1:14 pm

Good work, this has improved a lot since I last tried it in february! Now my main issue is performance, which is not yet on par with CocoonJS. I suspect this might be an issue with Chrome rather than XDK though, as I have the same lag when running it in the Chrome mobile browser (which I don't have in the same project in CocoonJS on my Samsung Galaxy S3).
B
18
S
3
Posts: 57
Reputation: 1,081

Post » Sat Aug 23, 2014 1:49 pm

SirSpunky wrote:Good work, this has improved a lot since I last tried it in february! Now my main issue is performance, which is not yet on par with CocoonJS. I suspect this might be an issue with Chrome rather than XDK though, as I have the same lag when running it in the Chrome mobile browser (which I don't have in the same project in CocoonJS on my Samsung Galaxy S3).



That might be a true. I didn't think about that but I've noticed about 10-15 fps drop on some of my projects. It used to be 55-60 now it's 40-50 either with canvas 2d or webgl on my Galaxy S3
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Sat Aug 23, 2014 2:36 pm

When printing the CPU usage within the app it does seem to be lower in the compiled app compared to the Chrome mobile browser, about 50% lower. Although my fps is good at the moment, it seems to jerk/lag slightly at irregular intervals.

I also noticed a delay when playing audio (already preloaded), which also happens in Chrome mobile browser and CocoonJS. It's about 0.3 seconds long on Samsung Galaxy S3, which is noticable and make timing-based audio difficult.

As I'm experimenting with a music game, my biggest issue is that Audio.PlaybackTime in C2 does not take this delay into account, so I have to manually add 0.3 secs to Audio.PlaybackTime to get the actual playback time of the song. I'm mainly worried that this delay varies across devices, which might mess up the timing. Still, this is an improvement from CocoonJS where Audio.PlaybackTime did not work at all.
B
18
S
3
Posts: 57
Reputation: 1,081

Post » Sat Aug 23, 2014 8:49 pm

I'm also noticing performance lags which really ruin the gameplay experience :/

I thought it might've been my code but that's looking less likely with only 34 events and minimal iterations...
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Sun Aug 24, 2014 11:12 am

I suddenly cannot build any more apps in XDK. I get "An error occurred while building the application" although I didn't change any settings. I'm guessing they're having temporary server issues.
B
18
S
3
Posts: 57
Reputation: 1,081

Post » Sun Aug 24, 2014 1:06 pm

@IntelRobert Could there be some sort of notification saying servers are down or something? - just tried to fix + clean install thinking there was an issue with the program because it was lagging heavily...
B
25
S
6
G
3
Posts: 197
Reputation: 3,355

Post » Mon Aug 25, 2014 2:56 am

@IntelRobert

I just compiled Star Nomad with the latest XDK (beta xwalk) and it's amazing, graphics quality onpar with CocoonJS, similar fast performance!

I noticed something strange, I use scale inner (with browser object calling on start of layout, fullscreen scale inner), and it behaves as if the device buttons are not there but they are visible and block the lower part of the screen (interfering with my UI). However, when i triggered an IAP (using cranberrygame's phonegap plugin), the game suddenly switch to full-screen IMMERSIVE mode, where the buttons aren't visible, you have to swipe from below to bring them up again.

I wanted to ask if thats normal and whether we can control that.

Edit: hmm, on subsequent launches it starts default in immersive mode sometimes and sometimes not... what is going on.. ??
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot], mihirolover and 21 guests