diff --git a/objects/oPlayer/Step_0.gml b/objects/oPlayer/Step_0.gml index 1e5ddf2..3a7d0e3 100644 --- a/objects/oPlayer/Step_0.gml +++ b/objects/oPlayer/Step_0.gml @@ -18,6 +18,10 @@ seDeplace = (deplaceHorizontal != 0 or deplaceVertical != 0); // Animation des sprites if (seDeplace) { - - + if (deplaceHorizontal = 0) { + if (deplaceVertical = 1) image_index = 0; + else image_index = 2; + } + else if (deplaceHorizontal = 1) image_index = 1; + else image_index = 3; } \ No newline at end of file