← Yop2D

How to make a transition between two scenes?

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

Instead of switching scenes all at once, the screen closes (in a circle, as a curtain…) then opens on the new scene. Just one node: Go to scene with a transition.

You need:

Step 1: two scenes and a button

  1. First do the A button that changes the scene recipe: a menu scene with a jouer button, and a Game scene.

Step 2: the nodes

  1. Open the Blueprint.
  2. On Object Click: Object jouer
  3. Instead of Go to scene, use Go to scene with a transition: Scene Game, Shape Circle.

The nodes

On Object Clickjouer
→
Go to scene with a transitionGame · Circle

Try it

Tap Play, then Play: the screen closes in a circle and opens on the game scene.

👉 Try the other shapes (curtain, star, heart…) and the Color. The durations are set in seconds.