How do I stop running events?

Get help using Construct 2

Post » Sat Mar 05, 2016 6:14 pm

Well, title can be a little confusing, but what I mean is that how can I "interrupt" an event.
Im making a platformer adventure game, etc... And I have a boss that can both attack you and defend from your attacks, the problem is, when the boss starts the animation of attacking, if you attack him, he can change his animation to the defend one, so you kinda stop the animation and stop him from attacking you, but the problem is, the player stills gets damage after interrupting the attack animation

PS: Srry if you dont understand, Im not english :p
B
4
Posts: 17
Reputation: 232

Post » Sun Mar 06, 2016 5:24 am

Lo primero que se me ocurre seria añadir otra condicion en el evento que establece cuando el jugador sufre daños, por ejemplo que el boss no solo conecte con el jugador pero que termine X animacion o quizas: Jugador no se defiende + Boss play X animacion + animacion play X frame. Donde la ultima X seria el ultimo o anteultimo frame. En teoria deberia funcionar. Es medio complicado sin tener un capx de referencia, pero es lo que entendi por lo que escribiste.
B
10
S
1
G
1
Posts: 21
Reputation: 1,011


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, DuqueKarl, Vinterstille and 3 guests