Saad Anjum Posted September 24, 2020 Posted September 24, 2020 I am trying to achieve glitch animation through sprite sheet but failed i am attaching my codepen, please let me know where i am wrong See the Pen XWdOMWK by saad-anjum (@saad-anjum) on CodePen.
elegantseagulls Posted September 24, 2020 Posted September 24, 2020 Hi @Saad Anjum, I think that you're over complicating this: You should just need to use stepped ease and no need for a for loop: https://greensock.com/docs/v3/Eases/SteppedEase
Saad Anjum Posted September 24, 2020 Author Posted September 24, 2020 Hi @elegantseagulls, i already have tried stepped ease and it is also not working as this sprite sheet has multiple rows and column
ZachSaucier Posted September 24, 2020 Posted September 24, 2020 Hey Saad and welcome to the GreenSock forums. I explained how to do this sort of thing in this thread. Give it a read, look at the code, and see if you can get it working for your project. If you have a specific question we'll do our best to help. 2
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now