CocoonJS plugin updates

Discussion and feedback on Construct 2

Post » Wed May 27, 2015 4:42 pm

ArcadEd wrote:I don't minify script, not sure if that helps or not.

The only configuration setting I changed from default is WebGL to off/no



IT worked! seems minify was the problem thanks alot Ed been at it for a day or so now lol

@Noga try removing minify when exporting it works for me now
B
22
S
7
G
5
Posts: 100
Reputation: 6,272

Post » Wed May 27, 2015 5:30 pm

Cocoon.io seems to work with cordova!

@ArcadEd

Hi,
Can we just communicate?
My skype is cranberrygame
Thanks
Sang Ki Kwon
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Wed May 27, 2015 8:19 pm

@cranberrygame

PM'd you. :)

ArcadEd wrote:I don't minify script, not sure if that helps or not.

The only configuration setting I changed from default is WebGL to off/no


Wonder if this would get the phonegap.game plug working? Gonna give it a go.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Wed May 27, 2015 8:35 pm

I doesn't for me. The error has to do with the build version of Cordova it seems. I sent Cranberry my error logs and he is in contact with Ludei, so hopefully soon :).
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Wed May 27, 2015 9:51 pm

Hi,
i managed to compile a game in canvas+ and it runs on my Android device, but it isnt Fullscreen, it takes like 1/3 of the screen, the rest is black. I checked Fullscreen in the cocoon settings and in construct its set to Letterbox scale.
Can anybody tell me how its done wright? I remember having similar problems with the old compiler, while Intel XDK makes the same game (with same settings, now even with same exported project) run in fullscreen.
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Wed May 27, 2015 9:53 pm

@fldr it's mentioned a few times in the last few pages of this thread. There is a problem with webGL currently. You need to turn off WebGL in C2 before exporting.

Ludei is aware of it and is working on it.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Wed May 27, 2015 10:18 pm

uh, sorry didnt saw that, thank you very much, will now test with WebGL turned off!

ok now it worked, but i cant say i like that the view isnt centered (my game doesnt match my test devices screenratio so there is a huge black spot to the right of the actual game)

performance seems better then XDK Android Webview build, have to test against the crosswalk build tomorrow
size of the installed app is 20.76MB (XDK Android is 9.68, XDK Crosswalk is ~55MB)

the game doesnt always start when i touch the icon, sometimes there is only a blackscreen, same goes for when the game gets supended and you click the icon while it still runs in the background, it just gives a black screen.

the colors in the cocoon build seem a bit weird:
Image

XDK:
Image

Edit: uh, ok , just noticed this color thing is because of webgl turnedoff, but no clue why, the blocks dont have any effects or stuff
Last edited by fldr on Wed May 27, 2015 11:08 pm, edited 1 time in total.
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Wed May 27, 2015 11:08 pm

@ludei
@ArcadEd
@fldr

Did you sign the apk inside the cocoon.io cloud compiler? I did not and it does not want to install on my devices.
B
18
S
6
Posts: 348
Reputation: 2,633

Post » Wed May 27, 2015 11:10 pm

no, i dont know yet where to get these keys (guess i have to use the same as XDK used if i want to update my game on playstore, wright?), i tested with the debug version
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Wed May 27, 2015 11:15 pm

You need to generate your keystore keys yourself.
http://support.ludei.com/hc/en-us/artic ... ndroid-APK

Just, I just signed mine while it compiled, worked fine.

As for you scaling issue. What full screen option are you using?

Yes, no webGL means no effects or other webGL specific behaviors. I hope it's fixed soon :)
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests