Valdriks
Terrarian
(This is my first post on this site and I'm rather new to "drawing" sprites in tModloader so bear with me)
I'm trying to make a modded magic weapon that makes one of 6 distorted faces briefly appear and then fade away every time it's used.
I should have no trouble making the weapon decide which face to show, but as for making said face appear, I'm not sure what kind of approach I should take. UseItem() and similar methods won't work, because there's no "spritebatch" argument which is required by the only "draw" code that I know of.
Any suggestions or pointers on how to achieve this would be greatly appreciated. Again, I haven't done much sprite drawing before so I wouldn't be surprised if I'm missing some obvious way of doing this.
(I don't think I need to attach any files or code, because the script is just a generic magic weapon and I'm just asking about how to make an effect. Correct me if I'm wrong though)
I'm trying to make a modded magic weapon that makes one of 6 distorted faces briefly appear and then fade away every time it's used.
I should have no trouble making the weapon decide which face to show, but as for making said face appear, I'm not sure what kind of approach I should take. UseItem() and similar methods won't work, because there's no "spritebatch" argument which is required by the only "draw" code that I know of.
Any suggestions or pointers on how to achieve this would be greatly appreciated. Again, I haven't done much sprite drawing before so I wouldn't be surprised if I'm missing some obvious way of doing this.
(I don't think I need to attach any files or code, because the script is just a generic magic weapon and I'm just asking about how to make an effect. Correct me if I'm wrong though)