Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
dada78

BlitMask Slot Machine Effect

Recommended Posts

Hi,

I am working on this slot machine effect based on this tutorial:

http://www.snorkl.tv/2011/10/use-blitmasks-wrap-feature-for-easy-bitmap-scrolling-and-looping/

and it works great:

 

var blitMask:BlitMask = new BlitMask(strip1, strip1.x, strip1.y, 94, 105, true, true, 0, true);
TweenMax.to(strip1, 2, {y:960});

//blur to 40 and then back to 0.
TweenMax.to(strip1, 0.8, {blurFilter:{blurY:20}, repeat:1, yoyo:true});

 

My issue is that I can't figure out how to have a ease:Bounce.easeOut applied.

I tried: TweenMax.to(strip1, 2, {y:960, ease:Bounce.easeOut});

 

but this looks too rough...All I would like to achieve is a slight bounce effect, when the number is locking into the slot. How would I be able to achieve this?

 

Thanks,

C

 

 

 

Link to comment
Share on other sites

Sorry, not sure how the bounce would be "less rough". The Bounce ease is not configurable. It uses a fixed algorithm. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×