From a256433cb3a35befc3feb68cff7cd46cd22f47d8 Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 6 Dec 2020 19:49:25 +0100 Subject: [PATCH] Attaque plus rapide du joueur --- objects/oPlayer/Step_0.gml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/oPlayer/Step_0.gml b/objects/oPlayer/Step_0.gml index e78145f..9af79d4 100644 --- a/objects/oPlayer/Step_0.gml +++ b/objects/oPlayer/Step_0.gml @@ -12,13 +12,13 @@ deplaceVertical = keyDown - keyUp; if (isAttack) { sprite_index = sPlayerAttackSlash; - image_speed = 1; + image_speed = 1.5; if (compteurFrames == 0) { image_index = indexImageInfo * 4; } else if (compteurFrames > 4) { isAttack = false; } - compteurFrames += 0.25; + compteurFrames += 0.5; } else { if ((deplaceHorizontal > 0 && !place_meeting(x+2, y, oWall))