html-tower/static/index.html

35 lines
1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<script src="input.js" defer></script>
<script src="player.js" defer></script>
<script src="engine.js" defer></script>
</head>
<body>
<div class="player"
data-sprite="player.png"
data-transform="[1,0,0,1,0,0]"
data-collision="player"
id="player"
style="position:absolute;width:50px;height:50px;background-color:black;"></div>
<article class="level" id="test">
<div class="environment"
data-collision="environment"
data-pos-x="0"
data-pos-y="0"
data-height="100"
data-width="100"
>
</div>
<table class="enemy" id="table-enemy" >
<tbody>
<tr>
<td>
o o o
</td>
</tr>
</tbody>
</table>
</article>
</body>
</html>