How do I Make It Stop Moving?

Get help using Construct 2

Post » Sun Jun 15, 2014 8:23 am

I made text move, but I don't know how to make it stop moving.

On start of Layout
Set Position (3, 1)
Every Tick
Move 1 pixels at angle 90

How do I make it stop once it reaches a certain position?
B
6
Posts: 5
Reputation: 292

Post » Sun Jun 15, 2014 9:19 am

if x or y < certain position
Move 1 pixels at angle 90

Just have it in the condition, then when it is past that point the condition will bu unfulfilled and thus it will stop moving.
B
42
S
14
G
3
Posts: 165
Reputation: 5,115

Post » Sun Jun 15, 2014 1:52 pm

Thanks! :D I got it working
B
6
Posts: 5
Reputation: 292

Post » Sun Jun 15, 2014 3:14 pm

Hmm, I made an example for you, but I see you have it sorted - great work!

However for the benefit of others I may as well post the capx any way.

It has a simple way and also one using lerp for nice smooth effect. Sorry didn't comment much in the capx. but it's late here in Australia.

Hope this is useful to someone.. ;)

TextMove.capx
You do not have the required permissions to view the files attached to this post.
If it can be done, someone on the web will show you how to do it!

CDASI Games Mentality Break Splat-a-bug FlapFleet Challenge
B
35
S
13
G
7
Posts: 363
Reputation: 7,283


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, jezjones24 and 14 guests