Hi all!
Hoping this is the right place to ask - the discord link in the Scribble documentation is to this discord, though I couldn't see a Scribble specific channel.
I've been profiling recently trying to optimise certain noticeable sections of the game slowing. It's been rather successful being able to clean up inefficient calls and save those precious milliseconds, though my white whale is most definitely my one function that draws the text of a card. When there are enough cards on the screen that should draw, there's a noticeable drop in fps.
It looks like the biggest offender is this Scribble function (see attached image).
Scribble being a bit of a black box to me, and not being one to question the infinitely-smarter-than-me Juju, what is this and is it avoidable?
What is that one doing? Why is it so much greater than the other similarly named calls?
I've also attached an example of what my cards look like - that (poorly named lol) drawCardName function draws the 3 highlighted parts of the card: the number in the top corner, the name, and the textbox effect. I suspect its the textbox effect that corresponds to that particularly long Scribble call, but unsure if it's even relevant.
Any insight is greatly appreciated!