Platforming Game Enemy AI [Castlevania Style Game]

Get help using Construct 2

Post » Sun Aug 12, 2012 11:47 am

I tried it and it seemed to still affect all of them and not individually.
B
15
S
5
G
2
Posts: 154
Reputation: 3,076

Post » Sat May 25, 2013 5:41 am

I was wondering if by chance you figured this one out. I'm still trying to figure it out myself.
B
4
Posts: 24
Reputation: 325

Post » Sun May 26, 2013 1:23 pm

I didn't entirely fix it at the time, I was alot more inexperienced with C2 :)

Looking at it now, I think the main problem was with containers.

https://www.scirra.com/manual/150/containers

Have a look through, see if you understand it.
Sorry I can't be of any more help on it
B
15
S
5
G
2
Posts: 154
Reputation: 3,076

Post » Wed Nov 13, 2013 10:21 pm

guys why wont u put a capx fileminaehab2013-11-14 14:03:08
B
6
Posts: 49
Reputation: 423

Post » Sat Apr 02, 2016 11:05 am

I'd set up an instance variable to detect proximity of the specific werewolf to the player and as it is an instance variable only that foe would attack the character. Another solution would be to set up a Function which takes the werewolf id as parameter and alert only the foe of that id.
B
7
S
2
G
1
Posts: 2
Reputation: 1,015

Post » Sat Apr 02, 2016 1:39 pm

You don't have to use a bullet behavior at all! :D I tried making a game similar to this and here is how to do it... so give it a platformer behavior and put default controls to no. Now head to your event sheet and do the fallowing events...


sprite.x < player.x
---- sprite: simulate platform pressing right.
---- sprite: set not mirrored


sprite.x > player.x
---- sprite: simulate platform pressing left.
---- sprite: set mirrored

Also if you want him to jump over stuff do this...


is by wall on left
---- simulate control jump

is by wall on right
---- simulate control jump



I hope this helped!!!
B
15
S
3
G
2
Posts: 80
Reputation: 2,170

Post » Sat Apr 02, 2016 2:01 pm

You don't have to use a bullet behavior at all! :D I tried making a game similar to this and here is how to do it... so give it a platformer behavior and put default controls to no. Now head to your event sheet and do the fallowing events...


sprite.x < player.x
---- sprite: simulate platform pressing right.
---- sprite: set not mirrored


sprite.x > player.x
---- sprite: simulate platform pressing left.
---- sprite: set mirrored

Also if you want him to jump over stuff do this...


is by wall on left
---- simulate control jump

is by wall on right
---- simulate control jump



I hope this helped!!!
B
15
S
3
G
2
Posts: 80
Reputation: 2,170

Post » Sat Apr 02, 2016 2:02 pm

Sorry for it coming out twice!
B
15
S
3
G
2
Posts: 80
Reputation: 2,170

Post » Wed Apr 06, 2016 2:30 am

I think this can help you
https://www.dropbox.com/home?preview=WorkingNice.capx
B
7
S
2
G
1
Posts: 2
Reputation: 1,015

Previous

Return to How do I....?

Who is online

Users browsing this forum: Pandadoor, Zebbi and 23 guests