How do I Limit a cursor's moving space

Get help using Construct 2

Post » Thu Jan 08, 2015 8:03 pm

Hey guys . So what im using its not exactly a cursor , its only a object that set's position where I click (touch) . What I want is to limit its space to go . After a certain wall I dont want it to pass that wall even if I click it again after the wall. Please check a capx example I made.
Thanks in advance
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 9
Reputation: 193

Post » Thu Jan 08, 2015 9:54 pm

add clamp for cursor.X
Image
ImageImage
B
102
S
46
G
22
Posts: 773
Reputation: 21,595

Post » Fri Jan 09, 2015 7:26 pm

alextro wrote:add clamp for cursor.X
Image

Perfect ! Thank you so much mate ! :)
B
3
Posts: 9
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: lolsuperscratch, RobertMKD, tarek2 and 10 guests