peytonplayz585-a1.2.6/web/index.html
2024-02-25 01:23:13 -05:00

32 lines
843 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Alpha v1.2.6</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
<script type = text/javascript>
window.addEventListener("load", function() {
window.classicConfig = ["game","resources.mc"];
main();
});
document.esc = false;
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape') {
e.preventDefault();
document.esc = true;
}
});
document.addEventListener('keyup', function(e) {
if (e.key === 'Escape') {
e.preventDefault();
document.esc = false;
}
});
</script>
</head>
<body style="margin:0px;width:100vw;height:100vh;" id="game">
</body>
</html>