2016-11-29 23:42:29 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh" class="no-js demo-1">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<script src="js/jquery.min.js"></script>
|
|
|
|
|
<script src="js/Helper.js"></script>
|
|
|
|
|
<script src="js/keyboard.js"></script>
|
|
|
|
|
<script src="js/const.js"></script>
|
|
|
|
|
<script src="js/level.js"></script>
|
|
|
|
|
<script src="js/crackAnimation.js"></script>
|
|
|
|
|
<script src="js/prop.js"></script>
|
|
|
|
|
<script src="js/bullet.js"></script>
|
|
|
|
|
<script src="js/tank.js"></script>
|
|
|
|
|
<script src="js/num.js"></script>
|
|
|
|
|
<script src="js/menu.js"></script>
|
|
|
|
|
<script src="js/map.js"></script>
|
|
|
|
|
<script src="js/Collision.js"></script>
|
|
|
|
|
<script src="js/stage.js"></script>
|
|
|
|
|
<script src="js/main.js"></script>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/default.css" />
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
#canvasDiv canvas{
|
|
|
|
|
position:absolute;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
2016-12-17 17:00:04 +08:00
|
|
|
|
<body >
|
|
|
|
|
<div style="width:100%; height:100%;" >
|
2016-11-29 23:42:29 +08:00
|
|
|
|
<div class="container" >
|
|
|
|
|
|
2016-12-17 17:00:04 +08:00
|
|
|
|
<div class="main clearfix" style="position:fixed;top:20%;height:488px;">
|
2016-11-29 23:42:29 +08:00
|
|
|
|
<div style="position: fixed;margin:5px auto;width:100%;height:448px;">
|
|
|
|
|
<div id="canvasDiv" style="margin-left:auto;margin-right:auto;">
|
|
|
|
|
|
|
|
|
|
<canvas id="wallCanvas" ></canvas>
|
|
|
|
|
<canvas id="tankCanvas" ></canvas>
|
|
|
|
|
<canvas id="grassCanvas" ></canvas>
|
|
|
|
|
<canvas id="overCanvas" ></canvas>
|
|
|
|
|
<canvas id="stageCanvas"></canvas>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div><!-- /container -->
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|