-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous window sliding #91
Comments
This effect is very noticeable on the mobile: |
I was able to get rid of the background shift when sliding. I had to do some trickery with skipping frames before animation, but now it's stable. :) slide2.mp4The fact is that the middle window consists of two entities - the 3D scene and the GUI itself. I slide the 3D scene into the background on its own, and there is no problem here. But there is still a delay with the GUI sliding, and it is clearly within Monarch. |
I'm not sure if/how to solve this with the current design in Monarch. I can take one final look if you can prepare a minimal project where this problem can be seen. The other solution is to not use Monarch for the problematic screens or for those kinds of transitions. |
here's the project: and here's a video (from this project) that shows where the lag in synchronization is noticeable: sliding_gui.mp4 |
Let's say we always have two windows when sliding:
This problem can be solved without using the standard transitions from monarch. But even in this case you will have to manage the delay of 1 frame on PC and 2 frames on mobile devices (i don't know why this happens). |
Thanks to the upgraded monarch, I was able to make sliding windows.
sliding.mp4
...
But the following problem has come to light - the windows slide unevenly.
You can see it in the video if you look closely.
This can also be seen in the screenshots:
Apparently, for some windows, the transition is triggered a couple of frames later.
This could be remedied by passing some sort of start time to all transitions, and compensating the delay via a negative delay in the gui.animation().
The text was updated successfully, but these errors were encountered: