Forum Discussion
GSAP, x-y transformation in the Modern Player
Thanks for that.
In the classic player, it doesn't work well either.
Hmm so if I understand correctly, for each animated object on the screen we need to add an additional object which controls the position of this animated object? It spoils the use of GSAP in the Storyline a little.
Hi Arystian,
Not really. You can control as many objects as wanted with 1 line of Javascript/GSAP code. Issue with the players is that they control scale of the Storyline in the browser, thus when using Javascript that doesnot relate directly to Articulate's code those can get out of sync. That mostly relates to positioning.
Several ways to solve that. Probably the most intuitive is not using pixels when positioning but using percentages or em. That way all your animated positions keep in sync with Articulates players.