1
Scripting / Transitions and tick callbacks
« on: June 24, 2020, 02:50:31 PM »
In my theme here:
http://forum.attractmode.org/index.php?topic=3387.0
The conveyor module is used and updates on certain transitions. There's a configurable transition speed.
I'm also using tick callbacks to update the "time" for a background GL shader.
The conveyor (wheel spin) transition affects the tick callback - the longer the transition the more the shader slows down as well.
I don't want this. I want the shader to animate independently of any transition animation, exactly like a video plays.
Could anyone give me a hint what I need to be doing, as I've been stumped with this for a couple of weeks
http://forum.attractmode.org/index.php?topic=3387.0
The conveyor module is used and updates on certain transitions. There's a configurable transition speed.
I'm also using tick callbacks to update the "time" for a background GL shader.
The conveyor (wheel spin) transition affects the tick callback - the longer the transition the more the shader slows down as well.
I don't want this. I want the shader to animate independently of any transition animation, exactly like a video plays.
Could anyone give me a hint what I need to be doing, as I've been stumped with this for a couple of weeks
