How do I set sprite not to move beyond a x or y in layout?

Get help using Construct 2

Post » Wed Jan 28, 2015 5:17 am

Hi there!

How do I set a platform sprite not to move beyond a X or Y boundary in a layout? or do I have to create an invisible object to stop them from moving pass the X or Y?

Thanks!
B
5
Posts: 3
Reputation: 231

Post » Wed Jan 28, 2015 6:41 am

Yes you can make invisible object walls or programmatically by checking x and y of the sprite relative to the window
B
32
S
7
G
2
Posts: 317
Reputation: 2,851

Post » Wed Jan 28, 2015 8:01 am

Thank you!
B
5
Posts: 3
Reputation: 231

Post » Wed Jan 28, 2015 8:12 am

There is also a 3rd party behaviour "Boundary" which I've used successfully.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Jan 31, 2015 6:45 pm

Thanks!
B
5
Posts: 3
Reputation: 231


Return to How do I....?

Who is online

Users browsing this forum: dand, mickclarke and 28 guests