← Yop2D

Questions about puzzles, cards and turn-based games

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

Yop2D Next has ready-made nodes for puzzle games, card games and strategy games. The 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 make a match-3 game (like Candy Crush)?

  1. Place an object to be the board (a Square for example), and a few model objects: the pieces (at least 3, one per color), outside the screen.
  2. On Start → Fill the grid: Object = the board, the number of columns and rows, and the names of the pieces separated by commas. There is never a match at the start.
  3. Finger held down → Play on the grid (match 3) (Object = the board). The player swaps two neighbor pieces; matched pieces disappear, the others fall down.
  4. One exit fires for each matched piece (to add points), another one when the move is finished (to count moves). A “Shuffle” button: Shuffle the grid.
👉 To see a complete game: Home → Example games → “Candy match”.

How do I make a memory game (find the pairs)?

How do I make a card game (poker, drawing cards, choosing cards)?

How do I make a “connect the dots” game?

  1. Place an object to be the grid (a Square), and dots on it: Circle shapes with the tag “point”. Two dots of the same color make a pair.
  2. Finger held down → Connect the dots: Object = the grid, the number of columns and rows.
  3. The player pulls a wire from a dot to its twin, square by square. One exit fires for each connected pair, another when everything is connected (next level!).
👉 Complete example: Example games → “Connect the Dots”.

How do I roll a die?

  1. Create a variable “dice” (New variable).
  2. A “Roll” button: On Object Click → Modify Variable “dice” = =random(1, 6): a number from 1 to 6, 6 included.
  3. Modify Text = =dice to show the result.
  4. To move a pawn by that number of squares: Repeat (number of times =dice) → each time → Move the piece one cell.
👉 A ready-made template: Home → How do I make it? → “If / Else: roll a die”.

How do I make a turn-based game (strategy)?

  1. Place a Tile decor (the map) and your units: tag “joueur” for yours, “ennemi” for the others.
  2. On Start → Give a unit sheet for each unit (life, attack, movement…), then Go to the next turn (teams “joueur,ennemi”).
  3. Tapping a unit: If it is the turn of… “joueur” → Select the object → Show reachable cells.
  4. Tapping the map: If the cell is reachable → Go to the cell (path). Then Attack, Mark as having played, and Go to the next turn.
  5. At the start of each turn, the Local Event “tour_joueur” or “tour_ennemi” fires on its own: that is where you make each team play.
👉 All these nodes are in the Turn-based (strategy) category. Step-by-step example: Example games → “Tactics tutorial”.

How do I make the computer play in a turn-based game?

How do I make a fog of war?

How do I give stats to units (attack, defense, ammo)?

How do I make hexagon or isometric (diamond) tiles?

👉 Can't find a node? In the Blueprint, look at the Puzzles and cards and Turn-based (strategy) categories, or read My game doesn't work.