Author Topic: Smooth Effect Spinwheel  (Read 206 times)

CiTrON

  • Newbie
  • *
  • Posts: 6
    • View Profile
Smooth Effect Spinwheel
« on: April 26, 2020, 03:57:33 PM »
Hi guys
the ALL.Net P-ras MULTI theme in this video shows smooth effects on transactions



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



can someone help me how do i get this effect on my list

jedione

  • Hero Member
  • *****
  • Posts: 899
  • punktoe
    • View Profile
Re: Smooth Effect Spinwheel
« Reply #1 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
help a friend....

CiTrON

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Smooth Effect Spinwheel
« Reply #2 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
« Last Edit: April 29, 2020, 09:45:39 PM by CiTrON »