You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<script type="text/javascript" src="herzle.js"></script>
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
* {
|
|
|
|
font-size: 2em;
|
|
|
|
color: #ff00ff;
|
|
|
|
font-family: helvetica, arial;
|
|
|
|
}
|
|
|
|
#player {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10%;
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
-moz-transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
#enemy {
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
-moz-transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
#pewpew {
|
|
|
|
position:absolute;
|
|
|
|
top: 10%;
|
|
|
|
right: 10%;
|
|
|
|
}
|
|
|
|
div.shoot {
|
|
|
|
position:absolute;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body onload="gameLoop();">
|
|
|
|
<div id="enemy">3</div>
|
|
|
|
<div id="player"><</div>
|
|
|
|
<div id="pewpew"></div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|