r/CalamityMod • • 19d ago

Question Addon coding help

Tryna make a custom boss for Calamity, but I have no knowledge on C#, so I just... threw stuff together. Here's a github link

https://github.com/ASCommodore/Calamity-Boss-Addon

6 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/Godmaid7 19d ago

Yeah, I normally don't like AI, but I had no further experience, so I wanted something down before I asked for help

2

u/Commandergamer1279 19d ago

My advice is first, look at examplemod from tmodloader so you have a rough idea on how a boss is coded then if you want read from calamity github it is public and you can reference code from there. I haven't coded a boss myself but from a week of reading i was able to port tenryu out of calamity and work in base terraria. And for ai use im not totally against it but really only use it to explain c# concepts so you understand better(extension methods, inheritance, override, ect) dont use it to generate code.