parent
c8799e833c
commit
a3d420b3a6
26 changed files with 708 additions and 1627 deletions
68
index.html
68
index.html
|
@ -1,40 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<title>Baena</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="index.css"
|
||||
/>
|
||||
</head>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Evolver</title>
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#game {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
canvas {
|
||||
background-color: #fbf7f3;
|
||||
border: 1px solid black;
|
||||
image-rendering: pixelated;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="game">
|
||||
<canvas></canvas>
|
||||
<body>
|
||||
<div id="resources">
|
||||
<img
|
||||
id="overworld"
|
||||
src="resources/overworld.png"
|
||||
/>
|
||||
</div>
|
||||
<script type="module" src="src/index.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<div id="container">
|
||||
<button id="debug">Debug</button>
|
||||
<button id="level1">Level 1</button>
|
||||
<button id="level2">Level 2</button>
|
||||
<canvas id="game"></canvas>
|
||||
</div>
|
||||
<script
|
||||
type="module"
|
||||
src="index.js"
|
||||
></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue