mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-14 20:30:02 -04:00
32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<script src="https://cdn.jsdelivr.net/gh/BinBashBanana/gstore/html5games/asteroids/jquery-1.4.1.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/gh/BinBashBanana/gstore/html5games/asteroids/vector_battle_regular.typeface.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/gh/BinBashBanana/gstore/html5games/asteroids/ipad.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/gh/BinBashBanana/gstore/html5games/asteroids/game.js"></script>
|
|
<style>
|
|
body {background-color: #000;}
|
|
#canvas { border:1px solid black; top:0px; left:0px; background-color: #fff;}
|
|
.button { position:absolute; border:1px solid black; }
|
|
#left-controls { position:absolute; left:1px; bottom:0px; display:none; }
|
|
#right-controls { position:absolute; right:1px; bottom:0px; display:none; }
|
|
#up { width:200px; height:100px; bottom:100px;}
|
|
#left { width:100px; height:100px; bottom:0px;}
|
|
#right { width:100px; height:100px; bottom:0px; left:100px; }
|
|
#space { width:200px; height:200px; bottom:0px; right:0px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="game-container" align="center">
|
|
<canvas id="canvas" width="780" height="540"></canvas>
|
|
<div id="left-controls">
|
|
<div id="up" class='button'>THRUST</div>
|
|
<div id="left" class='button'>LEFT</div>
|
|
<div id="right" class='button'>RIGHT</div>
|
|
</div>
|
|
<div id="right-controls">
|
|
<div id="space" class='button'>FIRE</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|