Hi
@qiujiu, I've been trying out your lighting system and really love it so far! It's not performance heavy at all.
I've come across a small issue and was wondering if you help me find a solution.
I'm trying to create a window that flashes with lightning. But am having trouble syncing the light switching on and off, with the event image changing. As an example:
I enter the below comment in the event:
<QJLL:ally-white-light><QJLL-offsetY:0><QJLL-opacity:0|0~140|0~30|1~30|0~30|1~350|0><QJLL-scaleY:2>
So ideally after 140 frames the light should come on, then after 30 it should go off, then after 30 it should come back on.
I then timed the same waits in my event movement route:
Wait 140 Frames
Turn Left
Wait 30 Frames
Turn Down
Wait 30 Frames
Turn Left
Wait 30 Frames
Turn Down
Wait 350
Repeat
....
Below is an image of how I tried to set it up:
The issue I have is: the first light up works perfect and both the event change and light turning on happen perfectly, but immediately after that the next flashes are all desynchronized. I think it might be that when the event "turns" there is a 1 or 2 frame pause between each turn but the light event switching ON or OFF is instant. Over time the gaps between the light turning on or off and the event image switching gets longer and longer.
I uploaded a video to show the issue as well:
▶ YouTube video
Apologise for the long wait between flashes (Please note for the video I increased the wait time for the light and event to 70 frames so it's easier to see).
Sorry for the long post and I hope you could give me some help! Thank you.