From 94e8a6266e7371ecdb9d7e2c5a80c5371f335fa5 Mon Sep 17 00:00:00 2001 From: Himanshi Sharma <76901882+HIMANSHIKSHARMA@users.noreply.github.com> Date: Mon, 20 Mar 2023 01:44:45 +0530 Subject: [PATCH] updates --- 6-space-game/3-moving-elements-around/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-space-game/3-moving-elements-around/README.md b/6-space-game/3-moving-elements-around/README.md index 9217838b..6aff7c67 100644 --- a/6-space-game/3-moving-elements-around/README.md +++ b/6-space-game/3-moving-elements-around/README.md @@ -30,7 +30,7 @@ ctx.fillStyle = "black"; ctx.drawImage(heroImg, hero.x, hero.y); ``` -✅ Can you think of a reason why redrawing your hero many frames per second might accrue performance costs? Read about [alternatives to this pattern](https://www.html5rocks.com/en/tutorials/canvas/performance/). +✅ Can you think of a reason why redrawing your hero many frames per second might accrue performance costs? Read about [alternatives to this pattern](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas). ## Handle keyboard events