I’m back to programming! I had a busy week with other work outside of work, so I wasn’t able to work on the game until now, so thanks for waiting patiently!
I’m like, always thinking about what the next steps are even when not programming, and I had the great idea to reuse my small stat window to preview more of your character’s stats. Looking back at my code, it was a REAL mess, like, wow. I managed to first refactor it into something a lot nicer.
This in turn allowed me to create some functions to control the box’s appearance without having to change variables directly inside the object (which is bad programming practice, control of objects should always be done in a standardised manner through scripts/functions!!)
I also made it so the text doesn’t appear all at once, and the scrolling effect of the text matches my box’s animation quite nicely! I also added some flags which control hiding or showing of different bits like the recruitment conditions, moves/abilities, and the number of part slots they have. I still need to display part slots but it’s close to done!
Please don’t mind the position of the box, it’s temporary… as are so many other things in the gif (and in life…)! I plan to have 2 open side by side when you’re choosing the second unit to swap in/out!