index.html 511 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <meta charset="utf-8" />
  4. <style type="text/css">
  5. html,
  6. body {
  7. margin: 0;
  8. padding: 0;
  9. width: 100%;
  10. height: 100vh;
  11. display: block;
  12. background-color:#080808;
  13. }
  14. canvas {
  15. width: 1008px;
  16. height: 630px;
  17. display: block;
  18. text-align: center;
  19. margin-left: auto;
  20. margin-right: auto;
  21. }
  22. </style>
  23. <body>
  24. <canvas></canvas>
  25. <script src="./js/SpriteAtlas.js"></script>
  26. <script src="./js/main.js"></script>
  27. <script src="./js/editor.js"></script>
  28. </body>
  29. </html>