fixed the broken link in " Can you think of a reason why redrawing your hero many frames per second might accrue performance costs? Read about alternatives to this pattern" section

fixed the broken links to https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas
pull/1106/head
SwargaRajDutta 3 years ago committed by GitHub
parent 9c4ad52915
commit 4e87d3931c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ ctx.fillStyle = "black";
ctx.drawImage(heroImg, hero.x, hero.y); 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 ## Handle keyboard events

Loading…
Cancel
Save