<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="js/ext-core.js" type="text/javascript"></script>
<script src="js/FP.js" type="text/javascript"></script>
<title>战斗机</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
background-color:#000000;
}
.plane{
position:absolute;
background-image: url(img/MyPlaneFrames.png);
background-repeat: no-repeat;
height: 24px;
width: 24px;
}
.heli{
position:absolute;
background-image: url(img/bigheli.png);
background-repeat: no-repeat;
height: 32px;
width: 15px;
}
.score{
color:#FFCC00;
font-size:12px;
position:absolute;
top:5px;
left:5px;
z-index:999;
font-weight:bold;
}
.r{
background-position: -48px 0px;
}
.l{
background-position: -24px 0px;
}
.m{
background-position: 0px 0px;
}
.contain{
position:relative;
height: 300px;
width: 250px;
border: thin solid #FFFF00;
overflow:hidden;
margin-top:20px;
margin-left:auto;
margin-right:auto;
}
.bg {
background-image: url(img/back_water.png);
position:relative;
float:left;
}
.map{
position:absolute;
background-image: url(img/cd.png);
background-repeat: no-repeat;
height: 32px;
width: 32px;
}
.bullet{
position:absolute;
background-image: url(img/bullet_straight.png);
background-repeat: no-repeat;
height: 8px;
width: 5px;
}
.explosion
{
background-image: url(img/explosion.png);
background-repeat: no-repeat;
height: 32px;
width: 32px;
position:absolute;
}
.exp0
{
background-position: 0px 0px;
}
.exp1
{
background-position: -32px 0px;
}
.exp2
{
background-position: -64px 0px;
}
.exp3
{
background-position: -96px 0px;
}
.exp4
{
background-position: -130px 0px;
}
.tips{
position:absolute;
z-index:999;
top:80px;
left:50px;
width: 140px;
}
.tips .title{
padding:5px 0;
color:#FFFF00;
font-size:14px;
font-weight:bold;
text-align:center;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #FFFFCC;
}
.tips .msg{
margin:4px 0px;
color:#FFFF00;
font-size:12px;
}
.copyright{
color:#FFFF99;
margin-top:10px;
margin-left:auto;
margin-right:auto;
width:250px;
}
-->
</style>
</head>
<body>
<div class="contain" id="contain">
<div class="score">分数:<span id="score">0</span></div>
<div class="tips" id="tips">
<div class="title" id="tipTitle">JS飞机游戏</div>
<div class="msg" id="tipbody">
作者:hongkid<br/>
时间:2010-12-25<br/>
版本:v1.0<br/>
说明:按空格键开始,暂停,W-S-A-D控制上下左右,J发射子弹
</div>
</div>
<div class="tips" id="tips"></div>
</div>
<div class="copyright">游戏说明:<br />按空格键开始,暂停,继续,重新开始<br/>W-S-A-D控制上-下-左-右<br/>J发射子弹</div>
</body>
</html>
<script>
Ext.onReady(function(){
FP.Mrg.init();
});
</script>