LeoOuyang24 / DarkestDungeonPokemonGame

balls
1 stars 1 forks source link

Refactor: AnimatedTextureButton #33

Closed LeoOuyang24 closed 4 months ago

LeoOuyang24 commented 4 months ago

Go through code and figure out what could use AnimatedTextureButton, CreatureSlot may be able to use it or inherit it

LeoOuyang24 commented 4 months ago

7/10/2024: Ended up completely refactoring CreatureSlots into a control with an animated texture button as a child node. This gave me more control over how the elements of the scene scale, for example scaling the button won't scale the icons. AnimatedButton and Anime were both refactored as well so that changing their size finally scales the sprite correctly.