← Yop2D

Questions about the Blueprint and nodes

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

The Blueprint is the screen where you place the nodes that bring your game to life. Here are the answers to the most common questions. Names in bold are the ones you see on the screen.

👉 A word you don't understand? See The words of Yop2D.

How do I add a node?

How do I connect two nodes (and cut a wire)?

Why are some nodes in "3D-only nodes"?

How do I tidy up a messy Blueprint?

How do I copy nodes to another scene?

  1. Tap Choose, then the nodes to copy (or drag your finger in an empty spot to draw a box around them).
  2. Tap Copy, then Done.
  3. Switch scenes with the button that shows the scene name (▾), at the top of the Blueprint.
  4. Tap Paste: drag the nodes into place, then Done. It also works in another project.
  5. Check the target object in ① On what?: the new scene may not have an object with the same name.

What is a sticky note for in the Blueprint?

How do I write a formula (=score + 1)?

What are green nodes and green wires?

How do I do something every 2 seconds?

  1. Connect On Start → Repeat.
  2. Set Repeat: 2 seconds between each time, and the number of times (0 = endless). Give it a name (for example "rain") if you want to stop it later.
  3. Connect its middle output ("Each time") to your action: Create object, Play sound…
  4. To stop it: Stop a timer with the same name (empty = all timers).
  5. Don't put it under Every frame. To do something just once after a while: Wait. Full example: Make enemies appear.

What is the "Sequence" node for?

What is the "By value" node for?

What is "Cooldown" for (stop something repeating too fast)?

How do I do "for each enemy…"?

How do I send a "message" to run the same nodes from several places?

How do I create my own node?

  1. In the Blueprint, tap the button that shows the scene name (▾), then Create my node… and give it a name (LoseLife). Also in the editor's RESOURCES panel, MY NODES part.
  2. A new Blueprint opens, with On Start: that is where your node starts. Put the nodes to run under it.
  3. Optional: My node settings → Add an input (for example "points"). In your node, write =points.
  4. Go back to your scene (same ▾ button). Use Run one of my nodes and pick your node: it works in every scene of the project.
👉 All the nodes, one by one: in the Blueprint, Help button → All nodes explained. A node that does nothing? See My game doesn't work.