Tweening Animated Parallax

I'm looking for a script which animates the background parallax automatically, similarly to modern algebra's script.

However, I would like it to tween between frames and not instantly switch.  By which I mean:

An example:

(Frame 1)

Parallax Image 1: 100% Alpha

Parallax Image 2: 0% Alpha

(Frame 2)

Parallax image 1: 75% Alpha

Parallax image 2: 25% Alpha

(Frame 3)

Parallax image 1: 50% Alpha

Parallax image 2: 50% Alpha

(Frame 4)

Parallax image 1: 25% Alpha

Parallax image 2: 75% Alpha

(Frame 5)

Parallax image 2: 100% Alpha

Parallax image 3: 0% Alpha

(Frame 6)

Parallax image 2: 75% Alpha

Parallax image 3: 25% Alpha

(And so on)
Got a link to Modern Algebra's? It may be easier to tweak his script than to write a completely new one.


Tweening over 4 or 5 frames will look instantaneous to the eye anyway 😉
http://rmrk.net/index.php/topic,44635.0.html

Oh, aye.  But I figure the code would be easy to mod to make it over X frames.  If you're willing to make it do X frames, where X is a var we can define, that'd be awesome.

In fact, if you use the above script, you could use the timing feature it's got right now as the number of frames it should tween over.

Original thread: https://forums.rpgmakerweb.com/threads/tweening-animated-parallax.20579/