How do I make a dash attack while doing a top down 2d game
So far I have top-down movement for my character where I can move up, down, left, right, and at angles. What I want to add is a dash attack in the direction your moving. I hoping to learn how to make a dash so that I could have my player (a square) dash through the enemies and destroy them. if anyone could help me or show me the code on how to make a top-down 2d dash? I've spent some time in c# but is by far nowhere near good so anything will help
Sharing your movement script would be useful to make it easier to help with this.
Your answer
![](https://koobas.hobune.stream/wayback/20220613021505im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make soccer ball spin according to its velocity in 2D top down game 0 Answers
how to make the sprite invinsible and reappear and how to call the sprite data from another script 0 Answers
C# 2D Top down game how to detect if objects are touching while they can pass through each other? 1 Answer
How to check if player is rapidly rotating the joystick? 2 Answers
Need help with incorporating 2D dungeon algorithm into Unity. 1 Answer