ℹ️ 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
When you tap a node's frame in the Blueprint, a window opens in two parts: ① On what? (the object the node acts on) and ② Settings (what the node does: speed, duration, text…). If the node acts on no object (for example Wait), there are only the settings.
The choices of the “Object” line
- An object by its name: the node acts on that object, and that object only.
- The involved object (the touched object): the object the event has just touched, or that the player has just touched with a finger. Example: the coin the hero picks up, the enemy hit by a shot.
- The event's object: the object chosen in the event itself. In If object touches Tag, it is the one doing the touching (often the hero).
- The selected object (chosen unit): in a turn-based game, the unit the player has chosen.
- Tags (every object with this tag): “# ennemi” = the node acts on all the objects with that tag.
- Objects from other scenes (the HUD, for example) are listed further down, by scene.
In an event, the list only offers names and tags: the involved object doesn't exist yet.
The nodes
Example: a single node for all the coins. Thanks to the involved object, only the touched coin disappears.
Some nodes have a second line, Object B: for example the model to copy, or the target to aim at.
Try it
Place several coins with the piece tag, tap Play and pick them up: each one disappears in turn.