Differences

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

Link to this comparison view

Next revision
Previous revision
gdevelop5:events:group [2018/07/19 23:16]
4ian created
gdevelop5:events:group [2019/06/13 21:21] (current)
piyushpalawat99
Line 1: Line 1:
 # Group of events # Group of events
  
-Groups are events that do nothing particular: they are used to organize and structure your events.+Groups are events that do nothing ​in particular.  They are used to organize and structure your events ​into groups. 
 + 
 +You can add a group from within the Events Panel. Select the "​Choose and add an event" icon on the top right. {{:​gdevelop5:​events:​chooseaddeventiconnew.png?​|}} ​  
 + 
 +A drop-down menu will appear. Select "​Group"​ from the menu. 
 + 
 +{{ :​gdevelop5:​events:​groupeventsdropdown.png?​ |}} 
 + 
 +Then, as illustrated below, name your group by describing what it contains ("​Player management",​ "Map creation",​ "Green Enemy",​ "Blue Enemy",​ "Black Enemy",​ etc).  
 + 
 +Further, in the events editor, you can click on the small arrow located on the left of the group event, to hide the sub-events. Click again on this arrow, to unfold the group, and show what it contains. {{:​gdevelop5:​events:​collapsiblegrouparrow.png?23|}} 
  
 {{ :​gdevelop5:​events:​events-groups.png?​nolink |}} {{ :​gdevelop5:​events:​events-groups.png?​nolink |}}
  
-You can add a group and choose a name describing what it contains ("​Player management",​ "Map creation"​...). In the events editor, click on the arrow on the left of the group event to hide the sub events. Click again on this arrow to unfold the group and show what it contains.+## Examples 
 + 
 +<note tip>​**See ​it in action!** 🎮\\ 
 +Open these examples online.</​note>​ 
 + 
 +[[https://​editor.gdevelop-app.com/?​project=example://​space-shooter|{{:​gdevelop5:​behaviors:​spaceshooter.png?​600|}}]]
  
 +* https://​editor.gdevelop-app.com/?​project=example://​space-shooter