Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: CiTrON on April 26, 2020, 03:57:33 PM

Title: Smooth Effect Spinwheel
Post 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

Code: [Select]
// 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
Title: Re: Smooth Effect Spinwheel
Post by: jedione on April 29, 2020, 05:19:32 PM
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
Title: Re: Smooth Effect Spinwheel
Post by: CiTrON on April 29, 2020, 09:43:06 PM
just fade when moving up and down

PS: not the green .. forget the green lol
green is just a reference from where to position
Title: Re: Smooth Effect Spinwheel
Post by: tommiegunz on November 24, 2020, 12:22:55 PM
was this project ever finished in attract mode?
Title: Re: Smooth Effect Spinwheel
Post by: jedione on November 25, 2020, 03:23:35 PM
No.... He has only made it for Es.
He did a good job.... To.
I'm playing with some idea's from it...
Title: Re: Smooth Effect Spinwheel
Post by: Crismikiller on January 12, 2021, 10:19:11 AM
Carrier module by Oomek.

https://github.com/oomek/AttractMode-Carrier