adieu les problèmes de copyright, profite Peach
This commit is contained in:
parent
3c7a7f6636
commit
4049db87da
3 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
<meta name="description" content="">
|
||||
<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 -->
|
||||
<link rel="stylesheet" href="./style.css"/>
|
||||
|
||||
|
|
BIN
res/mario.png
BIN
res/mario.png
Binary file not shown.
Before Width: | Height: | Size: 263 KiB |
|
@ -5,7 +5,7 @@ import { MoveDirection } from '/modules/enums.mjs'
|
|||
let canvas = document.getElementById('canvas');
|
||||
let ctx = canvas.getContext('2d');
|
||||
window.ctx = ctx
|
||||
let playground = generatePlayground(level1Blueprint, canvas.width, canvas.height);
|
||||
let playground = generatePlayground(level2Blueprint, canvas.width, canvas.height);
|
||||
window.addEventListener("keydown", (event) => {
|
||||
if (!event.defaultPrevented) {
|
||||
switch (event.key) {
|
||||
|
|
Loading…
Reference in a new issue