You can download the final result of this quick tutorial here: /link/downloads/scroll-based.zip
A few remarks when creating a scroll based scene:
Layers that have timeline scroll based handling “enabled” are only animating depending on their scroll position.
To prevent them from just “popping up” when the module loads, this trick can be used:
- Place the layer that should animate on scroll inside a group
- Disable the scroll based handling for the group
- Add an animation to the group, which will be played time based (this is your smooth in-animation for the layer!)
- The whole timeline duration is mapped on the height of the module in the frontend. This is why you need to space out the keyframes of your scroll based animation layer.
- Add a short keyframe in which the layer will be visible immediately (The group will be the in-animation) and place a longer keyframe at a later point in the timeline.
In addition, the “fixed during scroll” option allows you to specify a range on the timeline during which the module will be in a fixed position.
Scroll Based Keyframes
