Wrap the Player

Get help using Construct 2

Post » Sat Oct 15, 2011 11:01 pm

Ok how to put this, say i'm in a cockpit and my level is 1000x1000 and i'm using 8 direction movement, and i'm using scroll to, to focus on the cockpit, when i reach the far right, i'm bound to layout, but can i make myself wrap..?
B
40
S
14
G
11
Posts: 243
Reputation: 9,427

Post » Sun Oct 16, 2011 12:03 am

Check your sprite's coordinates. When it's > to layout.width (extreme right) set it to 0. Th scroll to will follow you and it will feel like you've teleported.

You might check the capx in this post.

That should do it.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Sun Oct 16, 2011 12:04 am

I was actually just looking at that other topic, Kyatric, and I was going to ask if that little gap problem has been solved yet?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Sun Oct 16, 2011 12:06 am

Thanks for your help
B
40
S
14
G
11
Posts: 243
Reputation: 9,427

Post » Sun Oct 16, 2011 12:22 am

@SullyTheStrange: TBH I haven't watched in it again, so probably no.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, shinkan, stylie1, tarek2 and 13 guests