fufihiuse / Slorpus-Slaughter-VII

106 group game
4 stars 0 forks source link

Implement sprite sheet #49

Closed the-argus closed 1 year ago

the-argus commented 2 years ago

1.) Create a public static sprite sheet with read-only property 2.) create a struct called Animation which contains a width, height, and number of frames. (could add number of rows and columns too later if we have an animation with too many frames to fit on one horizontal row on the spritesheet) 3.) Replace every class's Texture2D with a dictionary of animations like Dictionary<string, Animation> or maybe an array of Animations

Make sure we can still draw basic, still sprites this way before making the PR and resolving the issue. there's a separate issue for animation.