index.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Cocos Creator | 看你多厉害</title>
  6. <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"/>
  7. <meta name="apple-mobile-web-app-capable" content="yes"/>
  8. <meta name="full-screen" content="yes"/>
  9. <meta name="screen-orientation" content="portrait"/>
  10. <meta name="x5-fullscreen" content="true"/>
  11. <meta name="360-fullscreen" content="true"/>
  12. <meta name="renderer" content="webkit"/>
  13. <meta name="force-rendering" content="webkit"/>
  14. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  15. <link rel="stylesheet" type="text/css" href="./style.css"/>
  16. <link rel="icon" href="favicon.ico"/>
  17. </head>
  18. <body>
  19. <h1 class="header">看你多厉害</h1>
  20. <div id="GameDiv" cc_exact_fit_screen="false" style="width: 750px; height: 1634px;">
  21. <div id="Cocos3dGameContainer">
  22. <canvas id="GameCanvas" width="750" height="1634" tabindex="99"></canvas>
  23. </div>
  24. </div>
  25. <p class="footer">
  26. Created with <a href="https://www.cocos.com/products" title="Cocos Creator">Cocos Creator</a>
  27. </p>
  28. <!-- Polyfills bundle. -->
  29. <script src="src/polyfills.bundle.js" charset="utf-8"> </script>
  30. <!-- SystemJS support. -->
  31. <script src="src/system.bundle.js" charset="utf-8"> </script>
  32. <!-- Import map -->
  33. <script src="src/import-map.json" type="systemjs-importmap" charset="utf-8"> </script>
  34. <script>
  35. System.import('./index.js').catch(function(err) { console.error(err); })
  36. </script>
  37. </body>
  38. </html>