Skip to content
Snippets Groups Projects
Commit 2251ab04 authored by Mathis Decoster's avatar Mathis Decoster :apple:
Browse files

affichage vies sous personnage

parent de090505
Branches
No related tags found
No related merge requests found
......@@ -135,10 +135,10 @@ function render() {
for (let j = 0; j < avatars[i].vies; j++) {
context.drawImage(
imageCoeur,
canvas.width - (avatars[i].vies - j) * 50,
i * 50 - 50,
50,
50
avatars[i].x + (avatars[i].vies - j) * 20 - 15,
avatars[i].y + imageMortier.height,
20,
20
);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment