123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <title>火柴人大逃亡</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <link rel="apple-touch-icon" sizes="256x256" href="icon-256.png" />
- <meta name="HandheldFriendly" content="true" />
- <meta name="mobile-web-app-capable" content="yes" />
- <link rel="shortcut icon" sizes="256x256" href="icon-256.png" />
- <script type="text/javascript">
- window.onload = function (){
- // updateShare(0,0);
- }
- </script>
- <style type="text/css">
- * {
- padding: 0;
- margin: 0;
- }
- html, body {
- background: #000;
- color: #fff;
- overflow: hidden;
- touch-action: none;
- -ms-touch-action: none;
- }
- canvas {
- touch-action-delay: none;
- touch-action: none;
- -ms-touch-action: none;
- }
- .aliForPc {display:none;position:fixed;top:5px;right:5px;width:200px;height:230px;overflow:hidden;z-index:99999;}
- </style>
- </head>
-
- <body>
- <div id="fb-root"></div>
-
- <script>
- (function(){
- // Check for running exported on file protocol
- if (window.location.protocol.substr(0, 4) === "file")
- {
- alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
- }
- })();
- </script>
- <div id="c2canvasdiv">
- <canvas id="c2canvas" width="640" height="960">
- </canvas>
-
- </div>
- <script src="js/jquery-2.0.0.min.js"></script>
- <script src="js/c2runtime.js"></script>
- <script>
- // Size the canvas to fill the browser viewport.
- jQuery(window).resize(function() {
- cr_sizeCanvas(jQuery(window).width(), jQuery(window).height());
- });
-
- // Start the Construct 2 project running on window load.
- jQuery(document).ready(function ()
- {
- // Create new runtime using the c2canvas
- cr_createRuntime("c2canvas");
- });
-
- // Pause and resume on page becoming visible/invisible
- function onVisibilityChanged() {
- if (document.hidden || document.mozHidden || document.webkitHidden || document.msHidden)
- cr_setSuspended(true);
- else
- cr_setSuspended(false);
- };
-
- document.addEventListener("visibilitychange", onVisibilityChanged, false);
- document.addEventListener("mozvisibilitychange", onVisibilityChanged, false);
- document.addEventListener("webkitvisibilitychange", onVisibilityChanged, false);
- document.addEventListener("msvisibilitychange", onVisibilityChanged, false);
-
- </script>
- <script language=javascript>
-
- function showshare(){
- play68_submitScore(window.myPlayGameHead,window.myPlayGameScore);
- };
- function clickMore(){
- setTimeout(Play68.goHome(),1000);
- };
-
- </script>
- <div id=share style="display: none">
- </div>
- </body>
- <div style="display:none;">
- </div>
- </html>
|