Class jaws.ParallaxLayer
A single layer that's contained by Parallax()
- Defined in: parallax.js
- Extends jaws.Sprite
Constructor Attributes | Constructor Name and Description |
---|---|
jaws.ParallaxLayer(options)
|
Field Attributes | Field Name and Description |
---|---|
number, higher the number, the slower it will scroll with regards to other layers, defaults to 0
|
- Fields borrowed from class jaws.Sprite:
- alpha, anchor, angle, color, flipped, image, scale_image, x, y
Method Summary
Class Detail
jaws.ParallaxLayer(options)
- Parameters:
- options
Field Detail
damping
number, higher the number, the slower it will scroll with regards to other layers, defaults to 0