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:while [2018/10/14 00:00]
valiant_curiosity [While events]
gdevelop5:events:while [2019/06/13 21:05] (current)
piyushpalawat99
Line 3: Line 3:
 While events are a special kind of [[gdevelop5:​events|event]]:​ as long as the //''​While''​ conditions//​ are true, the event is repeated without interruption (i.e. the next events are **not executed** and the screen is **not** refreshed). While events are a special kind of [[gdevelop5:​events|event]]:​ as long as the //''​While''​ conditions//​ are true, the event is repeated without interruption (i.e. the next events are **not executed** and the screen is **not** refreshed).
  
-{{ :​gdevelop5:​events:​whileevent.png?​600 |}} +{{ :​gdevelop5:​events:​whileevent.png?​ |}}
- +
-While events are usually not needed, but these events can be used to repeat actions as long as a condition is true. The While event is useful in some algorithms that you may want to create in your game.+
  
 +While events are usually not needed, but these events can be used to repeat actions as long as a given set of conditions is true. The While event is useful in some algorithms that you may want to create in your game.
 ## Examples ​ ## Examples ​
  
Line 12: Line 11:
 Open these examples online.</​note>​ Open these examples online.</​note>​
  
-[[https://​editor.gdevelop-app.com/?​project=example://​asteroids|{{:​gdevelop5:​behaviors:spaceshooter.png?400|}}]]+[[https://​editor.gdevelop-app.com/?​project=example://​asteroids|{{:​gdevelop5:​events:spaceshooternew.png?|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​asteroids * https://​editor.gdevelop-app.com/?​project=example://​asteroids
  
-[[https://​editor.gdevelop-app.com/?​project=example://​pathfinding|{{:​gdevelop5:​behaviors:pathfindinggeneral.png?300|}}]]+[[https://​editor.gdevelop-app.com/?​project=example://​pathfinding|{{:​gdevelop5:​events:pathfindinggeneralnew.png?|}}]]
  
 * https://​editor.gdevelop-app.com/?​project=example://​pathfinding * https://​editor.gdevelop-app.com/?​project=example://​pathfinding