Please listen to the tale of my woe...
I recently let my friend playtest my game for the first time and one of the thing he ask me to change is the size of my enemies...
As we all knew, the default enemy sprite is way bigger than the default player sprite (sideview combat).
So I grab Yanfly's Animated Sideview Enemies to resize the enemy sprite down a noth...and then quickly realize that the state icon position doesn't change place and it is now floating way too high.
So I go in the code and add * this._enemy.spriteScaleY() to the height calculation. The icon now seem to appear at the appropriate place...nice!
EXCEPT Olivia's State Tooltip Display now have a stroke!
TOOLTIP DOESN'T APPEAR UNLESS YOU MOUSE OVER THE PLACE WHERE IT WAS UNSCALED!
Of course, I naturally open up Olivia's code thinking it should be too much of a hassle to find and fix this problem...
Only too find the code of said plugin is just ONE LOOOONG LINEEEEEE!!
And honestly, try as I might, my brain cannot comprehend how can I solve this problem at all!
But do you want do know what is the most curse thing is?
If I were to set the stateIconSprite directly to a number....State Tooltop Display work as normal!
WHY!?!?!?
If anyone know how to solve this shenanigans...please elucidate me.....
I recently let my friend playtest my game for the first time and one of the thing he ask me to change is the size of my enemies...
As we all knew, the default enemy sprite is way bigger than the default player sprite (sideview combat).
So I grab Yanfly's Animated Sideview Enemies to resize the enemy sprite down a noth...and then quickly realize that the state icon position doesn't change place and it is now floating way too high.
So I go in the code and add * this._enemy.spriteScaleY() to the height calculation. The icon now seem to appear at the appropriate place...nice!
EXCEPT Olivia's State Tooltip Display now have a stroke!
TOOLTIP DOESN'T APPEAR UNLESS YOU MOUSE OVER THE PLACE WHERE IT WAS UNSCALED!
Of course, I naturally open up Olivia's code thinking it should be too much of a hassle to find and fix this problem...
Only too find the code of said plugin is just ONE LOOOONG LINEEEEEE!!
And honestly, try as I might, my brain cannot comprehend how can I solve this problem at all!
But do you want do know what is the most curse thing is?
If I were to set the stateIconSprite directly to a number....State Tooltop Display work as normal!
WHY!?!?!?
If anyone know how to solve this shenanigans...please elucidate me.....