很不错的游戏体验,颇有点小时候玩的红警氛围,喜欢的感觉试玩吧,源码已经开源!
http://mpvideo.qpic.cn/0bc334aaoaaafeafuyko7nrfbx6da7pqabya.f10002.mp4?dis_k=dfbc3b80ee24b39893ce87af3a166464&dis_t=1651020671&vid=wxv_2343957588448477186&format_id=10002&support_redirect=0&mmversion=false
首页源码:
<!DOCTYPE HTML>
<html>
<head>
<title>星球大战,Rogue One: Boots on the Ground</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<script src="js/libs/pixi/pixi.js"></script>
<script src="js/libs/pixi/pixi-spine.js"></script>
<script src="js/libs/pixi/pixi-ext.js"></script>
<script src="js/libs/pixi-particles.js"></script>
<script src="js/libs/p2/p2.js"></script>
<script src="js/libs/signals.min.js"></script>
<script src="js/libs/greensock/TweenMax.min.js"></script>
<script src="js/libs/howler.min.js"></script>
<script src="js/libs/bowser/bowser.min.js"></script>
<script src="js/libs/SAT.js"></script>
<script src="js/libs/binary.heap.js"></script>
<script src="js/libs/jquery-2.1.4.min.js"></script>
<script src="p3.min.js"></script>
<script src="bundle.min.js"></script>
<script src="./gameConfig/isl.js"></script>
<meta name="apple-mobile-web-app-title" content="星球大战">
<meta name="application-name" content="星球大战">
<meta name="keywords" content="星球大战,星球大战html5游戏" />
<meta name="description" content="星球大战html5游戏,星球大战手机在线游戏" />
<link rel="apple-touch-icon" href="icon.png" />
<link rel="shortcut icon" href="icon.png" />
<link rel="icon" href="icon.png" />
<style>
body {
background-image: none;
background-color: #000000;
}
#game {
position: absolute;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="game"></div>
<script>
if ($("html").hasClass("ie") || (Function("/*@cc_on return document.documentMode===10@*/")())) {
var nowebgl = $("<div />").attr({
"id": "nowebgl"
}).css({
"width": "100%",
"height": "100%",
"background-position": "50% 50%",
"background-repeat": "no-repeat",
"background-image": "url('./unsupported.jpg')",
"background-color": "#000000",
"background-size": "auto 100%"
}).appendTo("#game");
} else {
var language = "en";
var main = new Main(1024, 768);
//runISL(main);
main.init();
}
</script>
<div style="display:none">
</div>
</body>
</html>
资源包: