CocoonJS: background outside layout

Discussion and feedback on Construct 2

Post » Fri May 30, 2014 7:08 am

I made an Auto Runner game and Compiled it with CocoonJS for Android. When running the game on mobile device there are some background images showing that are outside layout dimensions. Also cannot center game on screen, it's always left or right. How to correct this? Thank you.
B
3
Posts: 1
Reputation: 177

Post » Fri May 30, 2014 7:57 am

If you export via C2 with fullscreen Letter Box, CocoonJS will default to Scale Outer mode, so you have to be aware of how to fix that issue on some devices which aren't compatible with your display ratio, ie. 16:10 or 4:3 etc.

https://www.scirra.com/tutorials/73/sup ... reen-sizes
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests