How do I handle hit boxes

Get help using Construct 2

Post » Fri Mar 27, 2015 11:24 pm

So I have a player sprite where I stored animations.
Player hit box which does collisions and carries behaviours (platform, scroll to)
And now I have 4 different attacks, so I was thinking how should i make hit boxes for them.
What I have in mind to do is something like attack1 is playing, on frame3/ spawn attack1 hit box
So what I want to know is if there is a better way to do this because it seems kinda clumsy.
B
7
S
2
Posts: 102
Reputation: 975

Post » Fri Mar 27, 2015 11:28 pm

You can just change the frame of the hitbox sprite, rather than spawning a different one.
ImageImageImage
B
71
S
22
G
257
Posts: 3,788
Reputation: 142,692

Post » Fri Mar 27, 2015 11:34 pm

Oh yeah didn't thinks of that *slowpoke LoL, Thanks I'll try that
B
7
S
2
Posts: 102
Reputation: 975


Return to How do I....?

Who is online

Users browsing this forum: adelwich, kizlengames and 7 guests