1
\$\begingroup\$

I'm working on a 2d java game on Slick engine and I always wondered how to make swing effects when striking with a sword? How to code something like this what's in the game Hollow Fear? Example from YouTube here.

enter image description here

(Image source)

\$\endgroup\$
1
\$\begingroup\$

You've got two simple options:

Generate particles based on the velocity of the sword in the form of motion lines

Draw up sprites and iterate through these using frames (couple of examples at http://www.spriters-resource.com/genesis_32x_scd/shinobi3/sheet/20808/)

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.