← Yop2D

How to go to the next level?

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

Each level is a scene. When the hero touches the exit door, the game opens the next level's scene.

You need:

Step 1: level 2

  1. Left panel, Scene tab, SCENES section: tap New scene, choose 2D scene and call it Level2.

Step 2: the exit door

  1. Tap the first scene in the list (level 1) to open it again.
  2. Put an object in the scene (an image or a Square) and name it heros.
  3. Select heros, tap ⚙ Object behavior in the Inspector and choose Top-down character.
  4. Tap Object → Interactive → Joystick.
  5. Put an object in the scene (an image or a Square) and name it porte.
  6. In the Inspector, Tag (family of objects) line, type sortie.

Step 3: level 1's nodes

  1. Open the Blueprint.
  2. If object touches Tag: Object heros, Tag (family of objects touched) sortie → Go to scene: Scene Level2

The nodes

If object touches Tagheros · sortie
→
Go to sceneLevel2

Try it

Tap Play and take the hero to the door: level 2 opens.

👉 For a nice move from one level to the next: see the A transition between two scenes recipe.