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:foreach [2018/10/13 23:56]
valiant_curiosity [For Each events]
gdevelop5:events:foreach [2019/05/29 22:38] (current)
nilarjun Fixed the images not being loaded
Line 1: Line 1:
 # For Each events # For Each events
  
-A For Each event is a kind of [[gdevelop5:​events|event]] that will take an object as parameter. Then, during the game, for every instance of the object, the conditions and actions will be repeated.+A For Each event is a kind of an [[gdevelop5:​events|event]] that will take an object as parameter. Then, during the game, for every instance of the object, the conditions and actions will be repeated.
  
 Usually, you don't need to use "For Each" events. Conditions and actions will automatically run on all of the objects. They are defined by their conditions. However, from time to time, "For Each" events can be useful to run an action that depends on each instance of the object. Usually, you don't need to use "For Each" events. Conditions and actions will automatically run on all of the objects. They are defined by their conditions. However, from time to time, "For Each" events can be useful to run an action that depends on each instance of the object.
Line 10: Line 10:
 Open these examples online.</​note>​ Open these examples online.</​note>​
  
-[[https://​editor.gdevelop-app.com/?​project=example://​shooting-bullets-explanation|{{:​gdevelop5:​events:​shootingbulletsexplanationexample.png?200|}}]]+[[https://​editor.gdevelop-app.com/?​project=example://​shooting-bullets-explanation|{{:​gdevelop5:​events:​shootingbulletsexplanationexample.png|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​shooting-bullets-explanation * https://​editor.gdevelop-app.com/?​project=example://​shooting-bullets-explanation
  
-[[https://​editor.gdevelop-app.com/?​project=example://​platformer|{{:​gdevelop5:​behaviors:​platformerbehavior.png?200|}}]]+[[https://​editor.gdevelop-app.com/?​project=example://​platformer|{{:​gdevelop5:​behaviors:​platformerbehavior.png|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​platformer * https://​editor.gdevelop-app.com/?​project=example://​platformer
Line 23: Line 23:
  
 {{ :​gdevelop5:​events:​for-each-example.png?​nolink |}} {{ :​gdevelop5:​events:​for-each-example.png?​nolink |}}
-