How do I make Enemy fallow player in Platform game?

Get help using Construct 2

Post » Thu Sep 04, 2014 4:04 pm

its solved thanks.
Last edited by kaanakcx on Sat Sep 06, 2014 7:07 am, edited 2 times in total.
B
3
Posts: 13
Reputation: 195

Post » Thu Sep 04, 2014 9:19 pm

You can try this:
player x > enemy x ----- enemy set mirrored
else ----- enemy set not mirrored
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Fri Sep 05, 2014 5:19 am

thanks dude but it didnt work. i did player X> enemey.x --enemy set mirroed and playerx < enemy.x enemy not mirrored. but notthings happend. the just move on the left thaks to bullet behaviour i find this example but i it s 4 direction move. i want zombies attack me so the need to follow me.,

Code: Select all
http://dl.dropbox.com/u/11087850/EnemySlimeLerp.capx
B
3
Posts: 13
Reputation: 195

Post » Fri Sep 05, 2014 6:16 am

ovv i close to find this
i said
enemy is on screen --- enemy set angle toward --Player.x,enemy.y (if i say Player.y when i jump they move slowly.)
enemy set mirrored

now they follow me when they move on the right what i want. but when they move on the left they're walking on their head like this

Image


HERE İT MY NEW EVENT

Image
B
3
Posts: 13
Reputation: 195

Post » Fri Sep 05, 2014 7:41 am

Look at this demo and work it out
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,753

Post » Fri Sep 05, 2014 8:03 am

thanks man i thing you use r179 version now im downloading and i will try . but i think i will understand .İ deleted the bullow behaviour . and i said player X<enemyx--enemey not mirroed and simulate platform left and Player X> .... etc etc i will try your demo walking and whic is better i use it.
B
3
Posts: 13
Reputation: 195

Post » Fri Sep 05, 2014 10:23 am

its Solved thanks your help guys.
B
3
Posts: 13
Reputation: 195

Post » Fri Sep 05, 2014 11:16 am

It's ok anytime we are here to help
B
252
S
39
G
15
Posts: 1,964
Reputation: 40,753


Return to How do I....?

Who is online

Users browsing this forum: diamantico21, ratboy3, TRMG and 44 guests