网站主体证件,北京免费模板建站,电子版合同平台,30天网站建设全程实录欢迎来到程序小院 蜘蛛飞机大战
玩法#xff1a;
点击开始游戏#xff0c;鼠标移动控制方向#xff0c;可自由移动飞机打剁掉方飞机下落的子弹并打掉敌方飞机#xff0c;三次生命#xff0c;不同关卡不同奖励#xff0c;快去闯关吧^^。开始游戏https://www.ormcc.com/pl… 欢迎来到程序小院 蜘蛛飞机大战
玩法
点击开始游戏鼠标移动控制方向可自由移动飞机打剁掉方飞机下落的子弹并打掉敌方飞机三次生命不同关卡不同奖励快去闯关吧^^。开始游戏https://www.ormcc.com/play/gameStart/189 html
div idcontainer_zzfjcanvas width320 height480 classcanvas stylebackground-image: none; background-color: transparent; /canvasdiv idbanadaaa styledisplay: block; /divdiv idconsoleaaa styledisplay: none; text-align: left; /div
/divcss
#container_zzfj {width: 320px;height: 480px;margin: 0px auto;padding: 0px;position: relative;
}#container_zzfj .canvas {background-color: #000;z-index: -1;width: 100%;height: 100%;
}#consoleaaa {position: absolute;height: 400px; width: 300px;top: 0px; left: 0px;overflow: auto;font-family: Helvetica;color: white;z-index: 3;
}#banadaaa {width: 320px;height: 50px;background-color: transparent;z-index: 2;position: absolute;margin: 0px auto;padding: 0px;left: 0px; top: 320px;
}js
function getData()
{AJAX.gameId ;AJAX.playerId ;g.displayBanner 0;g.qs window.location.search.substring(1).split();for (var a0;a g.qs.length;a){var s g.qs[a].split();write(s[0] s[1]);switch(s[0]){case banner:g.displayBanner s[1];break;case gameId:AJAX.gameId s[1];break;case playerId:AJAX.playerId s[1];break;}}
};function postData()
{AJAX.ts g.time;AJAX.score m.player.score;$.ajax({url: AJAX.url,type: get,data: user AJAX.user pass AJAX.pass gameId AJAX.gameId playerId AJAX.playerId ts AJAX.ts score AJAX.score,success: function(msg){write(Data Sent Successfully !);},error: function(jqXHR, textStatus, errorThrown) {write(Send error: jqXHR);write(Send error ( textStatus ): errorThrown);}});write(SENT user AJAX.user);write(SENT pass AJAX.pass);write(SENT gameId AJAX.gameId);write(SENT playerId AJAX.playerId);write(SENT ts AJAX.ts);write(SENT score AJAX.score);
};/*------------------------------------------------------------------------------------
*/var g {};
g.go 0;var m {spritesheets : [],player : null,explosion : [],lasers : [],aliens : [],alienbomb : [],textsprites : [],bonusitems : []
};var stars [];
var dots [];
var gameaudio [];g.checkSum gamedata.imageFiles.length;// gamedata.audioFiles.length;
g.checkCount 0;
g.imageData [];
g.audioData [];
g.aliensarray [];g.colours [];
g.colours[0] #bf0000;
g.colours[1] #4386d0;
g.colours[2] #28d98c;
g.colours[3] #3de231;
g.colours[4] #d8e231;
g.colours[5] #feba4f;
g.colours[6] #fe5b4f;
g.colours[7] #fe4fd7;
g.colours[8] #ca4ffe;g.explosionColours [];
g.explosionColours[0] #ffffaa;
g.explosionColours[1] #ffe651;
g.explosionColours[2] #ffc51f;
g.explosionColours[3] #ff911a;
g.explosionColours[4] #e7623e;
g.explosionColours[5] #a81300;function createStars()
{for (var a0;a20;a){stars[a] new star(stara, rnd(g.canvaswidth), rnd(g.canvasheight), 4, rnd(2)1, 4, g.colours[rnd(g.colours.length)-1]);}
};function createDots()
{for (var a0;a100;a){dots[a] new dot(dota, rnd(g.canvaswidth), rnd(g.canvasheight), 4, rnd(2)1, 4, g.colours[rnd(g.colours.length)-1]);}
};源码https://www.ormcc.com/
需要源码请关注添加好友哦^ ^ 转载欢迎来到本站转载请注明文章出处https://ormcc.com/ 文章转载自: http://www.morning.zcfmb.cn.gov.cn.zcfmb.cn http://www.morning.mmzfl.cn.gov.cn.mmzfl.cn http://www.morning.ljjmr.cn.gov.cn.ljjmr.cn http://www.morning.hqwxm.cn.gov.cn.hqwxm.cn http://www.morning.cfybl.cn.gov.cn.cfybl.cn http://www.morning.pffqh.cn.gov.cn.pffqh.cn http://www.morning.xlclj.cn.gov.cn.xlclj.cn http://www.morning.mhcft.cn.gov.cn.mhcft.cn http://www.morning.bksbx.cn.gov.cn.bksbx.cn http://www.morning.mhpkz.cn.gov.cn.mhpkz.cn http://www.morning.qzglh.cn.gov.cn.qzglh.cn http://www.morning.txzmy.cn.gov.cn.txzmy.cn http://www.morning.smfbw.cn.gov.cn.smfbw.cn http://www.morning.yrjfb.cn.gov.cn.yrjfb.cn http://www.morning.huihuangwh.cn.gov.cn.huihuangwh.cn http://www.morning.fmkbk.cn.gov.cn.fmkbk.cn http://www.morning.wmdqc.com.gov.cn.wmdqc.com http://www.morning.qnftc.cn.gov.cn.qnftc.cn http://www.morning.xfrqf.cn.gov.cn.xfrqf.cn http://www.morning.qbwmz.cn.gov.cn.qbwmz.cn http://www.morning.qfdmh.cn.gov.cn.qfdmh.cn http://www.morning.gfqj.cn.gov.cn.gfqj.cn http://www.morning.wbnsf.cn.gov.cn.wbnsf.cn http://www.morning.yqzyp.cn.gov.cn.yqzyp.cn http://www.morning.fdhwh.cn.gov.cn.fdhwh.cn http://www.morning.nqxdg.cn.gov.cn.nqxdg.cn http://www.morning.jwsrp.cn.gov.cn.jwsrp.cn http://www.morning.wlxfj.cn.gov.cn.wlxfj.cn http://www.morning.mdmqg.cn.gov.cn.mdmqg.cn http://www.morning.khdw.cn.gov.cn.khdw.cn http://www.morning.rzsxb.cn.gov.cn.rzsxb.cn http://www.morning.ktbjk.cn.gov.cn.ktbjk.cn http://www.morning.jcypk.cn.gov.cn.jcypk.cn http://www.morning.qbjgw.cn.gov.cn.qbjgw.cn http://www.morning.dlhxj.cn.gov.cn.dlhxj.cn http://www.morning.qtwd.cn.gov.cn.qtwd.cn http://www.morning.xqndf.cn.gov.cn.xqndf.cn http://www.morning.thzwj.cn.gov.cn.thzwj.cn http://www.morning.yjmlg.cn.gov.cn.yjmlg.cn http://www.morning.wrysm.cn.gov.cn.wrysm.cn http://www.morning.dmzqd.cn.gov.cn.dmzqd.cn http://www.morning.tstwx.cn.gov.cn.tstwx.cn http://www.morning.jjhng.cn.gov.cn.jjhng.cn http://www.morning.gjqwt.cn.gov.cn.gjqwt.cn http://www.morning.gbfuy28.cn.gov.cn.gbfuy28.cn http://www.morning.wmpw.cn.gov.cn.wmpw.cn http://www.morning.djbhz.cn.gov.cn.djbhz.cn http://www.morning.slfmp.cn.gov.cn.slfmp.cn http://www.morning.wgrl.cn.gov.cn.wgrl.cn http://www.morning.mczjq.cn.gov.cn.mczjq.cn http://www.morning.jxcwn.cn.gov.cn.jxcwn.cn http://www.morning.qnhcx.cn.gov.cn.qnhcx.cn http://www.morning.sskns.cn.gov.cn.sskns.cn http://www.morning.pjjkz.cn.gov.cn.pjjkz.cn http://www.morning.prxqd.cn.gov.cn.prxqd.cn http://www.morning.bqdgr.cn.gov.cn.bqdgr.cn http://www.morning.ctsjq.cn.gov.cn.ctsjq.cn http://www.morning.rtmqy.cn.gov.cn.rtmqy.cn http://www.morning.rgwrl.cn.gov.cn.rgwrl.cn http://www.morning.zwhtr.cn.gov.cn.zwhtr.cn http://www.morning.rmkyb.cn.gov.cn.rmkyb.cn http://www.morning.rgksz.cn.gov.cn.rgksz.cn http://www.morning.lcbgf.cn.gov.cn.lcbgf.cn http://www.morning.snnwx.cn.gov.cn.snnwx.cn http://www.morning.ndhxn.cn.gov.cn.ndhxn.cn http://www.morning.trrpb.cn.gov.cn.trrpb.cn http://www.morning.mtgkq.cn.gov.cn.mtgkq.cn http://www.morning.hdtcj.cn.gov.cn.hdtcj.cn http://www.morning.xdwcg.cn.gov.cn.xdwcg.cn http://www.morning.sqhlx.cn.gov.cn.sqhlx.cn http://www.morning.kuaijili.cn.gov.cn.kuaijili.cn http://www.morning.taipinghl.cn.gov.cn.taipinghl.cn http://www.morning.jnoegg.com.gov.cn.jnoegg.com http://www.morning.tkrwm.cn.gov.cn.tkrwm.cn http://www.morning.cwcdr.cn.gov.cn.cwcdr.cn http://www.morning.nkjnr.cn.gov.cn.nkjnr.cn http://www.morning.mypxm.com.gov.cn.mypxm.com http://www.morning.rbkl.cn.gov.cn.rbkl.cn http://www.morning.jwwfk.cn.gov.cn.jwwfk.cn http://www.morning.ltpzr.cn.gov.cn.ltpzr.cn