CocoonJS plugin updates

Discussion and feedback on Construct 2

Post » Wed Dec 10, 2014 2:43 am

@ArcadEd

Thanks a lot! I was having trouble figuring out whether the new plugin was necessary or helpful for android. I tried to export stock from C2, but the cloud compiled apk wouldn't work. Will try w/ the new plugin.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Dec 10, 2014 3:16 am

Hmm...well, with the updated plugin I was able to compile and install the resultant apk. When I start it, I get the splash screen, which stays up for maybe 2-3 seconds, then starts flickering madly (on/off every frame). Game never boots. Changing device orientation causes the flickering splash screen to disappear, then the screen goes black. Game never starts. :(

Gonna try another project and see...
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Dec 10, 2014 3:40 am

Couple of things.
1. Make sure you are compiling Canvas+
2. Makes sure you are not using any plugins or objects not supported by CJS.
3. If you can view the debug, it might give you some idea. Try it with the CJS launcher app and look at the debug and see what's going on.

You can always email [email protected] and they can help too. they will want to have a copy of your capx, if you are willing.
B
101
S
32
G
12
Posts: 1,549
Reputation: 21,993

Post » Wed Dec 10, 2014 5:02 am

@ArcadEd

interesting topic on CocoonJS plugin:

how-do-i-optimize-ads-17-000-impressions-in-one-day_t120633
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Wed Dec 10, 2014 6:58 am

@ArcadEd

#2 is probably my issue; the game that hung up has a custom plugin in it. Easy enough to take it out though, it's not integral to the game.

Tried another project and it exported fine, though it runs quite slowly. I think that's just the project itself though. Too many flying bits of pixelated carnage. :shock:
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed Dec 10, 2014 12:39 pm

@Ludei

I do not know if that's asking too much, but it would be possible to include in the plugin, access to the "Back Button" of smartphones?
There is already an addon made by a user of Scirra that performs this function, but it would be interesting to be maintained in the official plugin.
As you can see all the code, is there any chance of inclusion?

I believe it is something very necessary, but do not know if it would be difficult to include this feature.

viewtopic.php?f=153&t=92414&p=817729#p817729
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

Post » Wed Dec 17, 2014 10:39 am

@Ludei

I'm using Loader Style: Percentage text in Construct 2,
however in CocoonJS I just see Ludei logo for 2-3 seconds,
and then black screen for 5-6 seconds,
and my game starts

so is it possible to see percentage text loader after Ludei logo?

maybe @ArcadEd
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Fri Jan 09, 2015 1:10 pm

Hello,

@vitorfgd That feature is already available. Not sure if it is on Construct2 and I am not sure if it is really hard to add it.

@szymek Sorry, but right now that feature is not available in CocoonJS. I can't tell anything about the future.

About the Webview+, we have just fixed the webstorage issue. It should work fine now after recompiling the project.

Regards.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Fri Jan 09, 2015 1:27 pm

ludei wrote:About the Webview+, we have just fixed the webstorage issue. It should work fine now after recompiling the project.

Hello, i'm sorry if that's not the right thread, but i'll ask while i had the chance :D Is there any way to make c2's native admob plugin to work with your webview+?
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Fri Jan 09, 2015 1:43 pm

@Sisyphus I doubt it will work. I think I heard somewhere that they are working on providing their own direct support.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests