← Yop2D

The editor in pictures: the 0/0, the buttons and the Inspector

Beginner guide · no code

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

The editor is the screen where you place your objects in a scene. This guide does not teach you how to make a game: it shows where things are and what the buttons are for.

Where is the scene's 0/0?

To put an object in the right place, you need to know how positions are counted. Look at the screenshot: the numbers in the star's Position are explained right below.

Screenshot of the editor with 4 numbered marks: the 0/0, the dashed lines, an object and its position
Screenshot of the editor (in French). The numbers are explained below.
  1. 1
    The 0/0: the top-left corner of the dashed rectangle. Every position number is counted from this point.
  2. 2
    The dashed lines: the game area, what the player sees at the start. By default it is 1920 by 1080 (1080 by 1920 for a portrait game). You can place objects outside it: the player will only see them if the camera moves.
  3. 3
    An object (here the star): its position is that of its top-left corner, not of its center.
  4. 4
    Position, x and y: x counts to the right, y counts downwards (the bigger y is, the lower the object). Here the star is at x 1071 and y 601: 1071 to the right and 601 down from the 0/0.
👉 An object that has a Parent is placed from the top-left corner of its parent, not from the scene's 0/0. A negative number, or one bigger than the game area, puts the object outside the dashed lines: that is allowed.

The top bar

From left to right:

The left panel

Tap the < arrow at the top to fold this panel and get more room (the > arrow does the same for the Inspector). On a small screen, only one panel stays open at a time. Each title folds when you tap it.

An object's Inspector

When you tap an object, the Inspector (the right panel) shows all its settings. It is long, and it changes a little depending on the object type. Here are its parts from top to bottom, for an image.

An image's Inspector from top to bottom, with 15 numbered marks
An image's Inspector (in French). The numbers are explained below.
  1. 1
    The thumbnail: the object's image. Tap it to load another one.
  2. 2
    The padlock: locks the object so you no longer move it by mistake (the same one as in the object list).
  3. 3
    The name of the object: change it, then tap OK. Nodes find the object thanks to this name.
  4. 4
    The type: Image, Text, Shape, Zone… It is just an indication.
  5. 5
    Object behavior: how the object behaves in the game. Scenery means it does not move and bothers nobody. Tap it to choose another behavior (ground, character, platform…).
  6. 6
    The type's settings (here Image Properties): load another image, remove it with the trash can, show a colored background. This part changes with the object type.
  7. 7
    Position: x and y, counted from the 0/0 (see above).
  8. 8
    Size: the object's width ↔ and height ↕, in pixels. When the chain on the right is closed (blue), both numbers change together to keep the proportions.
  9. 9
    Scale: an enlargement. 1 = normal size, 2 = twice as big, -1 = flipped like in a mirror. Same chain for the proportions.
  10. 10
    Rotation: the angle, in degrees. The slider turns the object, the round button goes back to 0.
  11. 11
    Z (front / back): the drawing order. The bigger the number, the more the object is in front of the others. The - and + buttons change it by one.
  12. 12
    Appearance: the color, the Opacity (1 = fully visible, 0 = invisible; the round button puts 1 back) and the Visible box.
  13. 13
    For the nodes: what is used in the Blueprint. A Tag is a family name (for example “enemy”) to target several objects at once; List shows the ones already used. There are also the Object Variables, and the Invisible touch area box (for touch areas that are not seen in the game).
  14. 14
    Advanced: Parent (the object follows another object, like a hand on an arm), Parallax (1 = the object moves with the scenery, 0 = it stays stuck to the screen, in between = depth effect) and Contact area (the part of the object that counts for touches and collisions; Custom contact area lets you draw it).
  15. 15
    Delete the object: erases the object from the scene.
👉 To touch each thing for real, step by step, open the Tools menu then Discover the editor: a guide inside the editor shows you where to tap.