Проверить Matter.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 line
1.2KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <title>mjs</title>
  6. <script src="https://cdn.jsdelivr.net/npm/matter-js@0.17.1/build/matter.min.js"></script>
  7. <style>
  8. html, body {
  9. margin: 0;
  10. padding: 0;
  11. overflow: hidden;
  12. }
  13. body {
  14. height: 100vh;
  15. width: 100vw;
  16. }
  17. #корень {
  18. position: relative;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <div id="корень"></div>
  24. <script src="00100.мир.js"></script>
  25. <script src="00110.заголовок.js"></script>
  26. <script src="00120.физика.js"></script>
  27. <script src="00125.изображения.js"></script>
  28. <script src="00130.объекты.js"></script>
  29. <script src="00140.ввод.js"></script>
  30. <script src="00150.игрок.js"></script>
  31. <script src="01000.пуск.js"></script>
  32. <script src="01300.пример.json.js"></script>
  33. <script src="02000.обновление.js"></script>
  34. </body>
  35. </html>