Monogame Sprite Sheet Now

These tools generate two files:

public class AnimatedSprite

Rectangle sourceRect = new Rectangle(x, y, frameWidth, frameHeight); monogame sprite sheet

string name = $"x_y"; Rectangle region = new Rectangle( x * frameWidth, y * frameHeight, frameWidth, frameHeight); _regions[name] = region; These tools generate two files: public class AnimatedSprite

monogame sprite sheet