How do I use letterbox scale with cocoonJS ? (strange bugs)

Get help using Construct 2

Post » Thu Mar 06, 2014 2:10 am

Hi everyone, I made a game with a 16:9 landscape resolution for mobiles.

When I export it to cocoonJS, I use letterbox scale. Everything works fine if the device is 16:9.

Otherwise, there are black stripes appearing on the sides which is normal, but in these black stripes you can see the sprites outside the layout, and also trails of sprites leaving the layout (like bullets, etc.)

* Is someone else is having the same issue ?
* Is there a work-around (using another scaling option, changer layer properties ...?

It is really frustrating as my game is almost finished and ready ... :cry:
B
3
Posts: 5
Reputation: 612

Post » Thu Mar 06, 2014 2:28 am

Unfortunately letterbox scale does not work with cocoonjs. You have to use this workaround:

viewtopic.php?t=96018&p=740758#p740758 (copy+paste on the right position)

Use Irinas method.
B
10
S
2
Posts: 135
Reputation: 1,090

Post » Thu Mar 06, 2014 5:23 am

Scale outer or scale inner depending on how your game looks in each mode.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Fri Mar 07, 2014 11:46 pm

Thank you BluePhaze and Alyra Games it worked !
B
3
Posts: 5
Reputation: 612

Post » Thu Aug 28, 2014 12:49 pm

@kenzonico Hey bro I'm having the same issue ! Did you resolve it or not ? If u did then HOW ? I need help plz :)
B
4
Posts: 7
Reputation: 221


Return to How do I....?

Who is online

Users browsing this forum: David181, evillair and 59 guests