Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: FxObj
Wraps FXGL's ParticleSystem, a standalone particle driver for use outside an entity (menus, intro screens, ambient UI effects). Add one or more ParticleEmitters at given positions; the system exposes a JavaFX Pane that hosts the rendered particles.
ParticleSystem ()
Creates an empty ParticleSystem.
adopt (object Ajo)
Wraps an existing ParticleSystem AussomJavaObject.
Ajo is an AussomJavaObject around a ParticleSystem.A new wrapper.addParticleEmitter (object EmitterObj, double X, double Y)
Adds a ParticleEmitter at the given world position.
EmitterObj is a ParticleEmitter wrapper.X is the X position.Y is the Y position.this objectremoveParticleEmitter (object EmitterObj)
Removes a previously added emitter.
EmitterObj is a ParticleEmitter wrapper.this objectonUpdate (double Tpf)
Drives the particle system one update tick.
Tpf is the elapsed time in seconds.this objectgetPane ()
Returns the JavaFX Pane this system renders particles into.
An AussomJavaObject wrapping a javafx.scene.layout.Pane.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.