Wrap only on X axis

Get help using Construct 2

Post » Sat Jun 01, 2013 2:24 pm

Hey.

I'm trying to make my character wrap around the layout only on the X axis, not the Y. How do I write that in the event system?

Couldn't find anything about it in the FAQ.

Thanks : )Xionor2013-06-01 14:25:23
B
10
S
3
Posts: 233
Reputation: 1,537

Post » Sat Jun 01, 2013 3:13 pm

Make the sprite.y to jump back, after the sprite.y is smaller or greater then some y-coordinate value.
Example:
http://www.upload.ee/files/3353110/wrap.capx.html
B
14
S
6
G
4
Posts: 107
Reputation: 4,858

Post » Sat Jun 01, 2013 6:09 pm

Thanks! ^^ Worked like a charm! : >
B
10
S
3
Posts: 233
Reputation: 1,537


Return to How do I....?

Who is online

Users browsing this forum: sean080 and 10 guests