Cocoon Issues

Discussion and feedback on Construct 2

Post » Wed Jul 11, 2012 1:48 pm


I've been working on CocoonJS these days, and I've find several support probleme, I would like to list them here and so to find a solution in the future
______________________________________________________________________
1. plug-in issues:
Perhaps there is several plugin that the CocoonJS doesn't support, but I've find only the "TouchMouse"
______________________________________________________________________
2. Text
In CocoonJs, all the Text, whichever the size (12 or 28) use only a very small size, that we can bearly see them on a smartphone
_______________________________________________________________________
3. Fullscreen issues:
In CocoonJS, there is only one way to use the fullscreen mode : crop+ scale, which means, when the sceen proportion is not the same with your original windows, it will do the scale, then fill the blank with the content outside of window(a little bit like the crop mode)
It is a good idea, I would say: and with tis method, you can have a nice fullscreen game for all devices:


1, use the Behavier Anchor, to fix the elements, whose positions are supposed to be fixed to the bord.
2, use a background a little bit bigger than the windows
3, Then chose Fullscreen scale.

________________________________________________________________________
4. TiledBackground issus:
I've used the sprite TiledBackground, but when I export on Cocoon, there is one more repetion added.
For example, when an image is use 3 time like this:
000000/000000/000000

when it's exported on Cocoon, it's like this:
000000/000000/000000/000000

And then I limited the width and height of the Tiledbackgound
But there is still a problem, so I guess:
Cocoon traits all the Tiledbackgound as original size * integer , what ever you change them, they stay the same during any action.

for example,
when the move to action is used on a Tiledbackgound, which is 3.2* original size , Cocoonjs suppose that it is 4.0* original size. And then change their size to 3.2 when they reach the taget...
_____________________________________________________________________nothing19692012-07-12 10:53:17
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Wed Jul 11, 2012 2:05 pm

And there are still errors that I don't understand or not sure:
______________________________________________________________
JSUtilities Exception: ReferenceError: Can't find variable: jQuery Cause: Tag: requestAnimationFrame Function: function(){b.kd();}

Raison: not sure
When run a game for 5 minuit or even longer, this error happened
______________________________________________________________
JSUtilities Exception: TypeError: Result of expression 'this.Bg[0]'[undefined] is not an object. Cause: Tag: timer Function: function(){a.go();}

Raison: issue plug-in not support
When I have this probleme, It's because I've used the plug-in TouchMouse , which is not supported by Cocoonnothing19692012-07-11 14:56:51
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Wed Jul 11, 2012 4:14 pm

Don't use the TouchMouse plugin - AFAIK it's redundant, superseded by new features in the official Touch plugin, and is missing some important bug fixes in the official Touch plugin.

I've reported the text bug to Ludei myself. I'm not sure about the other issues - you should probably report them to Ludei yourself, because there is not much we can do about it ourselves.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Wed Jul 11, 2012 4:23 pm

ok; Thanks Ashley;
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Wed Jul 11, 2012 4:52 pm

What mobile platform are you testing CocoonJS on?

Before it's recent update I was testing on Android 2.2, but after the update I can't even see my objects anymore.

It doesn't crash, as I can close it and exit out no problem.

I'm not sure what happens with 2.3 or 4.0 or even the different iOS versions yet.
B
29
S
5
G
5
Posts: 39
Reputation: 5,991

Post » Thu Jul 12, 2012 7:53 am

I've used Android 4.0.
There is a little bouton , you can just open it and see if there is any error.
Normally if the fps is >1000 an errors occures
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Thu Jul 12, 2012 8:31 am

Hi,

Thanks for this post, I wrote about some bugs in other post but no one answered...

I use iOS launcher.

I see that text is not well supported yet, I guess they're working on it. I use centered text a lot but it doesn't work, text doesn't appear centered. It shows always aligned to left, but the text starts at the center of the box that contains it. Also the text wrap (word or character) doesn't work.

The other big issue I noticed (I wtote about it here in other post and also in Ludei official web, but I got no answer) is that all the graphics and texts are very blurry. I'll try to make a photo of a test app rendered in CocoonJS and other in Phonegap to show you the differences. I don't know if that happens in Android launcher, but in iOS lauincher it does.

Thanks!
B
8
S
1
Posts: 19
Reputation: 724

Post » Thu Jul 12, 2012 10:27 am

@Quest, thanks
I haven't use IOS launcher jet, But the phonegap take too much ressource on Android, so I can hardly use it.
I didn't found the differences on the color, perhaps a little blurry but I didn't mention it. Not so much on Android.
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Thu Jul 12, 2012 10:36 am

@Ashley, In fact, There is some probleme that I'm not sure if it's ours' or CocoonJS's

Here is one of them:


I've used the sprite TiledBackground, but when I export on Cocoon, there is one more repetion added.
For example, when an image is use 3 time like this:
000000/000000/000000

when it's exported on Cocoon, it's like this:
000000/000000/000000/000000

And then I limited the width and height of the Tiledbackgound
But there is still a problem, so I guess:
Cocoon traits all the Tiledbackgound as original size * integer , what ever you change them, they stay the same during any action.

for example,
when the move to action is used on a Tiledbackgound, which is 3.2* original size , Cocoonjs suppose that it is 4.0* original size. And then change their size to 3.2 when they reach the taget...


well. Not sure if i've made it clear nothing19692012-07-12 10:52:42
B
11
S
1
Posts: 53
Reputation: 1,087

Post » Thu Jul 12, 2012 11:48 am

@nothing1969 - I already spotted that tiled background problem and reported it to @ludei - hopefully they fix it soon.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests