Object do not stop to specified x coordinate

Get help using Construct 2

Post » Sat Oct 12, 2013 9:43 am

Hi, new here I am playing with the latest version of construct 2. As per the above subject the object sprite never stops after reaching the specified x coordinate. Anyone can help me here will be highly appreciated.Thanks!

Event 1: System -> Every Tick      Action: Sprite -> Move forward 5 pixels

Event 2: Sprite -> X = 350        Action: Sprite -> Set X to 350
B
8
S
1
Posts: 14
Reputation: 487

Post » Sat Oct 12, 2013 10:02 am

Probably the sprite's x-coordinate is never exactly 350.

maybe you should check if the x-coordinate is between 352.5 and 347.5.
or you could make sure the start coordinate of the sprite is exactly 0,5,10,15 etc. at start of layout


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

Post » Sat Oct 12, 2013 10:39 am

Oh yeah yeah! haha I changed the condition to greater than or equal to. Thanks Stain!
B
8
S
1
Posts: 14
Reputation: 487


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 43 guests