Wrap problem. Scale issue...

Get help using Construct 2

Post » Sun May 12, 2013 10:22 pm

Hi,

My project is being designed for a 4:3 ration. However, when exported to cocoonjs on phones etc the layout will be more like 16:9 or 3:2.

The problem I am having is with wrap. I have an object set to wrap and in letterbox scale everything is working as expected. However, when I set to "scale" (which emulates what will happen when I put it on a tablet/phone device) the object wraps incorrectly and now disappears part way across the screen.

How, do I reset wrap so that it knows about the current size of the layout?

I have attached a simple capx to show what I mean.

Run it first and see bullet moves off the screen and comes back as expected.

Now, set the project to "scale" and the bullet disappears about 3/4 across.

https://www.dropbox.com/s/bp8xd3rv5t755ox/WrapProblem.capx

czar2013-05-12 22:23:52
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Mon May 13, 2013 5:35 am

Lots of views, no solutions :( @Ashley, does this mean it is a bug in wrap?

I seem to be stuck.

I cannot change the layout size after the app has started so as it is wrap will not function correctly if the screen size is set to scale.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Fri May 24, 2013 3:27 am

@Ashley, is there any way to reset the wrap so that it wraps to the dimensions of the screen? At the moment it is essentially broken if you want the object to wrap in screen with different aspect ratios.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests