Cocoon Js Export Makes sprites half size

Discussion and feedback on Construct 2

Post » Tue Jun 03, 2014 3:26 am

Hi Guys

Just wondering if anyone experienced this before. When I build an APK using the Cocoon Js online service, some of my sprites display at half their original size. I have no idea what to do about this or what could be causing it.

Thank you in advance for any help :)
B
55
S
23
G
9
Posts: 183
Reputation: 9,596

Post » Tue Jun 03, 2014 1:16 pm

Did you made your sprite a certain size based on the screen size?

CocoonJS defaults to Scale Outer for its fullscreen.

https://www.scirra.com/tutorials/73/sup ... reen-sizes
B
72
S
25
G
20
Posts: 1,762
Reputation: 18,314

Post » Tue Jun 03, 2014 2:20 pm

Hi Silverforce

Nope, no sizing through code. Some sprites are fine and others are half size :(

Must be a bug in the exporter, as it works fine through the Cocoon launcher.
B
55
S
23
G
9
Posts: 183
Reputation: 9,596

Post » Tue Jun 03, 2014 4:03 pm

Which C2 version are you using? (a recent beta had this issue of sprite halved)
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
23
G
18
Posts: 2,123
Reputation: 17,200

Post » Tue Jun 03, 2014 11:54 pm

Hi Aphrodite

I'm using Release 169

Everything works fine in the browser and the problem only occurs when packaged to APK using Cocoon JS.
B
55
S
23
G
9
Posts: 183
Reputation: 9,596


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests