ℹ️ 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 behaviour says how an object moves on its own: a wall that doesn't move, a hero who walks and jumps, an enemy going back and forth… No node needed for that.
- a 2D scene with an object (3D is explained further down).
Opening the window
Tap the object, then in the Inspector the ⚙ Object behavior button. ① HOW DOES IT MOVE? (one choice) part:
- Scenery: Doesn't move, doesn't block anyone. A cloud, a tree in the background.
- Ground / wall: Doesn't move: you walk on it and bump into it. The ground, the platforms, the walls.
- Falls and bounces: Crate, ball, rock…
- Platform character: Walks, jumps, climbs ladders (side view). Your hero, in a platform game.
- Patrol (back and forth): Walks on its own one way then the other: perfect for an enemy
- Top-down character: Goes in every direction (iso view too). The hero of a game seen from above.
- Dragged with a finger: The player moves it by touching it
- Elevator (back and forth): A platform that moves on its own and carries what stands on it
- Realistic physics: Falling, bouncing, weight, stacking: like real life
The settings and the extra boxes
- ② ITS SETTINGS: depending on the choice, Controls (joystick or buttons), Speed, Jump height…
- ③ IT IS ALSO… (several choices): A ladder, Collectable; for a ground, also Pass-through from below and Carries what stands on it.
- ④ CONTACT AREA: the part of the object that bumps into things (useful if your hero gets stuck).
In 3D
Tap the object. In the Inspector, Behaviour part, How it moves line: Scenery (solid), Passable (coin to pick up, zone…), Third-person character, Patrolling enemy (back and forth), Enemy that chases the hero, Vehicle (car, kart… driven with the joystick), Physics object (falls, rolls, bounces), Moving platform (back and forth, elevator).
The nodes
To change the behaviour during the game (speed, jump…): the Change the behavior node.