Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: Mayki07 on March 17, 2018, 03:53:58 AM

Title: Problem with marquee
Post by: Mayki07 on March 17, 2018, 03:53:58 AM
If I have an animated marquee, I can not place it on the top layer. If I have a static marquee, it's not a problem. Do you advise anyone?

Animate with Property Animation :
Code: [Select]
local scale_cfg = {
    when = Transition.ToNewSelection,
    property = "scale",
    start = 1.0,
    end = 1.1,
    time = 1200
    tween = Tween.Quad,
}

local scale1_cfg = {
    when = Transition.ToNewSelection,
    property = "scale",
    start = 1.1,
    end = 1.0,
    time = 1200
    tween = Tween.Quad,
delay = 1200
}

animation.add( PropertyAnimation( OBJECTS.marquee, scale_cfg ) );
animation.add( PropertyAnimation( OBJECTS.marquee, scale1_cfg ) );

Animated Marquee :

(https://i.imgur.com/iakYOXsh.jpg)

Static Marquee :

(https://i.imgur.com/HneEtXkh.jpg)