[ANSWERED] Continuous horizontal scrolling of multiple images
-
Looking to do a looping scroll of, say, images 9-54, continuously from right to left, like a chyron ticker along the bottom of the screen. Basically trying to recreate the "Sponsors" section at the bottom of THIS link. I know what I need to do for a single image, or for the text draw actor, but is there a relatively easy way to do this for multiple images, keeping each aligned and looping? I'm sure there would be a way to use Javascript, but I'm not well versed enough in coding to figure it out on my own. Thoughts?
-
I'll work on this during my Isadora Lab now and see if I can come up with a prototype for you. Calculators, Counters,
Zoomers, and Comparators are going to be the key here I think.[EDIT: The important actors ended up being Get Media Count, Wave Generator, Calculator, Counter, Comparator, Limit-Scale Value, Float to Integer, Picture Player, and Projector.]
What will make this trickier I think is if you want to do this with images that aren't all the same aspect ratio, as it'll make the math harder.
Alternatively, you could throw all the images in a video editing software and make a seamlessly looping video of them scrolling, then loop the video in a Movie Player.
-
@woland You're amazing! Yeah, the easiest way is probably to edit this externally, but I got content late, and I'm trying to do things on the fly! Thanks!
-
Here's the finished product: patch-scrolling-picture-loop-2024-09-05-4.01.zip
It'll adjust itself automatically to the number of picture files you've imported. This is only tested with pictures that all have the same aspect ratio, so wacky things may happen if you use custom aspect ratio pictures mixed with 16:9 pictures and 4:3 pictures, etc.
Note: I used Enter Scene Value actors instead of initializing values just because it made it more transparent what was going on.