split up game loop
This commit is contained in:
parent
59f6f1f99e
commit
278314ffc7
2 changed files with 26 additions and 10 deletions
|
@ -14,14 +14,12 @@
|
|||
bottom: 10%;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-moz-transform: rotate(90deg);
|
||||
border-style: solid; border-width: 1px;
|
||||
}
|
||||
#enemy {
|
||||
position: absolute;
|
||||
top: 10%;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-moz-transform: rotate(90deg);
|
||||
border-style: solid; border-width: 1px;
|
||||
}
|
||||
#pewpew {
|
||||
position:absolute;
|
||||
|
@ -30,7 +28,6 @@
|
|||
}
|
||||
div.shoot {
|
||||
position:absolute;
|
||||
border-style: solid; border-width: 1px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
Reference in a new issue