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
gdevelop5:events [2019/07/12 19:57]
piyushpalawat99
gdevelop5:events [2019/08/16 07:27] (current)
4ian
Line 1: Line 1:
 # Events # Events
 {{ :​gdevelop5:​event-screenshot.png?​nolink |}} {{ :​gdevelop5:​event-screenshot.png?​nolink |}}
-Events in GDevelop allow you to visually program ​your game without ​any prior programming knowledge ​or experience, so anyone with any background will be able to create the actual gameplay and allow players to interact with the game+Events in GDevelop allow you to create the logic that is running ​your game. Events are readable by anyone and can be authored ​without ​advanced ​programming knowledge.
  
 Even for experienced programmers,​ events are fast to write and read. They allow artists, designers, level designers and anyone working on the game to understand and update the rules of the game. Even for experienced programmers,​ events are fast to write and read. They allow artists, designers, level designers and anyone working on the game to understand and update the rules of the game.
Line 7: Line 7:
 ==== Event types ==== ==== Event types ====
  
-There are different ​type of events in GDevelop ​that can be used for different purposes:+There are different ​types of events in GDevelop:
   * [[gdevelop5:​events:​standard|Standard event]]: this event is the default one and is triggered every single frame. It executes the actions once the conditions are true, then moves on to the next event.   * [[gdevelop5:​events:​standard|Standard event]]: this event is the default one and is triggered every single frame. It executes the actions once the conditions are true, then moves on to the next event.
   * [[gdevelop5:​events:​foreach|For Each event]]: this event is triggered for each and every instance of the selected object, ​ checks the conditions, and then executes the actions for each individually before moving to the next event.   * [[gdevelop5:​events:​foreach|For Each event]]: this event is triggered for each and every instance of the selected object, ​ checks the conditions, and then executes the actions for each individually before moving to the next event.
Line 48: Line 48:
  
 ==== Move events ==== ==== Move events ====
-You can move events such that they are removed from the original ​position ​and pasted ​to a different ​position. This can be done by right-clicking on the event to be moved and selecting the "​Cut"​ option. This will remove the event from the events sheet.+Unlike copying, when you move an event, its position ​is changed rather than being duplicated ​to a new position. This can be done by right-clicking on the event to be moved and selecting the "​Cut"​ option. This will remove the event from the events sheet.
  
 To paste the event, right-click on the event above which your event should be pasted and select the "​Paste"​ option. To paste the event, right-click on the event above which your event should be pasted and select the "​Paste"​ option.
Line 63: Line 63:
  
 ==== Move conditions/​actions ==== ==== Move conditions/​actions ====
-Unlike copying, when you move an event, ​its position is changed rather than being duplicated ​to a new position.+You can move conditions/​actions such that they are removed from the event they were originally inand moved to the event they are desired ​to be in.
  
 You can move a condition/​action by right-clicking on it, and then choosing the "​Cut"​ option. To paste it, right click on the "Add condition"​ or "Add action"​ option in the desired event and choose the "​Paste"​ option. You can move a condition/​action by right-clicking on it, and then choosing the "​Cut"​ option. To paste it, right click on the "Add condition"​ or "Add action"​ option in the desired event and choose the "​Paste"​ option.