Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: PittStone on February 16, 2020, 11:24:09 AM
-
Programming attract mode for Playback Videosnaps as Playlist!
Is there a programmer who can insert an option that after a videosnap, the next videosnap in the list is played? And not always the same thing? The next game should be selected automatically from the list.
I would like to pay the programmer who can insert this option.
-
You can use the random function in common module within my attract fork. Squirrel doesn’t implement it well. math.rand() isnt really random.
-
just wanted to men-chin that you could use your sequencer plugin, to switch to random game, with your one set time...
this works good for me....
say average snap is 20 sec just set for say 15 sec...
-
You can use the random function in common module within my attract fork. Squirrel doesn’t implement it well. math.rand() isnt really random.
Thanks for Answere. I searched in " attract\config\modules\common
for your random function.
I dont know how i do that.
-
just wanted to men-chin that you could use your sequencer plugin, to switch to random game, with your one set time...
this works good for me....
say average snap is 20 sec just set for say 15 sec...
Thanks for Answere, but you dont know what im using it for.
My Snaps are different duration times and only use one timer for the snaps isnt usefull for me. It must be go to the next snap in the list after video duration finished.
-
Why is this a Hard Thing? Its a Simple Mode, after a End of a Video it goes to the Next. :-\
-
Why is this a Hard Thing? Its a Simple Mode, after a End of a Video it goes to the Next. :-\
It’s really not. Ive already created everything you would need to do it. Looking at my intro layout making use of rand function, you should be able to do it.
-
Why is this a Hard Thing? Its a Simple Mode, after a End of a Video it goes to the Next. :-\
It’s really not. Ive already created everything you would need to do it. Looking at my intro layout making use of rand function, you should be able to do it.
I need Help.
I copy "helpers" to "modules" folder.
I copy "shuffle" to "modules" folder.
I copy "mvscomplete" to "layouts" folder.
I changed attract.cfg to "layout mvscomplete".
If i start attract.exe and go to the playlist with "mvscomplete" the Snap is playing, but its in loop. Its not going to the next Snap.
You have randtro-intro with random video of folder, but how can i use it not only for Intro Video?
-
You need to learn to program, and be more clear with what you want.
-
You need to learn to program, and be more clear with what you want.
I have never learnt to Program.
I have the layout.nut from the "HP2-Systems-Menu" folder and i will change this to if i select a game its playing the Videosnap. This is Fine. But after End of this Video it should go to the Next Game, so it can play the next Videosnap.
Someone says to me i can check in tick() if yourimage.video_time >= yourimage.video_duration and then trigger next_game signal.
I Dont know how i do this.