Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: CiTrON on April 26, 2020, 03:57:33 PM
-
Hi guys
the ALL.Net P-ras MULTI theme in this video (https://youtu.be/ulgLyl9zoAk?t=29) shows smooth effects on transactions
(https://media.giphy.com/media/VHxAZS3UkNBkHFHT2m/giphy.gif)
I got only that result
// SPINWHEEL
class SimpleArtStripSlot extends ConveyorSlot
{
m_p=null;
constructor( parent, artname )
{
m_p=parent;
base.constructor( ::fe.add_artwork( artname ) );
}
function on_progress( progress, var )
{
m_obj.width = m_p.m_width;
m_obj.height = m_p.m_height;
m_obj.x = m_p.m_x + progress * m_p.m_x_span;
m_obj.y = m_p.m_y + progress * m_p.m_y_span;
}
};
local my_strip = SimpleArtStrip( "marquee", 005, 128, 225, 432, 630, 32 );
my_strip.preserve_aspect_ratio = false;
my_strip.transition_ms = 500;
my_strip.trigger = Transition.EndNavigation;
my_strip.zorder = 1
(https://media.giphy.com/media/fsJBc9UwI1kUv7tmdN/giphy.gif)
can someone help me how do i get this effect on my list
-
im looking at both,, and thinking....do you just want the green to move with the rest as a border?
or is it the slite fade at the top and bottem, trying to acheve?
thanks
-
just fade when moving up and down
PS: not the green .. forget the green lol
green is just a reference from where to position
-
was this project ever finished in attract mode?
-
No.... He has only made it for Es.
He did a good job.... To.
I'm playing with some idea's from it...
-
Carrier module by Oomek.
https://github.com/oomek/AttractMode-Carrier