ShatteredSword/src/index.html

49 lines
1.2 KiB
HTML
Raw Normal View History

2020-08-03 16:51:20 -04:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
2020-10-21 15:30:13 -04:00
<title>Game</title>
2020-12-21 12:32:32 -05:00
<style>
#game-window {
position: relative;
}
#game-canvas {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
#debug-canvas {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
pointer-events: none;
}
</style>
</head>
<body>
2020-10-21 15:30:13 -04:00
<div style="display: flex; flex-direction: row;">
2020-12-21 12:32:32 -05:00
<!-- The main window of the game. This contains the rendered game and any debug text -->
<div id="game-window">
<!-- This is the canvas where the actual game is rendered -->
<canvas id="game-canvas"></canvas>
<!-- This is the canvas where the debug text and graphics are rendered -->
<canvas id="debug-canvas"></canvas>
</div>
<!-- This contains stats about the game for development purposes, such as the average update time -->
2020-10-21 15:30:13 -04:00
<div>
<canvas id="stats-canvas"></canvas>
<select name="Display" id="chart-option">
</select>
<div id="stats-display"></div>
</div>
</div>
<script src="bundle.js"></script>
</body>
2020-08-03 16:51:20 -04:00
</html>