Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: kent79 on November 12, 2016, 05:43:42 PM
-
//Game List Animation
::OBJECTS <- {
snap = fe.add_artwork("snap",flx*0.504, fly*0.104, flw*0.447, flh*0.614 ),
}
local movein_snap = {
property = "x", start = flx*3, end = flx*0.504, time = 560
}
animation.add( PropertyAnimation( OBJECTS.snap, movein_snap) );
Hi All,
I would like add animation for snap. The animation is work. But the snap video can't update while changing the game. Anyone know how to fix it? Thanks.
-
here ya go boss...
::OBJECTS <- {
snap = fe.add_artwork("snap",flx*0.1200, fly*0.104, flw*0.447, flh*0.614 ),
}
local pacman = {
when = Transition.ToNewSelection ,
property = "x",
start = 1500,
end = 680,
time = 500,
loop = 2,
}
animation.add( PropertyAnimation( OBJECTS.snap, pacman ) );
cant wait to see what your doing!
-
I find the way to solve the issue. Anyway, Thank you. :)
-
would you please share so i can use,, if there is a better way to do it... thank's
my way seems that it is just working by chance...dont know why it dont work like the other script for "png"?
-
would you please share so i can use,, if there is a better way to do it... thank's
my way seems that it is just working by chance...dont know why it dont work like the other script for "png"?
My way is also not confirmed. I need more time for testing . I will share it once test completed.
The issue seems a bugs for AM
-
hey guys! Sorry I haven't been around much, but I will be back working on stuff soon :)
I'm not sure what you are saying the issue is... is the issue that videos don't update, only images? I'd have to do a little testing...
As mentioned, you can use FromOldSelection or ToNewSelection transitions. Sometimes using a delay can help you solve issues like what I think may be happening. You can also add wait = true to make it a "waiting" animation, meaning nothing will happen until the animation completes. That's not recommended though as it prevents any input while the animation plays.