How do I make the player colliding with walls

Get help using Construct 2

Post » Fri Aug 22, 2014 10:35 am

using clamp causes i have to keep pressing the mouse button to enable it .
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Fri Aug 22, 2014 10:45 am

There's no reason why using clamp would act differently than not using clamp..

it's just limiting the max and min x and max and min y-values..

Oops..

typed too fast

Clamp(mouse.x,10,400)
Clamp(mouse.y,10,800)

had the order wrong within the clamp expression..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Previous

Return to How do I....?

Who is online

Users browsing this forum: lukewasthefish and 15 guests