Skip to content

Commit

Permalink
monstres: tailles différentes sur x et y
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Dec 20, 2023
1 parent 2c4d393 commit d493615
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ JOUEUR_VITESSE = 8
JOUEUR_VITESSE_SAUT = 20
JOUEUR_TAILLE = 0.9
MONSTRES_VITESSE = JOUEUR_VITESSE * 0.5
MONSTRES_TAILLE = 0.8
MONSTRES_TAILLEX = 0.8
MONSTRES_TAILLEY = 0.8
VITESSE_CHUTE_MAX = 10
ECHELLE_DESSIN = 50
LARGEUR_JEU = 800
Expand Down Expand Up @@ -241,8 +242,8 @@ function chargerNiveau(path)
vy = 0,
orientationX = 0,
vivant = true,
tailleX = MONSTRES_TAILLE,
tailleY = MONSTRES_TAILLE,
tailleX = MONSTRES_TAILLEX,
tailleY = MONSTRES_TAILLEY,
image = IMAGES.monstre
}
else
Expand Down

0 comments on commit d493615

Please sign in to comment.