Cocoonjs help

Get help using Construct 2

Post » Thu May 16, 2013 11:16 am

PLs help me with cocoonjs and construct 2 . I want to make full screen, but it does not work .... I tryed all fullscreen options in construct 2 and in cocoonjs too (scale, stretch....) but game is always align to left and with white stripe.... i do not want this white stripe... i want stretch or scale and align to center with black strips....
B
25
S
4
G
2
Posts: 318
Reputation: 2,481

Post » Thu May 16, 2013 11:56 am

Try setting your window size to 1280 x 720. I had the same problem, but I set my window size to 720 and the white bars were gone and the screen was completely filled.

Good luck!
B
5
S
1
G
2
Posts: 1
Reputation: 1,389

Post » Thu May 16, 2013 12:46 pm

@raiper341

Did you set your background bigger than your window size?
B
37
S
15
G
8
Posts: 453
Reputation: 7,894

Post » Thu May 16, 2013 1:40 pm

My cocoon projects are usually set to to 'scale' with the layouts unbounded scrolling set for 'yes'.

B
31
S
6
G
4
Posts: 160
Reputation: 5,998

Post » Thu May 16, 2013 1:58 pm

Scirra Founder
B
373
S
218
G
83
Posts: 23,435
Reputation: 185,830

Post » Fri May 17, 2013 9:20 am

I read it ... but cocoonjs do not support Letterbox scale mode...
B
25
S
4
G
2
Posts: 318
Reputation: 2,481

Post » Sun May 26, 2013 4:30 pm

[QUOTE=humanescape] @raiper341

Did you set your background bigger than your window size?[/QUOTE]

no, should i? why? Raiper3412013-05-26 16:30:55
B
25
S
4
G
2
Posts: 318
Reputation: 2,481

Post » Sun May 26, 2013 5:03 pm

I dont like new Scale outer and inner mode i miss old scale mode
B
100
S
23
G
38
Posts: 1,873
Reputation: 30,612

Post » Mon Feb 24, 2014 9:41 pm

Raiper341, have you managed to solve the problem since last year? If so, could you please share your solution? Thanks!
B
9
S
2
Posts: 31
Reputation: 635

Post » Mon Feb 24, 2014 11:22 pm

@Raiper341 / @fundation2000,

Try this example, it might help: https://dl.dropboxusercontent.com/u/184657779/C2_demos/viewportHUD.capx

I put it together to demonstrate how to position HUD objects for different aspect ratios but the principle will still apply to help you, I think (hope). It uses an object with the scroll-to behavior to put the camera view away from the edge of the layout - in cocoonjs this should make the zoom appear symmetrical about the middle of your screen.

Edit - just looked at the date of the OP - d'oh!
B
64
S
16
G
65
Posts: 2,177
Reputation: 41,058

Next

Return to How do I....?

Who is online

Users browsing this forum: Mubot, Trimeister and 9 guests