-
Notifications
You must be signed in to change notification settings - Fork 0
/
shooter-pl.html
46 lines (39 loc) · 1.38 KB
/
shooter-pl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Gravity shooter</title>
<script type="text/javascript" src="shooter.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="help">
<p><em>Gracz 1:</em></p>
<p><span class="key">←</span> obrót <span class="key">→</span></p>
<p>silnik <span class="key">↑</span></p>
<p>strzał <span class="key">↓</span></p>
<p><em>Gracz 2:</em></p>
<p><span class="key">a</span> obrót <span class="key">d</span></p>
<p>silnik <span class="key">w</span></p>
<p>strzał <span class="key">s</span></p>
<p><em>Wznowienie gry</em> <span class="key">spacja</span></p>
<p>
Statek ulegnie zniszczeniu w wyniku:
<ul>
<li>upadku na gwiazdę</li>
<li>zderzenia z drugim statkiem</li>
<li>opuszczenia pola gry</li>
<li>zestrzelenia</li>
</ul>
</p>
<div style="position:absolute; top: 530px; left: 0px">
<a href="index-pl.html" class="button"><span>Koniec gry</span></a>
</div>
</div>
<div id="game" style="width:800px; height:600px;"></div>
</body>
<script type="text/javascript">
var div = document.getElementById("game");
Elm.embed(Elm.Shooter, div);
</script>
</html>