Forum Discussion
sameerkamble139
7 months agoCommunity Member
Flip animation using GSAP in Articulate Storyline to have smooth flip animation.
We recently faced a challenge with the built-in swirl animation in Storyline (SL). Our client found it cluttered and pointed out that the animation flipped twice, which logically should result i...
sameerkamble139
7 months agoCommunity Member
This is for the people who does not know how to use it in Articulate Storyline:
Step 1: Set Up Your Storyline Project
- Open Storyline 360 and create a new project or open an existing one.
- Add the objects you want to animate (e.g., images, shapes, text boxes) to your slide.
Step 2: Include GSAP in Your Project
- Download GSAP from the GreenSock website.
- Upload the GSAP files to your Storyline project:
- Go to the Insert tab.
- Select Web Object.
- Choose the folder where you saved the GSAP files and insert it into your slide.
Step 3: Write the JavaScript Code
- Open the slide where you want to add the animation.
- Go to the Triggers panel and select Execute JavaScript.
- Write the following JavaScript code to create the flip animation:
// Select the element you want to animate var element = document.querySelector("#yourElementID"); // Create the flip animation using GSAP gsap.to(element, { duration: 1, rotationY: 180, ease: "power2.inOut", onComplete: function() { // Reset the rotation to create a continuous flip effect gsap.set(element, { rotationY: 0 }); } });
Step 4: Test the Animation
- Preview your slide to see the animation in action.
- Adjust the parameters (e.g., duration, ease) in the JavaScript code to fine-tune the animation to your liking.
Step 5: Publish Your Project
- Once you're satisfied with the animation, publish your project.
- Share the published project with your client to get their feedback.
By following these steps, you can integrate GSAP into your Storyline 360 projects to create smooth and visually appealing animations. This approach not only addresses the client's concerns but also enhances the overall user experience.
- TMHTMH3 months agoCommunity Member
💫
Related Content
- 8 months ago
- 9 months ago