attack boxes on diagonal beams

rafhot

Member
i started to play with some beam rays and i want to know what is the best method to create diagonal beams attacks?

since we only can do one attack box per frame, and doing it on a diagonal beam will result into an square how the best way to do it?

for example: if my beam animation have 25 frames, and if i add a small attackboxes in each frame in different positions should work? instead one big attackboxes that will make a big square attack into my diagonal beam?

here some shots of what im doing and how i set the attackbox
https://www.dropbox.com/s/2ieuo3hlwlqsiys/xmen%20-%200016.png
https://www.dropbox.com/s/j3loeppuqa91imu/xmen%20-%200018.png

heres the link of my diagonal beam
https://www.dropbox.com/s/ekabclcg97kt7kk/atkbox.png

you can notice on the image that i will hit enemies even if they are far from the beam ray
 
if my beam animation have 25 frames, and if i add a small attackboxes in each frame in different positions should work?

Why not? That's what I do

Alternatively you can fake it by shooting an invisible projectile at same time with this beam to do the actual attack while the beam itself has no attackbox.
 
Back
Top Bottom