I have a scrollable meny that allows me to tap down - and it uses widget screen locations to use as translation values. I scale up the widgets as they enter the screen center. That is literally the extent of my menu.
I eventually realised that the scaled widget was effecting its screen position slightly. and so before the widget locations are taken, the previously scaled buttons need scaling back to 1.0.
But without the delay of 0.2, the game doesn’t sample the scaled down widget. It still thinks its scaled up. But with this delay the tabbing is laggy and inconsistent. And I was just thinking how can a game as basic as this be required a delay so it can sample widget positions on the screen?
right after the position queries - the animation for the scroll happens
and then the scaling of that central button
But this should be super fast an lightweight. Its just a menu. wtf?
any help plz show me why I’m dumb, thanks x