Basics
Guides
API Reference
Basics
Guides
API Reference
[14:7] extends: FXGLScene
Wraps FXGL's LoadingScene, the scene shown during asynchronous setup work (asset loading, level construction). Reached at runtime via fxgl.getSceneService().getLoadingScene; obtain a wrapper via adopt.
LoadingScene ()
Empty default constructor; populated by adopt.
adopt (object Ajo)
Wraps an existing LoadingScene AussomJavaObject.
Ajo is an AussomJavaObject around a LoadingScene.A new wrapper.pushNewTask (callback Cb)
Queues an async Runnable to run while the LoadingScene is active; FXGL transitions to the play scene once the task finishes.
Cb is a callback with no arguments.this objectpushNewJavaTask (object TaskObj)
Queues an async javafx.concurrent.Task whose progress and message bind to the loading view; FXGL transitions when the task succeeds.
TaskObj is an AussomJavaObject around a javafx Task.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.