Création de jeux avec Game Maker
L'instruction Repeat
Une instruction Repeat a la forme suivante
repeat (<expression>) <instruction>
L'instruction est répétée un certain nombre de fois indiqué par la valeur (arrondie) de l'expression.
Exemple
Le programme suivant crée cinq balles (ball étant l'instance de l'objet) à des positions aléatoires.
{ repeat (5) instance_create(random(400),random(400),ball); }
<< Traduction française par Philippe Ragni - (2005) >>
Alternative versions
You can also read this manual on one single long page (± 1.5 mb)
Also available in:
![German German](/pictures/lang/de_small.png)
Download helpfile
Also available in:
![Dutch Dutch](/pictures/lang/nl_small.png)
![English English](/pictures/lang/en_small.png)
![German German](/pictures/lang/de_small.png)
![ZIP](/library/manual/zip.gif)
GameMaker Manual
![](/library/generic/pixel.gif)