How GSAP can Transform Storyline Animations

Mar 30, 2023

GreenSock Animation Platform (GSAP) is a JavaScript animation library that can be used to create dynamic and engaging animations in e-learning courses built using Storyline. While Storyline provides built-in animation tools, many e-learning developers prefer to use GSAP due to its robust features and flexibility.

What are the essential steps involved in incorporating GSAP into Storyline, and what are some best practices that developers should keep in mind while using this animation library? What are the potential challenges that developers might face while integrating GSAP with Storyline, and how can they overcome these challenges? Additionally, what are some examples of animations that can be created using GSAP in Storyline, and how can developers use the full range of features offered by GSAP to create dynamic and interactive e-learning experiences?

3 Replies
Math Notermans

Storyline360 has the GSAP engine build in. So you can use it directly. In fact most of Storyline's build-in animations are controlled by GSAP.

2 main issues using GSAP in Storyline. each trigger has its own scope, it can be tricky. And when using Javascript Storyline's own timeline doesnot have any knowledge of any animations you do with JS and GSAP. Only way to give Storyline a clue about what is happening are variables. So scaling an element and then scaling the browserwindow will result in wrong positioning and scale of your GSAP controlled element. You can however tackle that. On my posts on the forum a lot about Javascript and GSAP as i use it in everything i do.