How do I make object taking right side with "platform"

Get help using Construct 2

Post » Sat Jan 17, 2015 7:28 pm

I have moving right and left snail, but when my player gets too close snail aims toward him.
How can I make it happen?
B
6
Posts: 56
Reputation: 366

Post » Sat Jan 17, 2015 7:36 pm

Compare x and y if player near snail then set animation towards player else not
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,748

Post » Sat Jan 17, 2015 7:49 pm

set animation toward player?
How?
B
6
Posts: 56
Reputation: 366

Post » Sun Jan 18, 2015 9:27 am

NormalOne give time I will post capx for you soon
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,748

Post » Sun Jan 18, 2015 11:05 am

Here you could do it like so
You do not have the required permissions to view the files attached to this post.
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,748

Post » Sun Jan 18, 2015 8:07 pm

But my Snail goes where he likes (random), and I can jump on platform without touching blue box.
B
6
Posts: 56
Reputation: 366

Post » Sun Jan 18, 2015 9:06 pm

if your snail going random then use invisiable sprite and place it by randomly going snail position - (minus) snail.X and snail Y
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,748

Post » Sun Jan 18, 2015 9:21 pm

But when I have a group of snails my game would jam
B
6
Posts: 56
Reputation: 366


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests