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
54
S
9
G
1
Posts: 915
Reputation: 6,362

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
54
S
9
G
1
Posts: 915
Reputation: 6,362


Return to How do I....?

Who is online

Users browsing this forum: Iftikhar555, mohamed hagras, oddreal, RetroSpock and 3 guests