Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gdevelop5:events:group [2018/10/01 06:29] valiant_curiosity [Group of events] |
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. |
- | {{ :gdevelop5:events:events-groups.png?nolink |}} | + | 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?|}} |
- | You can add a group and choose a name describing what it contains ("Player management", "Map creation", "Blue Enemy", Black Enemy, etc). 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. | + | 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 |}} | ||
## Examples | ## Examples | ||
Line 11: | Line 20: | ||
<note tip>**See it in action!** 🎮\\ | <note tip>**See it in action!** 🎮\\ | ||
Open these examples online.</note> | 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 | * https://editor.gdevelop-app.com/?project=example://space-shooter |