Consider Cocoon if XDK is not working (updated)

Discussion and feedback on Construct 2

Post » Mon May 16, 2016 11:30 am

@SparklingAir well i think the thing that people forget is that we make these complex games that do lots and lots of stuff.. and we do it using a company's product to write our code.. then we take this huge mess of code packed into a single runtime.js file and try to run it through another service that is taking ANY code thrown at it and expected to produce a high performing product..

so the more complex it gets.. the more likely this just isn't the case.. often we test on pc's with many times the memory and cpu/gpu power and everything runs great.. then we are shocked when all of this game we make won't run at 30 fps on a tiny device.. in many cases it can but the more demanding a game is either in complexity or number of objects moving around the more likely something will not be as efficient as we thought it was when testing on PC.
B
56
S
9
G
1
Posts: 938
Reputation: 6,458

Post » Wed Jun 08, 2016 8:01 pm

@part12studios what about the obtrusive permissions cocoon needs from players? like identity/contacts? xdk i believe you can turn them off. is xdk on android now up to the same performance as cocoon is?

Namely I don't want

Identity
find accounts on the device

Contacts
find accounts on the device

Wi-Fi connection information
view Wi-Fi connections
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Wed Jun 08, 2016 8:57 pm

@Zebbi I've never had a problem or complaint about the permissions.. also my main focus is iOS which has no permissions at all. Android is a secondary market to me. It's consistently brought in less revenue than it's iOS counterpart. no matter how much or how little.. always the same.

What did the Cocoon IO guys tell you when you requested they change this?
B
56
S
9
G
1
Posts: 938
Reputation: 6,458

Post » Wed Jun 08, 2016 9:40 pm

part12studios wrote:@Zebbi I've never had a problem or complaint about the permissions.. also my main focus is iOS which has no permissions at all. Android is a secondary market to me. It's consistently brought in less revenue than it's iOS counterpart. no matter how much or how little.. always the same.

What did the Cocoon IO guys tell you when you requested they change this?

The cocoon guys say very little to me at all, not paid support I guess :roll:
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Wed Jun 08, 2016 10:05 pm

but you did contact them to ask? Also posting this in the forum could also be a good way to get an answer and if you don't hear from them in a day or two, bump it up.. someone will answer. I haven't dug into it because i don't care but i know it's important to you so go find an answer. :)
B
56
S
9
G
1
Posts: 938
Reputation: 6,458

Post » Wed Jun 08, 2016 10:18 pm

@Zebbi,

I believe that depends on the plugins you are using. I have built my game this week using Cocoon, and there are just standard permission requirements (internet + write/read storage). I would also recommend looking around for articles about permission removals, like this one: https://www.scirra.com/tutorials/1071/r ... mpiled-apk

Haven't tried myself, but could be of help.


About the topic, Cocoon delivered great performance compared to XDK and their UX is just brilliant - it is faster and quite convenient to use, and plus, your apps dont get 20mb+ in size. Though, one should be aware of limitations like Letterbox-scale and Web fonts issues before going for it.
Image
B
19
S
7
G
4
Posts: 36
Reputation: 3,625

Post » Thu Jun 09, 2016 2:19 am

@PiriB that's what I'm saying.. it's not perfect but i've found it a better experience than xdk. that's all.
B
56
S
9
G
1
Posts: 938
Reputation: 6,458

Post » Thu Jun 09, 2016 4:56 am

part12studios wrote:@PiriB that's what I'm saying.. it's not perfect but i've found it a better experience than xdk. that's all.

As of right now, with the latest XDK?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Thu Jun 09, 2016 5:00 am

PiriB wrote:@Zebbi,

I believe that depends on the plugins you are using. I have built my game this week using Cocoon, and there are just standard permission requirements (internet + write/read storage). I would also recommend looking around for articles about permission removals, like this one: https://www.scirra.com/tutorials/1071/r ... mpiled-apk

Haven't tried myself, but could be of help.


About the topic, Cocoon delivered great performance compared to XDK and their UX is just brilliant - it is faster and quite convenient to use, and plus, your apps dont get 20mb+ in size. Though, one should be aware of limitations like Letterbox-scale and Web fonts issues before going for it.


Tools looks good!! I get this:

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:45)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:97
)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
... 8 more


Maybe new version doesn't work with the tool? Would you say the very latest XDK is still beaten by C.io's performance?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,253

Post » Thu Jun 09, 2016 8:41 am

@Zebbi ,

Yes, i can confirm the performance. I have spent a week or two of testing and Cocoon beats latest XDK. Btw, my game was completely unplayable on Android 4.2.2 (which still holds like 25% of market share) via XDK + Crosswalk, but with Cocoon performance is quite good. I also experienced some bugs regarding music and advertisement in XDK, but Cocoon had nothing like that. I also tried building by Adobe's Phonegapp - the performance was the worst there. Just FYI.

About your error - the post was in 2014, and a lot could change in this process. I recommend double checking the plug-ins you are using and maybe remove some of them which are not necessary which are not required. As of 09 June 2016, Cocoon is your best shot. It is not perfect, but it is edible.
Image
B
19
S
7
G
4
Posts: 36
Reputation: 3,625

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Cliffu, jakezinis and 4 guests