From 4e87d3931ce3ab85dabbce7d6ba0d25f78ce963c Mon Sep 17 00:00:00 2001 From: SwargaRajDutta <72154312+Swarga-codes@users.noreply.github.com> Date: Mon, 20 Mar 2023 02:47:18 +0530 Subject: [PATCH] =?UTF-8?q?fixed=20the=20broken=20link=20in=20"=E2=9C=85?= =?UTF-8?q?=20Can=20you=20think=20of=20a=20reason=20why=20redrawing=20your?= =?UTF-8?q?=20hero=20many=20frames=20per=20second=20might=20accrue=20perfo?= =?UTF-8?q?rmance=20costs=3F=20Read=20about=20alternatives=20to=20this=20p?= =?UTF-8?q?attern"=20section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed the broken links to https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas --- 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