Help finding resources about spritesheet animation

RickdiculousG

Terrarian
Hey guys, im a new modder looking to create my own custom spritesheets for unique npcs and bosses. im looking to add custom animations for npcs and mobs. but there is very little information about custom animations online. Do we use internal c# methods for it? the xna lib? or does the terraria script have a class for it? Ive done quite a bit of canvas work with javascript but am brand new at c#. Any help with resources would be fantastic and much appreciated.
 
Take a look at Example Mod, it has many animated NPCs, Projectiles, and Items that you can look at.

For the most part, you create one large sprite sheet that has each frame stack on top of each other. Then you cycle through the frames with code.
 
Back
Top Bottom