4
0
Fork 0
This repository has been archived on 2023-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
surprise_dungeon/objects/oMonster/Create_0.gml
2020-12-05 16:33:57 +01:00

13 lines
No EOL
278 B
Text

dureeDeplacement = 120;
deplaceHorizontal = 0;
deplaceVertical = 0;
dir = random(3);
switch(dir) {
case 0 : deplacementVertical = 1; break;
case 1 : deplacementHorizontal = 1; break;
case 2 : deplacementVertical = -1; break;
case 3 : deplacementHorizontal = -1; break;
}