ParallaxBackground

    Category: Core

    A node used to create a parallax scrolling background.

    • scroll_base_offset
    Setterset_scroll_base_offset(value)
    Getterget_scroll_base_offset()

    Base position offset of all ParallaxLayer children.


    Base motion scale of all children.


    • bool scroll_ignore_camera_zoom
    Setterset_ignore_camera_zoom(value)
    Getteris_ignore_camera_zoom()

    • scroll_limit_begin

    Top left limits for scrolling to begin. If the camera is outside of this limit the background will stop scrolling. Must be lower than scroll_limit_end to work.


    Setterset_limit_end(value)
    Getterget_limit_end()

    Right bottom limits for scrolling to end. If the camera is outside of this limit the background will stop scrolling. Must be higher than to work.