adieu les problèmes de copyright, profite Peach

This commit is contained in:
Ronan 2022-12-05 17:33:27 +01:00
parent 3c7a7f6636
commit 4049db87da
3 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="./res/mario.png"/> <link rel="icon" href="./res/player.png"/>
<!-- Place favicon.ico in the root directory --> <!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="./style.css"/> <link rel="stylesheet" href="./style.css"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

View file

@ -5,7 +5,7 @@ import { MoveDirection } from '/modules/enums.mjs'
let canvas = document.getElementById('canvas'); let canvas = document.getElementById('canvas');
let ctx = canvas.getContext('2d'); let ctx = canvas.getContext('2d');
window.ctx = ctx window.ctx = ctx
let playground = generatePlayground(level1Blueprint, canvas.width, canvas.height); let playground = generatePlayground(level2Blueprint, canvas.width, canvas.height);
window.addEventListener("keydown", (event) => { window.addEventListener("keydown", (event) => {
if (!event.defaultPrevented) { if (!event.defaultPrevented) {
switch (event.key) { switch (event.key) {