---
title: "Landing dust effect for platformer games"
description: "A platformer's side view matches a side-on dust compile. Scale the 10.5 m dust ring to your character, play it faster and trigger it on landing."
canonical: https://appliedmanifold.com/effects/platformer-dust-effect/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Effects](https://appliedmanifold.com/effects/)
3.  [VFX for games](https://appliedmanifold.com/effects/vfx-for-games/)
4.  Platformer dust

GAMES // PLATFORMER DUST

# Dust effects for a platformer game

A platformer plays landing dust hundreds of times, so it has to be small, quick and seen from the side. Use a side-on dust ring scaled to your character's width, play it at two or three times its precomputed speed for a snappy puff, and trigger it on the frame your character touches the floor.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   Godot 4 Available
-   Unity Manual setup
-   Unreal Engine Manual setup
-   Roblox Studio Manual setup
-   three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

**DUST\_RINGFINAL**

![First frame of the dust\_ring bake](/bakes/dust_ring/poster.webp)

Dust ring, 10.5 x 2.2 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-dust_ring)

01 // SIDE VIEW

## Compile it from the side, like your camera

A platformer camera looks at the level from the side, which is the compile camera's default, but the dust ring example looks down at 35 degrees. Ask your agent to compile it with `pitch_deg = 0` so the ring reads as a low burst spreading left and right along the floor.

The ring is 10.5 m wide and 2.2 m tall, sized for a blast. For a character about 1 m wide, scale it to about 0.2, which gives a puff about 2 m across and under half a meter tall.

02 // TIMING

## Play the 3 s clip in one second

The ring's 64 frames span 3 s, which feels slow under a character who lands and runs on. Turn `autoplay` off and drive `time_s` at three times real time, so the whole clip plays in 1 s and the dust looks lighter and faster.

player.gd

```
extends CharacterBody3D

const DUST := preload("res://fx/dust_ring.tscn")
var was_on_floor := true

func _physics_process(_delta: float) -> void:
	# your movement code sets velocity before this line
	move_and_slide()
	if is_on_floor() and not was_on_floor:
		land_dust()
	was_on_floor = is_on_floor()

func land_dust() -> void:
	var fx: Node3D = DUST.instantiate()
	fx.autoplay = false
	get_parent().add_child(fx)
	fx.global_position = global_position
	fx.scale = Vector3.ONE * 0.2
	var tween := fx.create_tween()
	tween.tween_property(fx, "time_s", 3.0, 1.0)
	tween.finished.connect(fx.queue_free)
```

To skip the dust on small hops, store the fall speed before `move_and_slide()` and play the ring only when it passes a threshold.

03 // 2D AND 3D

## Play many puffs, or use the sheet in 2D

One puff covers a small part of the screen, so even several at once cost little. If enemies land too, ask your agent for `set: ["node=particles"]` and emit every puff from one `GPUParticles3D`.

`wire` writes a 3D scene, so it fits 3D and 2.5D platformers. In a 2D Godot project, put the sheet on a `Sprite2D` with Hframes and Vframes set to 8 and step its `frame` from 0 to 63. Ask your agent for `export.pack` to get one RGBA sheet with the light from above in RGB and opacity in alpha.

04 // RELATED

## Related pages

-   [Godot dust Godot 4A dust burst that plays once, a landing ring or thrown earth, dropped into a Godot 4 scene by your agent.](https://appliedmanifold.com/effects/godot-dust/)
-   [Shooter dustCompile the dust ring side-on for a shooter player at eye height, and place it under each explosion as the ground shock.](https://appliedmanifold.com/effects/shooter-dust-effect/)
-   [Strategy dustGround dust for strategy games from the dust ring, which is precomputed looking down at 35 degrees, scaled to collapses, guns and walls.](https://appliedmanifold.com/effects/strategy-dust-effect/)
-   [Platformer explosionsScale the side-on fireball and impact to your platformer characters, and land each blast with hit pause and camera shake.](https://appliedmanifold.com/effects/platformer-explosion-effect/)
-   [Soft particlesSoft particles fade a flat effect quad where it meets scene geometry by comparing depths, which hides the hard cut line.](https://appliedmanifold.com/learn/soft-particles/)
-   [Dust puff on landing Godot 4Trigger a one-shot dust puff in Godot 4 when a CharacterBody3D lands, with ground-hugging particles and an optional precomputed dust ring.](https://appliedmanifold.com/guides/godot-dust-landing-effect/)
-   [Spec fileA spec is a TOML file ending in `.pyro.toml` with the sections `[meta]`, `[domain]`, `[[emitters]]`, `[[forces]]`, `[[obstacles]]`, `[solver]`, `[look]`, `[[views]]` and `[export]`. Units are meters, seconds and kelvin.](https://appliedmanifold.com/docs/pyrofx/spec/)

[All pages in VFX for games →](https://appliedmanifold.com/effects/vfx-for-games/)

[← Tower defense smoke](https://appliedmanifold.com/effects/tower-defense-smoke-effect/)[Platformer explosions →](https://appliedmanifold.com/effects/platformer-explosion-effect/)

05 // FAQ

## Platformer dust questions

[All questions →](https://appliedmanifold.com/faq/)

**README.PLATFORMER\_DUST\_EFFECT**

### How do I create a dust puff when a platformer character lands in Godot?

Track is\_on\_floor() every physics frame and spawn the dust scene when it turns true. Scale the dust ring to 0.2 and play it at triple speed.

### How do I create a dust trail behind a running platformer character?

Emit small puffs from GPUParticles3D at the character's feet while running on the floor. For heavy characters, a scaled dust ring on each footstep works too.

### How do I keep platformer landing dust close to uneven ground?

Place the ring at the contact point. It is precomputed to hug the ground with low buoyancy and the Godot shader fades it where it meets geometry.

### Does the platformer dust effect work for a 3D platformer in Godot?

Yes. The wire command writes a 3D scene sized in meters with its origin on the ground, so you place it under your character's feet.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Spec file →](https://appliedmanifold.com/docs/pyrofx/spec/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
