Attract-Mode Support > Scripting
Continuous sliding image like as SNES Mini background
kent79:
Dear All,
Anyone know how to make a continuous sliding image like as SNES Mini background. Thanks.
https://www.youtube.com/watch?v=roo077srwOk
:)
keilmillerjr:
I am sure there is more than one way to do this.
My approach would be to use an app to take your image, animate it, and export it as a movie file. Photoshop can create animated gifs, but I think it can also export as quicktime movie. Move one object off the screen while having a duplicate layer replace the others position.
kent79:
--- Quote from: keilmillerjr on October 09, 2017, 07:31:11 PM ---I am sure there is more than one way to do this.
My approach would be to use an app to take your image, animate it, and export it as a movie file. Photoshop can create animated gifs, but I think it can also export as quicktime movie. Move one object off the screen while having a duplicate layer replace the others position.
--- End quote ---
Make a movie or gif file is not the best way. I expect using a code. I can see "Mugen" system can do it. So, hope someone expert to write a module to do it. :)
keilmillerjr:
--- Quote from: kent79 on October 09, 2017, 08:00:34 PM ---
--- Quote from: keilmillerjr on October 09, 2017, 07:31:11 PM ---I am sure there is more than one way to do this.
My approach would be to use an app to take your image, animate it, and export it as a movie file. Photoshop can create animated gifs, but I think it can also export as quicktime movie. Move one object off the screen while having a duplicate layer replace the others position.
--- End quote ---
Make a movie or gif file is not the best way. I expect using a code. I can see "Mugen" system can do it. So, hope someone expert to write a module to do it. :)
--- End quote ---
I didn't say it was the best way. The amount of time it would take *myself* to have code/animation do this would be a lot. The same effect could be had in minutes by making a movie file. Might be quicker to code for some one really familiar with animations in attractmode. I assume you would need an object, duplicate it, and have both animating. When one finished it repositions and starts animating again.
BadFurDay:
A lot of robospin themes I've played about with had a panscan option in them, just copy the code and put the image you want to scan in the layout folder as "flyer.png" that or change the name in the code:
local bgart = PanAndScanArt( "flyer", 0, 0, flw, flh);
bgart.trigger = Transition.EndNavigation;
bgart.preserve_aspect_ratio = false;
bgart.set_fit_or_fill("fill");
bgart.set_anchor(::Anchor.Center);
bgart.set_zoom(4.5, 0.00008);
bgart.set_animate(::AnimateType.Bounce, 0.50, 0.50)
bgart.set_randomize_on_transition(true);
bgart.set_start_scale(1.1);
local alpha_cfg = {
when = Transition.ToNewSelection,
property = "alpha",
start = 0,
end = 200,
time = 3000
}
animation.add( PropertyAnimation( bgart, alpha_cfg ) );
Navigation
[0] Message Index
[#] Next page
Go to full version