← Yop2D

Questions about the object's Behaviour (⚙)

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 ⚙ Object behavior window opens from the Inspector: tap an object, then this button. Here are the most asked questions about its settings. To pick the right behaviour, see Which behaviour to choose?.

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

How do I make a ladder?

  1. Place the ladder (an image or a Square). Tap it, then ⚙ Object behavior: keep Scenery and tick A ladder, in the ③ IT IS ALSO… (several choices) part.
  2. Your hero must be a Platform character, with Can climb ladders set to yes (it already is at the start).
  3. In the game: put the hero in front of the ladder and push the joystick up or down. With buttons: Up button and Down button.
  4. To let go of the ladder: jump, or push the joystick sideways. The On the ladder animation plays by itself if your character has one (a name with “climb” or “grimpe”).

How do I make a platform you can jump through from below?

How do I make an elevator?

How do I make an object you can pick up?

How do I play by tilting the phone?

How do I move the hero with buttons instead of the joystick?

  1. Place your buttons: Object → Interactive → Action button (or any image). Give them clear names: left, right, jump…
  2. Tap the hero → ⚙ Object behavior → Controls: Buttons.
  3. Choose the object for each line: Left button, Right button; for a top-down hero or one that climbs, also Up button and Down button; for a platform hero, Jump button.
  4. In the game, the hero moves as long as the finger stays on the button. Several fingers at once work.

What is the collision area (“Where it collides”) for?

How do I choose the animations that play by themselves?

What is “Speed follows a variable (in %)” for?

What is “Carries what stands on it” for?

How do I change the behaviour during the game?

What are the directions (4, iso view, left / right) for?

👉 For speed and jump height, see Change the jump height and Where is…?. The character and its controls: Questions about the character.