Attaque plus rapide du joueur
This commit is contained in:
parent
c6da53f871
commit
a256433cb3
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Reference in a new issue