← Yop2D

How to make an explosion?

Beginner guide · no code

Français · English · Español · Deutsch · Italiano · Português · Русский · 中文 · 日本語 · العربية

ℹ️ For Yop2D Next, the new 2D + 3D version of Yop2D (coming soon). Button and node names are those of Yop2D Next.

🔍 How do I…? All short recipes, with a search

When the player taps a crate, it explodes: particles burst from its place, then it disappears.

You need:

Step 1: the crate

  1. Put an object in the scene (an image or a Square) and name it caisse.

Step 2: the nodes

  1. Open the Blueprint.
  2. On Object Click: Object caisse → Particle effect: Object caisse, Preset Explosion → Destroy Object: Object caisse

The nodes

On Object Clickcaisse
→
Particle effectExplosion
→
Destroy Objectcaisse

Try it

Tap Play, then the crate: it explodes.

👉 Add Camera shake right after for more effect (see the Shaking the screen recipe). Other models: smoke, sparks, confetti…