index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Cocos Creator | ComposeLoveLive</title>
  6. <!--http://www.html5rocks.com/en/mobile/mobifying/-->
  7. <meta name="viewport"
  8. content="width=device-width,user-scalable=no,initial-scale=1, minimum-scale=1,maximum-scale=1"/>
  9. <!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
  10. <meta name="apple-mobile-web-app-capable" content="yes">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  12. <meta name="format-detection" content="telephone=no">
  13. <!-- force webkit on 360 -->
  14. <meta name="renderer" content="webkit"/>
  15. <meta name="force-rendering" content="webkit"/>
  16. <!-- force edge on IE -->
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  18. <meta name="msapplication-tap-highlight" content="no">
  19. <!-- force full screen on some browser -->
  20. <meta name="full-screen" content="yes"/>
  21. <meta name="x5-fullscreen" content="true"/>
  22. <meta name="360-fullscreen" content="true"/>
  23. <!-- force screen orientation on some browser -->
  24. <meta name="screen-orientation" content="portrait"/>
  25. <meta name="x5-orientation" content="portrait">
  26. <!--fix fireball/issues/3568 -->
  27. <!--<meta name="browsermode" content="application">-->
  28. <meta name="x5-page-mode" content="app">
  29. <!--<link rel="apple-touch-icon" href=".png" />-->
  30. <!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
  31. <link rel="stylesheet" type="text/css" href="style-mobile.6e9cd.css"/>
  32. <link rel="icon" href="favicon.8de18.ico"/>
  33. </head>
  34. <body>
  35. <canvas id="GameCanvas" oncontextmenu="event.preventDefault()" tabindex="0"></canvas>
  36. <div id="splash">
  37. <div class="progress-bar stripes">
  38. <span style="width: 0%"></span>
  39. </div>
  40. </div>
  41. <script src="src/settings.05f6e.js" charset="utf-8"></script>
  42. <script src="https://download.cocos.com/CocosAnalytics/sdk/cocosAnalytics.min.2.2.1.js" charset="utf-8"></script>
  43. <script src="main.9ccaf.js" charset="utf-8"></script>
  44. <script type="text/javascript">
  45. (function () {
  46. // open web debugger console
  47. if (typeof VConsole !== 'undefined') {
  48. window.vConsole = new VConsole();
  49. }
  50. var debug = window._CCSettings.debug;
  51. var splash = document.getElementById('splash');
  52. splash.style.display = 'block';
  53. function loadScript (moduleName, cb) {
  54. function scriptLoaded () {
  55. document.body.removeChild(domScript);
  56. domScript.removeEventListener('load', scriptLoaded, false);
  57. cb && cb();
  58. };
  59. var domScript = document.createElement('script');
  60. domScript.async = true;
  61. domScript.src = moduleName;
  62. domScript.addEventListener('load', scriptLoaded, false);
  63. document.body.appendChild(domScript);
  64. }
  65. loadScript(debug ? 'cocos2d-js.js' : 'cocos2d-js-min.af4b0.js', function () {
  66. if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
  67. loadScript(debug ? 'physics.js' : 'physics-min.e6810.js', window.boot);
  68. }
  69. else {
  70. window.boot();
  71. }
  72. });
  73. })();
  74. </script>
  75. </body>
  76. </html>