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:repeat [2018/10/13 00:15]
valiant_curiosity [Repeat events]
gdevelop5:events:repeat [2019/06/13 20:55] (current)
piyushpalawat99 [Examples]
Line 1: Line 1:
 # Repeat events # Repeat events
  
-Repeat events work like standard [[gdevelop5:​events|events]],​ but they are repeated multiple times in a row before continuing to the next event in the list. The  events that follow are not executed until the number of repetitions has been reached.+Repeat events work like standard [[gdevelop5:​events|events]],​ but they are repeated multiple times in a row before continuing to the next event in the list. The events that follow are not executed until the number of repetitions has been reached.
  
-Note that this count can be an expression. That means that you can make the number of repetitions vary according to something that the player does. For example, you could create a different number of enemies according to an object'​s life count, position, etc. You could also create a random number of objects on the scene (see the example below).+Note that this count can be an expression. That means that you can make the number of repetitions vary according to something that the player does. For example, you can create a different number of enemies according to an object'​s life count, position, etc. You can also create a random number of objects on the scene (see the example below).
  
 {{ :​gdevelop5:​events:​repeat-example.png?​nolink |}} {{ :​gdevelop5:​events:​repeat-example.png?​nolink |}}
Line 14: Line 14:
 **Diagonals** **Diagonals**
  
-{{:​gdevelop5:​events:​diagonals.png?​400|}}+[[https://​editor.gdevelop-app.com/?​project=example://​find-diagonals|{{:​gdevelop5:​events:​diagonals.png?​|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​find-diagonals * https://​editor.gdevelop-app.com/?​project=example://​find-diagonals
Line 20: Line 20:
 **Laser** **Laser**
  
-{{:​gdevelop5:​events:​laser.png?400|}}+[[https://​editor.gdevelop-app.com/?​project=example://​zombie-laser|{{:​gdevelop5:​events:​lasernew.png?|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​zombie-laser * https://​editor.gdevelop-app.com/?​project=example://​zombie-laser
-