123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <link rel="apple-touch-icon" href="icon.png" />
- <link rel="shortcut icon" href="icon.png" />
- <link rel="icon" href="icon.png" />
- <title>火影酷跑</title>
- <meta name="keywords" content="火影酷跑,火影酷跑html5游戏" />
- <meta name="description" content="火影酷跑html5游戏,火影酷跑手机在线游戏" />
- <meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no,target-densitydpi=device-dpi"/>
- <meta name="apple-mobile-web-app-capable" content="yes"/>
- <meta name="full-screen" content="true"/>
- <meta name="screen-ooo" content="portrait"/>
- <meta name="x5-fullscreen" content="true"/>
- <meta name="360-fullscreen" content="true"/>
- <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
- <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
- <style>
- body {
- text-align: center;
- background: #000000;
- padding: 0;
- border: 0;
- margin: 0;
- height: 100%;
- }
- .a a {
- color: #333;
- background: #ddd;
- padding: 5px;
- float: left;
- font-size: 12px;
- }
- .a a:hover {
- background: #ccc;
- }
- </style>
- </head>
- <body>
- <script src="http://yx8.com/game/hypk/WeixinAPI.js" async="false"></script>
- <script src="http://yx8.com/game/hypk/EgretShare.js" async="false"></script>
- <div style="display:inline-block;width:100%; height:100%;margin: 0 auto; background: black; position:relative;" id="gameDiv">
- <canvas id="gameCanvas" width="900" height="400" style="background-color: #000000"></canvas>
- </div>
- <script>
- var title = "火影跑酷";
- var content = "飞檐走壁动作游戏《火影跑酷》让你挑战反应能力极限!";
- var link = "http://yx8.com/huoyingkupao/?share";
- var ico = "http://yx8.com/game/hypk/142537_7329.jpg";
- function moreGame(){
- EgretShare.moreGame();
- }
- document.addEventListener('EgretShareLoaded', function(){
- EgretShare.setShareData(title, content, link, ico)});
- var egret_h5 = {};
- egret_h5.prefix = "";
- egret_h5.loadScript = function (list, callback) {
- var loaded = 0;
- if (navigator.userAgent.indexOf("Trident/5") > -1) {
- //ie9
- var loadNext = function () {
- egret_h5.loadSingleScript(egret_h5.prefix + list[loaded], function () {
- loaded++;
- if (loaded >= list.length) {
- callback();
- }
- else {
- loadNext();
- }
- })
- };
- loadNext();
- }
- else {
- list.forEach(function (f, i) {
- egret_h5.loadSingleScript(egret_h5.prefix + f, function () {
- loaded++;
- if (loaded >= list.length) {
- callback();
- }
- })
- });
- }
- }
- egret_h5.loadSingleScript = function (src, callback) {
- var s = document.createElement('script');
- if (s.hasOwnProperty("async")) {
- s.async = false;
- }
- if (window.version){
- s.src = src + "?r=" + window.version.src[src];
- }
- else{
- s.src = src + "?r=" + Math.random();
- }
- s.addEventListener('load', function () {
- this.removeEventListener('load', arguments.callee, false);
- callback();
- }, false);
- document.body.appendChild(s);
- }
- egret_h5.loadSingleScript("http://yx8.com/game/hypk/version.js",function(){
- egret_h5.loadScript([
- "http://yx8.com/game/hypk/browser-api.js",
- "http://yx8.com/game/hypk/game-min.js"
- ],function(){
- var orient = browsers.orientation;
- if (orient.check(orient.portrait)) {
- egret_h5.startGame();
- }
- })
- })
- </script>
- <div style="display:none">
- </div>
- <script type="text/JavaScript">
- window.shareData={
- 'title':'火影酷跑',
- 'link':'http://game.ikongzhong.cn/games/hypk/',
- 'imgurl':'http://game.ikongzhong.cn/games/hypk/icon.png'
- }
- window.shareFriendData={
- 'title':'火影酷跑',
- 'content':'关注空中传媒网络,更多好玩的游戏等着你。',
- 'link':'http://game.ikongzhong.cn/games/hypk/',
- 'imgurl':'http://game.ikongzhong.cn/games/hypk/icon.png'
- }
- </script>
- <script type="text/JavaScript" src="http://gc.veiying.cn/code"></script>
- </body>
- </html>
|