添加游戏说明
This commit is contained in:
parent
d6524c9480
commit
de8f53d4af
14
index.html
14
index.html
@ -4,11 +4,21 @@
|
|||||||
<title>Pac-Man . 吃豆游戏</title>
|
<title>Pac-Man . 吃豆游戏</title>
|
||||||
<style>
|
<style>
|
||||||
*{padding:0;margin:0;}
|
*{padding:0;margin:0;}
|
||||||
canvas{display:block;background: #000;margin:0 auto;line-height:36px;text-align: center;color:#999;}
|
.wrapper{
|
||||||
|
width: 960px;
|
||||||
|
margin:0 auto;
|
||||||
|
line-height:36px;
|
||||||
|
text-align:center;
|
||||||
|
color:#999;
|
||||||
|
}
|
||||||
|
canvas{display:block;background: #000;}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<canvas id="canvas" width="960" height="640">Canvas not supported</canvas>
|
<div class="wrapper">
|
||||||
|
<canvas id="canvas" width="960" height="640">不支持画布</canvas>
|
||||||
|
<p>按[空格]暂停或继续</p>
|
||||||
|
</div>
|
||||||
<script src="game.js"></script>
|
<script src="game.js"></script>
|
||||||
<script src="index.js"></script>
|
<script src="index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user