How do I center a Cocoon IO game with letterbox scale?

Get help using Construct 2

Post » Thu Jan 14, 2016 11:40 am

Hi everyone,

So first of all, I'm seeing some REALLY promising results with Cocoon IO. I'm loving it. Making much much faster progress seeing things work than XDK. Anywho, my issue is that I've noticed that normally a letterbox scale game is centered and has nice black bars outside the state.

With Cocoon IO it seems that if i view a letterbox game on say.. an iPhone 4s.. it's left aligned and the empty space inherits the background color of the layout.

Dealing with the color isn't a big deal but the alignment thing would be much nicer if it were centered. Does anyone know how this could be achieved?

Thanks,
Caleb
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Fri Jan 15, 2016 4:16 pm

bump..

let me tell you if you haven't tried out cocoon IO.. and your finding trouble making XDK / Phonegap work.. seriously look into it. I've wasted soooo much time with plugin problems and errors.. CIO has given me faster results AND compared to crosswalk.. the size of the game is 2mb + your game vs crosswalk which is 19mb + your game.. I know a lot of people here favor android so seriously.. check it out..
B
59
S
9
G
1
Posts: 939
Reputation: 6,545

Post » Sun Aug 27, 2017 10:27 pm

Hello! Did you fix it?

I am going through the same problema here. I atried the Scale out... but the landscape screen is left aligned and it lefts a huge blank space on the right.. :(

Thanks!
B
24
S
4
G
1
Posts: 177
Reputation: 1,827

Post » Sun Aug 27, 2017 10:28 pm

I'm using Construct 3 now and dealing with using C3's official publishing approach to avoid 3rd party solutions. I'm not saying it's perfect but it's the future so I'm doing my best to embrace it. Also avoiding mobile games for now and developing for web first.
B
59
S
9
G
1
Posts: 939
Reputation: 6,545


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 17 guests