Animation.components 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "components": [
  3. {
  4. "name": "DurationConfigComp",
  5. "displayName": "Duration Config",
  6. "baseClass": "",
  7. "gameObjectType": "any",
  8. "properties": [
  9. {
  10. "name": "duration",
  11. "label": "Duration",
  12. "tooltip": "",
  13. "defValue": 250,
  14. "customDefinition": false,
  15. "type": {
  16. "id": "number"
  17. }
  18. }
  19. ]
  20. },
  21. {
  22. "name": "EaseConfigComp",
  23. "displayName": "Ease Config",
  24. "baseClass": "",
  25. "gameObjectType": "any",
  26. "properties": [
  27. {
  28. "name": "ease",
  29. "label": "Ease",
  30. "tooltip": "",
  31. "defValue": "Linear",
  32. "customDefinition": false,
  33. "type": {
  34. "id": "option",
  35. "options": [
  36. "Power0",
  37. "Power1",
  38. "Power2",
  39. "Power3",
  40. "Power4",
  41. "Linear",
  42. "Quad",
  43. "Cubic",
  44. "Quart",
  45. "Quint",
  46. "Sine",
  47. "Expo",
  48. "Circ",
  49. "Elastic",
  50. "Back",
  51. "Bounce",
  52. "Stepped",
  53. "Quad.easeIn",
  54. "Cubic.easeIn",
  55. "Quart.easeIn",
  56. "Quint.easeIn",
  57. "Sine.easeIn",
  58. "Expo.easeIn",
  59. "Circ.easeIn",
  60. "Elastic.easeIn",
  61. "Back.easeIn",
  62. "Bounce.easeIn",
  63. "Quad.easeOut",
  64. "Cubic.easeOut",
  65. "Quart.easeOut",
  66. "Quint.easeOut",
  67. "Sine.easeOut",
  68. "Expo.easeOut",
  69. "Circ.easeOut",
  70. "Elastic.easeOut",
  71. "Back.easeOut",
  72. "Bounce.easeOut",
  73. "Quad.easeInOut",
  74. "Cubic.easeInOut",
  75. "Quart.easeInOut",
  76. "Quint.easeInOut",
  77. "Sine.easeInOut",
  78. "Expo.easeInOut",
  79. "Circ.easeInOut",
  80. "Elastic.easeInOut",
  81. "Back.easeInOut",
  82. "Bounce.easeInOut"
  83. ]
  84. }
  85. }
  86. ]
  87. },
  88. {
  89. "name": "DelayConfigComp",
  90. "displayName": "Delay Config",
  91. "baseClass": "",
  92. "gameObjectType": "any",
  93. "properties": [
  94. {
  95. "name": "delay",
  96. "label": "Delay",
  97. "tooltip": "",
  98. "defValue": 0,
  99. "customDefinition": false,
  100. "type": {
  101. "id": "number"
  102. }
  103. }
  104. ]
  105. }
  106. ],
  107. "meta": {
  108. "app": "Phaser Editor 2D - User Components Editor",
  109. "url": "https://phasereditor2d.com",
  110. "contentType": "phasereditor2d.core.scene.UserComponents"
  111. },
  112. "outputLang": "TYPE_SCRIPT",
  113. "exportClass": true,
  114. "autoImport": true
  115. }