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/13 00:17]
valiant_curiosity [Examples]
gdevelop5:events:while [2021/11/22 23:06] (current)
Line 1: Line 1:
 # While events # While events
  
-While events are a special kind of [[gdevelop5:events|events]]: 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.ethe 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|Asteriods Example]]
  
-[[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|Pathfinding Example]]