Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
gdevelop5:objects:base_object [2020/04/06 09:20]
4ian
gdevelop5:objects:base_object [2020/04/06 09:31]
4ian [Custom size]
Line 9: Line 9:
  
 You can choose from many different type of objects, all with specific properties and purpose: You can choose from many different type of objects, all with specific properties and purpose:
-{{ :gdevelop5:objects:object-types.png?nolink&400 |}}+ 
 +{{ :gdevelop5:objects:base_object:pasted:20200406-092728.png?nolink |}}
  
 Depending on what type of object you have chosen, the editor, aspect of the object and the available features in the events will be different. As the goal of this page is to explain objects in general, we won't go in to details of these unique properties on each type. You can find [[http://wiki.compilgames.net/doku.php/gdevelop5/objects|detailed information on each type of object here]]. Depending on what type of object you have chosen, the editor, aspect of the object and the available features in the events will be different. As the goal of this page is to explain objects in general, we won't go in to details of these unique properties on each type. You can find [[http://wiki.compilgames.net/doku.php/gdevelop5/objects|detailed information on each type of object here]].
Line 33: Line 34:
  
 You can precisely set the position of the selected instances by changing the X and Y values in the properties: You can precisely set the position of the selected instances by changing the X and Y values in the properties:
-{{ :gdevelop5:objects:object-position-properties.png?nolink&400 |}}+ 
 +{{ :gdevelop5:objects:base_object:pasted:20200406-092924.png?nolink }}
  
 ## Angle ## Angle
Line 58: Line 60:
  
 You can set the layer of an instance: You can set the layer of an instance:
-{{ :gdevelop5:objects:object-layer-properties.png?nolink&400 |}}+ 
 +{{ :gdevelop5:objects:base_object:pasted:20200406-093010.png?nolink |}}
  
 A layer acts as a *virtual container* for objects displayed on the screen. Objects are drawn on a layer, which is by default the **“base layer”**, and the layer is then drawn on the screen. A scene can have multiple layers. For example, there can be a layer to display controls on screen, another to display a menu, another for a map, and yet another for a background. A layer acts as a *virtual container* for objects displayed on the screen. Objects are drawn on a layer, which is by default the **“base layer”**, and the layer is then drawn on the screen. A scene can have multiple layers. For example, there can be a layer to display controls on screen, another to display a menu, another for a map, and yet another for a background.
Line 65: Line 68:
  
 By ticking the box "Lock position/angle in the editor", you can make the instance immovable in the editor: By ticking the box "Lock position/angle in the editor", you can make the instance immovable in the editor:
-{{ :gdevelop5:objects:lock-sprite.png?nolink&400 |}}+ 
 +{{ :gdevelop5:objects:base_object:pasted:20200406-093052.png?nolink |}}
  
 When the instance is locked, we can not longer select it in the scene. There are times when you have lot of object instances overlapping each other in your scene. This makes it difficult to select some of them as you keep selecting the ones you don't intend to. In such cases, you can lock the instances. When the instance is locked, we can not longer select it in the scene. There are times when you have lot of object instances overlapping each other in your scene. This makes it difficult to select some of them as you keep selecting the ones you don't intend to. In such cases, you can lock the instances.
Line 86: Line 90:
  
 You can change the size of your objects, by enabling the custom size in the properties panel, and then enter the custom *width* and *height* dimensions in pixels: You can change the size of your objects, by enabling the custom size in the properties panel, and then enter the custom *width* and *height* dimensions in pixels:
-{{ :gdevelop5:objects:customsize-properties.png?nolink&400 |}}+ 
 + 
 +{{ :gdevelop5:objects:base_object:pasted:20200406-093137.png?nolink |}}
  
 # Object groups # Object groups