Quick answer: GameMaker logging deprecation warnings for particle_type_create and friends? The function-based API is being phased out; the modern workflow uses Particle System assets in the IDE.
An older project hits a wall of deprecation warnings on every build. Functional particle code still works but the IDE is steering you to assets.
Create Particle Assets
Right-click in Asset Browser → Create Particle System. Visual editor for emitters, types, colors, motion. Reusable across instances.
Reference at Runtime
var ps = part_system_create_from_layer("PS_Sparks", "FX");
part_system_position(ps, x, y);Create from the named asset, position it. The asset carries the configuration.
Migrate Gradually
The function API still works. Migrate effect-by-effect during refactor windows; don’t block on a full migration.
Performance
Asset-based particles use the same underlying system, similar perf. Win is maintainability and IDE preview.
Verifying
Effects look identical pre- and post-migration. Warnings disappear; build is clean.
“Function-based particles deprecated. Asset-based is the modern workflow.”
Migrate the most-iterated effects first — the IDE preview shrinks the design cycle for the effects you tune most often.