pompy.dev/public/games/pong/index.html

24 lines
908 B
HTML
Executable file

<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>PONG</title>
<link rel="shortcut icon" href="/games/pong/TemplateData/favicon.ico">
<link rel="stylesheet" href="/games/pong/TemplateData/style.css">
<script src="/games/pong/TemplateData/UnityProgress.js"></script>
<script src="/games/pong/Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "/games/pong/Build/7.json", {onProgress: UnityProgress});
</script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 960px; height: 600px"></div>
<div class="footer">
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
<div class="title">PONG v7</div>
</div>
</div>
</body>
</html>