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
43
S
21
G
9
Posts: 142
Reputation: 8,928

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
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

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
43
S
21
G
9
Posts: 142
Reputation: 8,928

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
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

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
43
S
21
G
9
Posts: 142
Reputation: 8,928


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests