← Yop2D

The movement editor in pictures

Beginner guide · no code

Français · English · Español · Deutsch · Italiano · Português · Русский · 中文 · 日本語

A movement makes an object move in steps: you place the object in several spots, and Yop2D works out the path between them. The editor opens with the Movement button of the Assets (Resources) window.

The screen at a glance

Screenshot of the movement editor with 15 numbered marks
Screenshot of the movement editor (in French). The numbers are explained below.
  1. 1
    Close the editor. Remember to Save first.
  2. 2
    ▶ Play: plays the movement in the scene so you can see it. The button becomes ■ Stop.
  3. 3
    Loop: when it is on, the movement starts over endlessly.
  4. 4
    Scene object: choose an object of your scene to move. Its current place is step 1.
  5. 5
    Image: choose an image to try the movement, without using a scene object.
  6. 6
    Open: reopens a movement already saved in the project.
  7. 7
    Save: give the movement a name; it is stored in the Assets' Mouvements folder.
  8. 8
    The scene: your scenery in the background, with its real objects. Drag the object to choose where it is at the chosen step.
  9. 9
    The steps: each numbered square is the object's place at one step, and the line links them in order. The chosen step is blue.
  10. 10
    Time to the next step: the time, in seconds, to go from this step to the next.
  11. 11
    Easing: the way of going from one step to the next: Steady, Smooth, Slows down, Overshoots or Bounce.
  12. 12
    Rotation (degrees), Size (%) and Visible (%): the object's state at this step. 100% = normal size or fully visible; 0 = invisible for transparency.
  13. 13
    Start from the object's place: the movement starts from where the object is in the game. Face the direction of travel: the object turns to face where it is going.
  14. 14
    Delete this step: removes the chosen step. You need at least 2 steps.
  15. 15
    The step cards: tap a step to set it, or + Step to add one.
👉 To play the movement in your game, use the Play movement (steps) node in the Blueprint.