-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
24 lines (24 loc) · 931 Bytes
/
index.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
<!DOCTYPE HTML>
<!--this is a html file-->
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>PlaneFire</title>
<link rel="stylesheet" href="css/base.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Bangers' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
</head>
<body>
<div id='container'>
<!--this is a canvas-->
<canvas id='game' width='320' height='480'></canvas>
<div id="notice">
<p><span>操作</span>:<span>空格键</span>开火<br /> <span>左右方向键</span>移动飞机</p>
</div>
</div>
<script src='js/engine.js'></script>
<script src='js/game.js'></script>
</body>
</html>