Проверка мегаJson
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.

31 lines
685B

  1. мир.настройки = {
  2. type: Phaser.AUTO,
  3. width: 800,
  4. height: 600,
  5. backgroundColor: 0xfbfbfb,
  6. scale: {
  7. width: 800,
  8. height: 600,
  9. parent: document.getElementById("родитель"),
  10. mode: Phaser.Scale.ENVELOP,
  11. autoCenter: Phaser.Scale.CENTER_BOTH,
  12. },
  13. physics: {
  14. default: "matter",
  15. matter: {
  16. gravity: {
  17. y: 2,
  18. },
  19. debug: {
  20. showBody: true,
  21. showStaticBody: true,
  22. },
  23. },
  24. },
  25. scene: {
  26. preload: function() { },
  27. create: function() { },
  28. update: function() { },
  29. },
  30. };