Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: jedione on June 12, 2017, 09:14:55 PM
-
it seems that when using,
local cart = fe.add_artwork( "video", 28, 108, 125, 112);
cart.video_flags = Vid.NoAudio;
cart.preserve_aspect_ratio = true;
it works as intended, no vid noise,, but after launching a game and exiting, you can here the video playing
till you move to new selection, up ,down-then it go's quiet again.
any one have a fix for this?
-
Haven't confirmed this, but when are you setting that flag, just when the layout is loaded? It could be a bug, but perhaps you need to or can set it again when returning from the game?
-
It's a bug - the same is with NEVATO theme, confirmed with Mac and Win 10.
I forgot to file that bug :-[
When I exit the game and get back to AM - the sound is back on (was muted before) - but only for that one game, if I move up or down to another game on the list - the sound is muted again.
Here are the steps to recreate bug with NEVATO (and probably with any other theme with muted vid sound)
http://forum.attractmode.org/index.php?topic=370.msg7455#msg7455
-
guess ill have to live with it for now...thanks for the conformation.
-
This worked for me.
local video_snap = fe.add_artwork("video_snap", flx*0, fly*0 flw, flh);
::videoSound <- Vid.NoAudio;
video_snap.video_flags = videoSound;
-
will try it tonight when i get home from work,,,thank you
Update: It Works.......thanks brother...
-
@qqplayer
cool... thanks. another one to add to to-do list for NEVATO update :D