Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: ScrollingView
Wraps FXGL's SelfScrollingBackgroundView (com.almasb.fxgl.dsl.views.SelfScrollingBackgroundView), a scrolling view that scrolls itself at a fixed speed without binding to a viewport (useful for menus and parallax effects independent of camera motion).
SelfScrollingBackgroundView (object ImageObj = null, double ViewWidth = 800.0, double ViewHeight = 600.0, string Orientation = "HORIZONTAL", double MoveSpeed = 50.0)
Creates a new SelfScrollingBackgroundView.
ImageObj is a javafx.scene.image.Image AJO (use fxgl.image(name) to load by asset name).ViewWidth is the rendered width in pixels.ViewHeight is the rendered height in pixels.Orientation is "HORIZONTAL" or "VERTICAL".MoveSpeed is the pixels-per-second scroll speed.adopt (object Ajo)
Wraps an existing SelfScrollingBackgroundView AussomJavaObject.
getMoveSpeed ()
setMoveSpeed (double V)

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.