Configure.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. var config = {
  2. obstacleType: {
  3. circle0: 0,
  4. translation: 1,
  5. circle2: 2,
  6. circle3: 3,
  7. circle1: 4,
  8. square: 5,
  9. },
  10. obstacleProperty: [{
  11. rotAngle: 360,
  12. rotTime: 6,
  13. addY: -100
  14. },
  15. {
  16. moveDistance: 100,
  17. moveTime: 0.5,
  18. addY: 0, //300
  19. },
  20. {
  21. rotAngle: 360,
  22. rotTime: 6,
  23. addY: 0 //400
  24. },
  25. {
  26. rotAngle: 360,
  27. rotTime: 6,
  28. addY: 550 //640
  29. },
  30. {
  31. rotAngle: 360,
  32. rotTime: 6,
  33. addY: -100
  34. },
  35. {
  36. rotAngle: 360,
  37. rotTime: 6,
  38. addY: 250,
  39. },
  40. ],
  41. obstacleProperty2: [{
  42. rotAngle: 360,
  43. rotTime: 4,
  44. addY: -100
  45. },
  46. {
  47. moveDistance: 100,
  48. moveTime: 0.25,
  49. addY: 0, //300
  50. },
  51. {
  52. rotAngle: 360,
  53. rotTime: 4,
  54. addY: 0 //400
  55. },
  56. {
  57. rotAngle: 360,
  58. rotTime: 4,
  59. addY: 550 //640
  60. },
  61. {
  62. rotAngle: 360,
  63. rotTime: 4,
  64. addY: -100
  65. },
  66. {
  67. rotAngle: 360,
  68. rotTime: 4,
  69. addY: 250,
  70. },
  71. ],
  72. ColorTypePath: [
  73. "textures/bg_purple",
  74. "textures/bg_blue",
  75. "textures/bg_red",
  76. "textures/bg_greeb"
  77. ],
  78. buDingTypePath: [
  79. [
  80. "textures/btn_purplepudding",
  81. "textures/btn_bluepudding",
  82. "textures/btn_redpd",
  83. "textures/btn_greenpd"
  84. ],
  85. [
  86. "textures/btn_greenpd2",
  87. "textures/btn_greenpd2",
  88. "textures/btn_greenpd2",
  89. "textures/btn_greenpd2"
  90. ],
  91. [
  92. "textures/btn_greenpd3",
  93. "textures/btn_greenpd3",
  94. "textures/btn_greenpd3",
  95. "textures/btn_greenpd3"
  96. ],
  97. [
  98. "textures/btn_redpd4",
  99. "textures/btn_redpd4",
  100. "textures/btn_redpd4",
  101. "textures/btn_redpd4"
  102. ]
  103. ],
  104. obstacleTypePath: [
  105. "prefabs/CircleMode0",
  106. "prefabs/TranslationType",
  107. "prefabs/CircleMode2",
  108. "prefabs/CircleMode3",
  109. "prefabs/CircleMode1",
  110. "prefabs/SquareMode",
  111. ],
  112. animName: [
  113. [
  114. "c1",
  115. "c2",
  116. "c3",
  117. "zz1"
  118. ],
  119. [
  120. "d1",
  121. "d2",
  122. "d3",
  123. "zz1"
  124. ],
  125. [
  126. "a1",
  127. "a2",
  128. "a3",
  129. "zz1"
  130. ],
  131. [
  132. "b1",
  133. "b2",
  134. "b3",
  135. "zz1"
  136. ],
  137. ],
  138. skinTypePath: [
  139. "textures/btn_purplepudding",
  140. "textures/btn_bluepudding",
  141. "textures/btn_redpd",
  142. "textures/btn_greenpd"
  143. ],
  144. skinCondition: [{},
  145. {
  146. score: 5,
  147. scoreType: 0
  148. },
  149. {
  150. score: 20,
  151. scoreType: 0
  152. },
  153. {
  154. score: 50,
  155. scoreType: 1
  156. },
  157. ]
  158. }
  159. module.exports = config;