Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

NEW VERSION - looking for testers / contributors #94

Closed
janpaepke opened this Issue Sep 27, 2013 · 1 comment

Comments

Projects
None yet
1 participant
Collaborator

janpaepke commented Sep 27, 2013

Hi Guys,

I just finished working on the very first pre-release version of ScrollMagic, a complete rewrite of Superscrollrama.

You can find it here: https://github.com/janpaepke/ScrollMagic

If you are willing and able please test it out and post any issues in the repo's issue list.
There's plenty of new stuff: on the fly modification of all scene parameters, including the trigger, fixed the pin-spacer-expand issue, smooth tweening option, oop handling, debug logging and some more...

Here's a basic how-to-use:
Instead of having one controller and adding tweens or pins with tweens to it ScrollMagic makes a difference between the controller and can have multiple scenes.
A Scene can be a pin, an tween or both.

Basically you add the controller first, like this

var controller = new ScrollMagic();

And then you can start adding scenes to it.

var scene = new ScrollScene({
        duration: 400,
        triggerElement: "#trigger"
    })
    .addTo(controller)
    .setTween(TweenMax.to("#ani", .5, {color: "red" }));

When you pull the repo you'll find a test.html with some of my testing code.
Also in the doc folder you'll find extensive (but of course not yet complete) documentation.

Now go and do stuff! :)

regards,
Jan

@ghost ghost assigned janpaepke Oct 8, 2013

Collaborator

janpaepke commented Feb 28, 2014

Development on ScrollMagic is finished and version 1.0.0 was released.

@janpaepke janpaepke closed this Feb 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment