• Tutorials
  • How to make a Sword Slash or Sword Swing effect on Godot using Visual Shader - 3 Different Versions

19 days later

great. would be very interested in a 2D version, too!

@Serenitor said: great. would be very interested in a 2D version, too!

A 2D version could work the same way.

2 years later

You'll need to create a few things: a sword mesh, a sword trail particle system, and a custom shader. For the sword mesh, you can either create one from scratch or use an existing mesh and edit it to look like a sword. For the sword trail particle system, you'll need to create a few emitters and tweak the settings until you get the desired effect. Lastly, for the custom shader, you'll need to write code to make the sword trail follow the sword's path. If you're not familiar with shaders, don't worry - there are plenty of tutorials online at Sword Encyclopedia that can help you get started. Finally, you'll need to add some particles to the sword swing. You can do this by adding a Particle2D node as a child of the sword. With these few steps, you should have a convincing sword slash or sword swing effect in no time! Once you have all of these elements in place, you should be able to create a pretty convincing sword slash or sword swing effect in Godot. Happy coding!