Download

2D shooting

i wanna know how i can make my character to shoot. Also how do i make it able to punch. thank you

It depends -> do you use sprites or meshes for your character?

**Shoot: **
-create a projectile
-spawn it with the “spawn actor from class” node
-create a damage system (event hit + damage node + event any damage)

Punch:
-damage system with volumes (when volume overlaps enemy - damage)

You can either play the animations with montages (https://www.youtube.com/watch?v=zQrNQtfNOHc&list=PLZlv_N0_O1gZS5HylO_368myr-Kg2ZLwb&index=16) or do it the same way as you do it with the sprite animations (when you use paper 2d) :slight_smile: