Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: cools on June 24, 2020, 02:50:31 PM

Title: Transitions and tick callbacks
Post by: cools on June 24, 2020, 02:50:31 PM
In my theme here:

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  :-\