New CocoonJS plugin from Ludei! Open source!

Discussion and feedback on Construct 2

Post » Sat Jul 19, 2014 4:52 pm

@thesecretweapon try using a loader layout and see if that helps, I think it does with my games
https://www.scirra.com/tutorials/318/ho ... ng-screens
B
63
S
12
G
6
Posts: 456
Reputation: 8,969

Post » Sun Jul 20, 2014 9:05 am

russpuppy wrote:@thesecretweapon try using a loader layout and see if that helps, I think it does with my games
https://www.scirra.com/tutorials/318/ho ... ng-screens


This is what I found there:

Limitations

Note a few limitations on using loader layouts:

1. Loader layouts are not shown when publishing as native apps on mobile (e.g. via PhoneGap, CocoonJS and appMobi). This is because the entire application is downloaded at once. Since all files are immediately available, nothing needs to be downloaded. For these platforms you probably want to focus on a custom splash image instead.


Since the loader is never shown when exported using CocoonJS, does it make sense to just make a blank loader layout without graphics just to test if the Ludei logo stops flickering or not?
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Sun Jul 20, 2014 2:35 pm

@thesecretweapon
hm. actually it does show up on Cocoonjs, at least in my apps
B
63
S
12
G
6
Posts: 456
Reputation: 8,969

Post » Sun Jul 20, 2014 3:07 pm

russpuppy wrote:@thesecretweapon
hm. actually it does show up on Cocoonjs, at least in my apps


You can add a custom splash screen at the dashboard of ludei's cloud compiler, but this will not remove the ludei splash screen.

I have 4 games using cocoonJS and at one the logo flickers for a very short time (almost not recognizable) but for other games it flickers 1-2 seconds. I'm not sure if this is a problem with any settings of the game or a basically issue of the cloud compiler.

Edit: Ok i tried a game of ludei and the logo doesn't flicker at all. So it has to be a issue with the game configuration, some events or plugins or a basically problem of the combination of C2 and cocoonjs.

Just strange.
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Sun Jul 20, 2014 3:33 pm

AndreasR wrote:
russpuppy wrote:@thesecretweapon
hm. actually it does show up on Cocoonjs, at least in my apps


You can add a custom splash screen at the dashboard of ludei's cloud compiler, but this will not remove the ludei splash screen.

I have 4 games using cocoonJS and at one the logo flickers for a very short time (almost not recognizable) but for other games it flickers 1-2 seconds. I'm not sure if this is a problem with any settings of the game or a basically issue of the cloud compiler.

Edit: Ok i tried a game of ludei and the logo doesn't flicker at all. So it has to be a issue with the game configuration, some events or plugins or a basically problem of the combination of C2 and cocoonjs.

Just strange.


@AndreasR @russpuppy When I enable "Use custom loader" in project properties, the ludei cloud compiler fails to compile. The compiler status turns red and I get an email which says that the compilation failed. Upon disabling custom loader and deleting the custom loader layout, the compiler works fine. I am using the latest 2.0.2 compiler.
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Sun Jul 20, 2014 3:35 pm

thesecretweapon wrote:@AndreasR @russpuppy When I enable "Use custom loader" in project properties, the ludei cloud compiler fails to compile. The compiler status turns red and I get an email which says that the compilation failed. Upon disabling custom loader and deleting the custom loader layout, the compiler works fine. I am using the latest 2.0.2 compiler.


I also use loader layouts for my games and compile these with cocoonJS. Never got any errors. Try to uncheck 'minify script' this causes the most issues, espeacially with the cocoonJS plugin.
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Mon Jul 21, 2014 1:42 pm

russpuppy wrote:@ashar

I've never used a webview, I've always done canvas+

Not sure, I would just recommend making sure you've followed every step in this tutorial: https://www.scirra.com/tutorials/781/ho ... b-cocoonjs

I think there's actually maybe a better tutorial around but I don't remember where to find it

the problem with both tutorials is that MoPub has changed since this tutorial came out.. i have two aps in mopub but only one ad Unit show in mopub Network
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Mon Jul 21, 2014 2:12 pm

@igalencar you can use a single MoPub/AdMob ad unit for all your games if you want. Is not against AdMob policy. Also...about MoPub several weeks ago MoPub remobed 2 of my games but they notify me by email before. I am waiting for Crosswalk to integrate Ads and leave MoPub and CocoonJS
B
78
S
21
G
23
Posts: 513
Reputation: 18,623

Post » Mon Jul 21, 2014 2:49 pm

Cipriux wrote:@igalencar you can use a single MoPub/AdMob ad unit for all your games if you want. Is not against AdMob policy. Also...about MoPub several weeks ago MoPub remobed 2 of my games but they notify me by email before. I am waiting for Crosswalk to integrate Ads and leave MoPub and CocoonJS

Same here.. also we need control of the keys to be able to update the aps with no problem
B
24
S
7
G
2
Posts: 63
Reputation: 2,597

Post » Mon Jul 21, 2014 3:29 pm

igalencar wrote:
russpuppy wrote:@ashar

I've never used a webview, I've always done canvas+

Not sure, I would just recommend making sure you've followed every step in this tutorial: https://www.scirra.com/tutorials/781/ho ... b-cocoonjs

I think there's actually maybe a better tutorial around but I don't remember where to find it

the problem with both tutorials is that MoPub has changed since this tutorial came out.. i have two aps in mopub but only one ad Unit show in mopub Network


@igalencar try this one:
https://www.scirra.com/tutorials/1024/m ... onjs-games
B
63
S
12
G
6
Posts: 456
Reputation: 8,969

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests