
Additionally, this has some values that should be applied to the level's .lua file. Listed here are the values plus their defaults:
Code: Select all
airshipScroll.sections = {0} --What sections the effect should be applied to. Note that this is a table.
airshipScroll.intensity = .01 --What speed should the effect should scroll at.
airshipScroll.movementLimit = 1 --How long should the effect should scroll for.
airshipScroll.movingLayer = "shipWater" --Whatever layer is here will scroll up and down with the screen, allowing you to have stuff like the water in SMB3's World 8-Ship.
Edit: Fixed an issue where "shipWater" misaligns if a section that has airship scrolling is disabled.
Download:
https://pastebin.com/7tZPVMpq