Hi, My game is controlled using a switch button and i have the following setup to unlock worlds/buttons located on my main menu: i have duplicated the game ui a number of times with event observer for distance on them. So reaching a particular distance will switch to a particular ui duplicate with an unlock event for a button. The setup works fine but my problem is that there's an input lag when switching ui ( one second or so) and that's a deal breaker for the gameplay. I was wondering if anyone had any idea of how i could address this problem or if it's even some kind of bbox issue that might be fixed in upcoming updates.
Actually i thought about that and i've changed open/idle and exit frames numbers to 0. I assumed having some frame delay would create the lag but alas not.
Well the video wouldn't show much of the problem since it's a control thing: the character can move left or right when you tap (switch button). However when the game switches ui, there's a small gap where you can't switch at all (it comes back to normal afterwards). So it happens only during a fraction of time but that's enough to spoil the gameplay.
It could be because the taps of the Switch reset when the UI changes? I’m not sure if it’s been fixed but there was a bug a while back where the Switch button wouldn’t switch in the right direction after a Game Over (UI change), so you had to tap twice to get the Switch back to normal in-game. Any advice @Andy @ZackGriset?
Hey @AaroArts and @micdune . I really want to see this. A visual would really help us and a bbdoc too. I'm totally up for brianstorming solutions, but getting a bbdoc to check out would probably be the most efficient. Can you please send a video and/or bbdoc to support@buildbox.com?
Please check the attached bbdoc, the game switches ui when the score (distance) reaches 8. You will notice that the character control becomes unresponsive (counter reaches 10). Thanks for any insight!
Some event observer bugs have been fixed for the next release. Here’s the hope your problem gets resolved with it as well because one of them was lag when switching between UIs. Not sure about the switch control though.