← Yop2D

How to add looping background music?

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

Music that starts with the game and starts again on its own when it ends.

You need:

Step 1: the nodes

  1. Open the Blueprint.
  2. On Start → Play music
  3. Play music: Music file line → Import or listen to sounds… → Music family, choose a piece of music; Loop (yes / no) line: yes.

The nodes

On Start
→
Play musicLoop · yes

Try it

Tap Play: the music starts, and starts over when it ends.

👉 To let the player turn the music off: see the An ON / OFF switch recipe.