Archived
1
0
Fork 0
This repository has been archived on 2019-12-19. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
30shooter/herzle.html

45 lines
889 B
HTML
Raw Normal View History

2012-08-13 22:15:56 +02:00
<html>
<head>
2012-08-14 23:08:49 +02:00
<script type="text/javascript" src="herzle.js"></script>
2012-08-13 22:15:56 +02:00
2012-08-14 23:08:49 +02:00
<style type="text/css">
* {
font-size: 2em;
color: #ff00ff;
font-family: helvetica, arial;
2012-08-14 22:35:35 +02:00
}
2012-08-14 23:08:49 +02:00
#player {
position: absolute;
bottom: 10%;
2012-08-14 23:20:12 +02:00
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
border-style: solid; border-width: 1px;
2012-08-14 21:31:16 +02:00
}
2012-08-14 23:08:49 +02:00
#enemy {
position: absolute;
top: 10%;
2012-08-14 23:20:12 +02:00
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
2012-08-14 23:08:49 +02:00
border-style: solid; border-width: 1px;
2012-08-14 21:31:16 +02:00
}
2012-08-14 23:08:49 +02:00
#pewpew {
position:absolute;
top: 10%;
right: 10%;
}
div.shoot {
position:absolute;
border-style: solid; border-width: 1px;
}
</style>
2012-08-13 22:15:56 +02:00
</head>
2012-08-14 21:31:16 +02:00
<body onload="gameLoop();">
2012-08-14 22:35:35 +02:00
<div id="enemy">3</div>
<div id="player">&lt;</div>
2012-08-14 21:31:16 +02:00
<div id="pewpew"></div>
2012-08-13 22:15:56 +02:00
</body>
</html>