issues with animations and hitboxes

Get help using Construct 2

Post » Sun Mar 17, 2013 3:23 pm

hi.
i have 3 problems with my game.
the first is the hitbox spawning in the wrong places when you press D to hit.

the second is that when u press D fast it will spawn more hitboxes,
i want to spawn the hitboxes with the animation but if u press too fast the animation will not finish (you can see it in the capx).

and the third is that i have some bugs with the hiting animation and while your are running, i have some events that handle the hit animation but i think that they are not the optimals.

here is my capx (actualized)
https://www.dropbox.com/s/54ilfgme8vbt1xz/cosa.capx

thanks.haifisch2013-03-17 21:49:38
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Sun Mar 17, 2013 8:23 pm

well i fixed the second issue but i still cant get the hitbox spawn in the right place, someone could help me with that?

edit: i fixed all the problems :P

edit2: i have a last issue with the hitboxes,if you are facing right the hitbox spawn in the right place but if the player is mirrored the hitboxes spawn in wierd places, i had actualized the capx so you can see it. haifisch2013-03-17 21:49:11
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Sun Mar 17, 2013 10:05 pm

You'll need to mirror the hitbox if the player is mirrored.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Sun Mar 17, 2013 10:33 pm

omg thanks a lot, i would never had thought in that, i am still new to construct, thanks again.
B
17
S
2
G
2
Posts: 82
Reputation: 1,712


Return to How do I....?

Who is online

Users browsing this forum: Kagubro, kentbakk, Yahoo [Bot] and 20 guests