wrap and spacing

Get help using Construct 2

Post » Mon May 20, 2013 11:07 pm

Hello, (excuse my english)

I have done a list of object with arrow left and right to sroll.

The objects family have behavior "wrap".

when i scroll the object with the arrow to each wrap the spacing of the object change.



and after "Wrap" the spacing change.



I want the same spacing to each wrap, how can i do ?

Thank you. chrislechat2013-05-21 21:09:18
B
11
S
3
Posts: 133
Reputation: 1,926

Post » Tue May 21, 2013 9:15 pm

nobody ?
B
11
S
3
Posts: 133
Reputation: 1,926

Post » Tue May 21, 2013 9:26 pm

Wrap isn't great. I have found it pops the objects, rather than a smooth transition.

You may have better luck having 2 events that say:

If ObjectX = LayoutX+51 Set ObjectX to -50
&
If ObjectX = -51 Set ObjectX to LayoutX+50

Then just have Object as a family, so you only have to do it once.AnD4D2013-05-21 21:28:44
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
68
S
8
G
6
Posts: 930
Reputation: 9,358

Post » Tue May 21, 2013 10:09 pm

Thank you, i go to test it.
B
11
S
3
Posts: 133
Reputation: 1,926


Return to How do I....?

Who is online

Users browsing this forum: austinblackbelt and 14 guests