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:standard [2018/10/13 23:54]
valiant_curiosity [Standard events]
gdevelop5:events:standard [2019/05/22 00:04] (current)
4ian
Line 7: Line 7:
 {{:​gdevelop5:​events:​eventseditortab.png|}} {{:​gdevelop5:​events:​eventseditortab.png|}}
  
-Events are composed of  a list of "​conditions"​ that are displayed on the left side of the screen, and a list of "​actions"​ that are displayed on the right side of the screen.+Events are composed of a list of "​conditions"​ that are displayed on the left side of the screen, and a list of "​actions"​ that are displayed on the right side of the screen.
 When all the conditions on the left are true, the actions on the right are executed. If a condition on the left is not true, the other conditions and actions in the event are not run. When all the conditions on the left are true, the actions on the right are executed. If a condition on the left is not true, the other conditions and actions in the event are not run.
  
Line 15: Line 15:
 ===== Example ===== ===== Example =====
  
-Here is an event that will destroy the "​Square" ​object ​whose X position is less than 100 pixels:+Here is an event that will destroy the "​Square" ​objects ​whose have a X position ​which is less than 100 pixels:
  
 {{ :​gdevelop5:​tutorials:​delete-square-condition.png?​nolink |}} {{ :​gdevelop5:​tutorials:​delete-square-condition.png?​nolink |}}
  
 If you are still unsure how the events work, take a look at [[gdevelop5:​tutorials:​basic-game-making-concepts|]]. If you are still unsure how the events work, take a look at [[gdevelop5:​tutorials:​basic-game-making-concepts|]].
-