How do I make one? I got the sprite done, but I don't know how to code a throwing weapon, like a throwing knife or shuriken. Any help would really be apprieciated.
If you change the item.useStyle to 5 that usually does it since thats what boomerangs often use (the useStyle is actually called 'Shoot'), and change the item's item.shoot to the projectile you want to shoot (ProjectileID.ITEMNAME or the ID number).
I havent fully coded a projectile yet but there are videos on youtube for certain that help.
dont forget to also change item.shootSpeed for the distance it goes
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.