Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: steve88 on May 12, 2021, 08:59:10 AM
-
Hello everyone! I would like to ensure that in screen saver mode, after a few seconds the video is replaced with the following. This is because videos often last up to 1 minute, and since there are so many games I would like them to flow faster. Do you think it is possible? If so, how? Thank you all!
-
do you mean:
the video should change after a specific time (instead of complete it / play it to end)?
for example: a game video file (with 60 seconds playtime) have to end after 10 seconds > then the next video plays (10 seconds long) > next video after 10 seconds > and so on?
-
exactly, I would like the videos to advance every x seconds regardless of the length of the video. I think it is a very useful feature, as if a video lasted many minutes, the demonstration functionality of the screensaver would be rendered almost useless.
-
the sourcecode of screensaver is found here:
your_AM_folder\screensaver\screensaver.nut
there exists various variables:
in_time, out_time, duration, elapsed, start_time, ttime, and so on.
Probably if one of these variables is set to 10000 (10 seconds) or via a simple math calculation gives the result of 10 for endtime, it will work.
But I can't program squirrel language and can't help.
-
thanks! Unfortunately I don't know how to do it. :'(
-
You may check my theme coding. The answer is here. ;D
http://forum.attractmode.org/index.php?topic=3917.0