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
gdevelop:documentation:manual:editors:scene_editor:edit_layer [2017/12/01 22:39]
tristanbacon Removed text
gdevelop:documentation:manual:editors:scene_editor:edit_layer [2020/05/31 12:17] (current)
rapperdinesh [Editing a layer]
Line 1: Line 1:
 ====== Layer Editor ====== ====== Layer Editor ======
  
-Layers allow to set which objects are to be displayed. For example, you can create an **Interface** layer for all the+Layers allow the setting of which objects are to be displayed. For example, you can create an **Interface** layer for all the
 objects in the interface and a **Base** layer for the rest. This way you can move the camera around the **Base** layer without affecting the interface. objects in the interface and a **Base** layer for the rest. This way you can move the camera around the **Base** layer without affecting the interface.
  
Line 7: Line 7:
  
 The **Layer Editor** can be opened from the [[gdevelop:​documentation:​manual:​edit_scene|Scene Editor]] ribbon. The **Layer Editor** can be opened from the [[gdevelop:​documentation:​manual:​edit_scene|Scene Editor]] ribbon.
-From there you can add, remove and move layers from the toolbar. The layer currently selected is highlighted with a blue +From there you can add, removeand move layers from the toolbar. The layer currently selected is highlighted with a blue 
-arrow: objects added to the scene will be added to the selected layer. Double-click on a layer to edit it, and on+arrow: objects added to the scene will be added to the selected layer. Double-click on a layer to edit it, and on the eye to hide/show it.
  
 ===== Editing a layer ===== ===== Editing a layer =====
Line 14: Line 14:
 The ''​**Edit layer**''​ window allows you to change the layer name and the camera behavior. By default, a layer only The ''​**Edit layer**''​ window allows you to change the layer name and the camera behavior. By default, a layer only
 has one camera of standard size (the game window size) covering the whole window. You can add another camera by has one camera of standard size (the game window size) covering the whole window. You can add another camera by
-clicking on **''​Add another camera''​** and choosing the camera to display ​in the list.+clicking on **''​Add another camera''​** and choosing the camera to display ​on the list.
  
 {{ gdevelop:​documentation:​manual:​editors:​scene_editor:​newitem2.png?​nolink |}} {{ gdevelop:​documentation:​manual:​editors:​scene_editor:​newitem2.png?​nolink |}}
Line 22: Line 22:
 and 1: they are then multiplied by the window size. and 1: they are then multiplied by the window size.
  
-In the picture above, the top-right corner coordinates are three quarters of the total screen width and three +In the picture above, the top-right corner coordinates are three-quarters of the total screen width and three-quarters of the total screen height. With a resolution of for example 1024x768, that corresponds to point (768, 576).
-quarters of the total screen height. With a resolution of for example 1024x768, that corresponds to point (768, 576).+
 The bottom-left corner is the same as the monitor bottom-left screen, so in our example (1024, 768). As explained in The bottom-left corner is the same as the monitor bottom-left screen, so in our example (1024, 768). As explained in
 the [[gdevelop:​documentation:​manual:​pres_concepts|Concepts]] section, remember that the Y-axis increases from the [[gdevelop:​documentation:​manual:​pres_concepts|Concepts]] section, remember that the Y-axis increases from
Line 29: Line 28:
  
 You can also change the size "​filmed"​ by the camera by checking ''​**Personalized size**''​. You can also change the size "​filmed"​ by the camera by checking ''​**Personalized size**''​.
-----