Browse Source

Merge branch 'master' of http://zhi-edu.com:3000/lan/zedu_client

HYX 2 years ago
parent
commit
762d954dc1
100 changed files with 991 additions and 78 deletions
  1. BIN
      assets/animation/232_10_2.png
  2. 36 0
      assets/animation/232_10_2.png.meta
  3. 2 2
      assets/gameHome/texture/HomeMainUI/btnChildSeme.png.meta
  4. 1 1
      assets/gameHome/texture/HomeMainUI/btnSemeBg.png.meta
  5. 920 47
      assets/scene/Editor.fire
  6. 1 0
      assets/script/ui/Editor.ts
  7. 4 1
      assets/script/ui/gameMode/BaseGameUI.ts
  8. BIN
      doimg/gameHome/231_10_1.png
  9. BIN
      doimg/gameHome/231_10_10.png
  10. BIN
      doimg/gameHome/231_10_11.png
  11. BIN
      doimg/gameHome/231_10_12.png
  12. BIN
      doimg/gameHome/231_10_13.png
  13. BIN
      doimg/gameHome/231_10_14.png
  14. BIN
      doimg/gameHome/231_10_15.png
  15. BIN
      doimg/gameHome/231_10_2.png
  16. BIN
      doimg/gameHome/231_10_3.png
  17. BIN
      doimg/gameHome/231_10_4.png
  18. BIN
      doimg/gameHome/231_10_5.png
  19. BIN
      doimg/gameHome/231_10_6.png
  20. BIN
      doimg/gameHome/231_10_7.png
  21. BIN
      doimg/gameHome/231_10_8.png
  22. BIN
      doimg/gameHome/231_10_9.png
  23. BIN
      doimg/gameHome/231_9_1.png
  24. BIN
      doimg/gameHome/231_9_13.png
  25. BIN
      doimg/gameHome/231_9_13_e.png
  26. BIN
      doimg/gameHome/231_9_1_e.png
  27. BIN
      doimg/gameHome/231_9_2.png
  28. BIN
      doimg/gameHome/231_9_2_e.png
  29. BIN
      doimg/gameHome/231_9_3.png
  30. BIN
      doimg/gameHome/231_9_3_e.png
  31. BIN
      doimg/gameHome/231_9_4.png
  32. BIN
      doimg/gameHome/231_9_4_e.png
  33. BIN
      doimg/gameHome/231_9_5.png
  34. BIN
      doimg/gameHome/231_9_5_e.png
  35. BIN
      doimg/gameHome/231_9_6.png
  36. BIN
      doimg/gameHome/231_9_6_e.png
  37. BIN
      doimg/gameHome/231_9_7.png
  38. BIN
      doimg/gameHome/231_9_7_e.png
  39. BIN
      doimg/gameHome/231_9_9.png
  40. BIN
      doimg/gameHome/231_9_9_e.png
  41. BIN
      doimg/gameHome/232_10_1.png
  42. BIN
      doimg/gameHome/232_10_10.png
  43. BIN
      doimg/gameHome/232_10_11.png
  44. BIN
      doimg/gameHome/232_10_12.png
  45. BIN
      doimg/gameHome/232_10_13.png
  46. BIN
      doimg/gameHome/232_10_14.png
  47. BIN
      doimg/gameHome/232_10_15.png
  48. BIN
      doimg/gameHome/232_10_2.png
  49. BIN
      doimg/gameHome/232_10_3.png
  50. BIN
      doimg/gameHome/232_10_4.png
  51. BIN
      doimg/gameHome/232_10_5.png
  52. BIN
      doimg/gameHome/232_10_6.png
  53. BIN
      doimg/gameHome/232_10_7.png
  54. BIN
      doimg/gameHome/232_10_8.png
  55. BIN
      doimg/gameHome/232_10_9.png
  56. BIN
      doimg/gameHome/232_9_1.png
  57. BIN
      doimg/gameHome/232_9_10.png
  58. BIN
      doimg/gameHome/232_9_10_e.png
  59. BIN
      doimg/gameHome/232_9_11.png
  60. BIN
      doimg/gameHome/232_9_11_e.png
  61. BIN
      doimg/gameHome/232_9_13.png
  62. BIN
      doimg/gameHome/232_9_13_e.png
  63. BIN
      doimg/gameHome/232_9_14.png
  64. BIN
      doimg/gameHome/232_9_14_e.png
  65. BIN
      doimg/gameHome/232_9_15.png
  66. BIN
      doimg/gameHome/232_9_15_e.png
  67. BIN
      doimg/gameHome/232_9_1_e.png
  68. BIN
      doimg/gameHome/232_9_2.png
  69. BIN
      doimg/gameHome/232_9_2_e.png
  70. BIN
      doimg/gameHome/232_9_3.png
  71. BIN
      doimg/gameHome/232_9_3_e.png
  72. BIN
      doimg/gameHome/232_9_5.png
  73. BIN
      doimg/gameHome/232_9_5_e.png
  74. BIN
      doimg/gameHome/232_9_6.png
  75. BIN
      doimg/gameHome/232_9_6_e.png
  76. BIN
      doimg/gameHome/232_9_7.png
  77. BIN
      doimg/gameHome/232_9_7_e.png
  78. BIN
      doimg/gameHome/232_9_8.png
  79. BIN
      doimg/gameHome/232_9_8_e.png
  80. BIN
      doimg/gameHome/232_9_9.png
  81. BIN
      doimg/gameHome/232_9_9_e.png
  82. 1 1
      doimg/outPngPoints.js
  83. 4 4
      gameRes/gameHomeSeme/S231/G05/P04/data_231_5_4.json
  84. BIN
      gameRes/gameHomeSeme/S231/G05/P05/audio.mp3
  85. 1 1
      gameRes/gameHomeSeme/S231/G05/P05/audio.mp3.meta
  86. BIN
      gameRes/gameHomeSeme/S231/G06/P10/audio.mp3
  87. 1 1
      gameRes/gameHomeSeme/S231/G06/P10/audio.mp3.meta
  88. BIN
      gameRes/gameHomeSeme/S231/G06/P11/audio.mp3
  89. 1 1
      gameRes/gameHomeSeme/S231/G06/P11/audio.mp3.meta
  90. BIN
      gameRes/gameHomeSeme/S231/G06/P12/audio.mp3
  91. 1 1
      gameRes/gameHomeSeme/S231/G06/P12/audio.mp3.meta
  92. 2 2
      gameRes/gameHomeSeme/S231/G06/P12/data_231_6_12.json
  93. BIN
      gameRes/gameHomeSeme/S231/G06/P15/audio.mp3
  94. 1 1
      gameRes/gameHomeSeme/S231/G06/P15/data_231_6_15.json
  95. BIN
      gameRes/gameHomeSeme/S231/G07/P03/02.png
  96. 2 2
      gameRes/gameHomeSeme/S231/G07/P03/02.png.meta
  97. 4 4
      gameRes/gameHomeSeme/S231/G07/P03/data_231_7_3.json
  98. 5 5
      gameRes/gameHomeSeme/S231/G08/P06/data_231_8_6.json
  99. 4 4
      gameRes/gameHomeSeme/S231/G08/P07/data_231_8_7.json
  100. BIN
      gameRes/gameHomeSeme/S231/G08/P14/03.png

BIN
assets/animation/232_10_2.png


+ 36 - 0
assets/animation/232_10_2.png.meta

@@ -0,0 +1,36 @@
+{
+  "ver": "2.3.5",
+  "uuid": "88c98595-25dc-43b9-b73a-846d454a4a40",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 1280,
+  "height": 800,
+  "platformSettings": {},
+  "subMetas": {
+    "232_10_2": {
+      "ver": "1.0.4",
+      "uuid": "d61a20ac-f891-4db4-acb4-a88515e10776",
+      "rawTextureUuid": "88c98595-25dc-43b9-b73a-846d454a4a40",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -27,
+      "offsetY": -80,
+      "trimX": 505,
+      "trimY": 282,
+      "width": 216,
+      "height": 396,
+      "rawWidth": 1280,
+      "rawHeight": 800,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 2 - 2
assets/gameHome/texture/HomeMainUI/btnChildSeme.png.meta

@@ -7,8 +7,8 @@
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "packable": true,
-  "width": 127,
-  "height": 53,
+  "width": 248,
+  "height": 282,
   "platformSettings": {},
   "subMetas": {
     "btnChildSeme": {

+ 1 - 1
assets/gameHome/texture/HomeMainUI/btnSemeBg.png.meta

@@ -8,7 +8,7 @@
   "genMipmaps": false,
   "packable": true,
   "width": 248,
-  "height": 205,
+  "height": 237,
   "platformSettings": {},
   "subMetas": {
     "btnSemeBg": {

File diff suppressed because it is too large
+ 920 - 47
assets/scene/Editor.fire


+ 1 - 0
assets/script/ui/Editor.ts

@@ -218,6 +218,7 @@ export default class Editor extends cc.Component {
             if (sprite && sprite.sizeMode == cc.Sprite.SizeMode.CUSTOM) {
                 data.w = node.width.toFixed(1)
                 data.h = node.height.toFixed(1)
+                if (!sprite.trim) data.trim = sprite.trim
             }
             let layout = node.getComponent(cc.Layout)
             if (layout && layout.enabled) {

+ 4 - 1
assets/script/ui/gameMode/BaseGameUI.ts

@@ -105,7 +105,10 @@ export class BaseGameUI extends BaseUI {
                 }
 
                 if (data.w) {
-                    if (sprite) sprite.sizeMode = cc.Sprite.SizeMode.CUSTOM
+                    if (sprite) {
+                        sprite.sizeMode = cc.Sprite.SizeMode.CUSTOM
+                        if (data.trim != undefined) sprite.trim = data.trim
+                    }
                     node.width = parseFloat(data.w)
                 }
                 if (data.h) {

BIN
doimg/gameHome/231_10_1.png


BIN
doimg/gameHome/231_10_10.png


BIN
doimg/gameHome/231_10_11.png


BIN
doimg/gameHome/231_10_12.png


BIN
doimg/gameHome/231_10_13.png


BIN
doimg/gameHome/231_10_14.png


BIN
doimg/gameHome/231_10_15.png


BIN
doimg/gameHome/231_10_2.png


BIN
doimg/gameHome/231_10_3.png


BIN
doimg/gameHome/231_10_4.png


BIN
doimg/gameHome/231_10_5.png


BIN
doimg/gameHome/231_10_6.png


BIN
doimg/gameHome/231_10_7.png


BIN
doimg/gameHome/231_10_8.png


BIN
doimg/gameHome/231_10_9.png


BIN
doimg/gameHome/231_9_1.png


BIN
doimg/gameHome/231_9_13.png


BIN
doimg/gameHome/231_9_13_e.png


BIN
doimg/gameHome/231_9_1_e.png


BIN
doimg/gameHome/231_9_2.png


BIN
doimg/gameHome/231_9_2_e.png


BIN
doimg/gameHome/231_9_3.png


BIN
doimg/gameHome/231_9_3_e.png


BIN
doimg/gameHome/231_9_4.png


BIN
doimg/gameHome/231_9_4_e.png


BIN
doimg/gameHome/231_9_5.png


BIN
doimg/gameHome/231_9_5_e.png


BIN
doimg/gameHome/231_9_6.png


BIN
doimg/gameHome/231_9_6_e.png


BIN
doimg/gameHome/231_9_7.png


BIN
doimg/gameHome/231_9_7_e.png


BIN
doimg/gameHome/231_9_9.png


BIN
doimg/gameHome/231_9_9_e.png


BIN
doimg/gameHome/232_10_1.png


BIN
doimg/gameHome/232_10_10.png


BIN
doimg/gameHome/232_10_11.png


BIN
doimg/gameHome/232_10_12.png


BIN
doimg/gameHome/232_10_13.png


BIN
doimg/gameHome/232_10_14.png


BIN
doimg/gameHome/232_10_15.png


BIN
doimg/gameHome/232_10_2.png


BIN
doimg/gameHome/232_10_3.png


BIN
doimg/gameHome/232_10_4.png


BIN
doimg/gameHome/232_10_5.png


BIN
doimg/gameHome/232_10_6.png


BIN
doimg/gameHome/232_10_7.png


BIN
doimg/gameHome/232_10_8.png


BIN
doimg/gameHome/232_10_9.png


BIN
doimg/gameHome/232_9_1.png


BIN
doimg/gameHome/232_9_10.png


BIN
doimg/gameHome/232_9_10_e.png


BIN
doimg/gameHome/232_9_11.png


BIN
doimg/gameHome/232_9_11_e.png


BIN
doimg/gameHome/232_9_13.png


BIN
doimg/gameHome/232_9_13_e.png


BIN
doimg/gameHome/232_9_14.png


BIN
doimg/gameHome/232_9_14_e.png


BIN
doimg/gameHome/232_9_15.png


BIN
doimg/gameHome/232_9_15_e.png


BIN
doimg/gameHome/232_9_1_e.png


BIN
doimg/gameHome/232_9_2.png


BIN
doimg/gameHome/232_9_2_e.png


BIN
doimg/gameHome/232_9_3.png


BIN
doimg/gameHome/232_9_3_e.png


BIN
doimg/gameHome/232_9_5.png


BIN
doimg/gameHome/232_9_5_e.png


BIN
doimg/gameHome/232_9_6.png


BIN
doimg/gameHome/232_9_6_e.png


BIN
doimg/gameHome/232_9_7.png


BIN
doimg/gameHome/232_9_7_e.png


BIN
doimg/gameHome/232_9_8.png


BIN
doimg/gameHome/232_9_8_e.png


BIN
doimg/gameHome/232_9_9.png


BIN
doimg/gameHome/232_9_9_e.png


+ 1 - 1
doimg/outPngPoints.js

@@ -49,7 +49,7 @@ let outConfig = (mode) => {
                 }
                 points[pointKeys[i]] = data
             }
-            fs.writeFileSync('D:/' + gamePath[options.gameType] + '/packages/CCSceneMenu/' + mode + '/DrawImg/' + fileObj.name + '.json', JSON.stringify(points), {
+            fs.writeFileSync('../packages/CCSceneMenu/' + mode + '/DrawImg/' + fileObj.name + '.json', JSON.stringify(points), {
                     encoding: 'utf8', flag: 'w'
                 }
             )

+ 4 - 4
gameRes/gameHomeSeme/S231/G05/P04/data_231_5_4.json

@@ -6,15 +6,15 @@
   "allDur": 1,
   "node": [
     {
-      "name": "item1",
+      "name": "01",
       "tex": "01",
       "x": "907.3",
       "y": "508.5",
       "act": 1,
-      "v": "1"
+      "v": "-1"
     },
     {
-      "name": "item2",
+      "name": "02",
       "tex": "02",
       "x": "907.3",
       "y": "350.5",
@@ -22,7 +22,7 @@
       "v": "1"
     },
     {
-      "name": "item3",
+      "name": "03",
       "tex": "03",
       "x": "907.3",
       "y": "193.5",

BIN
gameRes/gameHomeSeme/S231/G05/P05/audio.mp3


+ 1 - 1
gameRes/gameHomeSeme/S231/G05/P05/audio.mp3.meta

@@ -2,6 +2,6 @@
   "ver": "2.0.1",
   "uuid": "71775409-504a-4ba4-9b13-a4eaad3f8e97",
   "downloadMode": 0,
-  "duration": 4.788,
+  "duration": 4.68,
   "subMetas": {}
 }

BIN
gameRes/gameHomeSeme/S231/G06/P10/audio.mp3


+ 1 - 1
gameRes/gameHomeSeme/S231/G06/P10/audio.mp3.meta

@@ -2,6 +2,6 @@
   "ver": "2.0.1",
   "uuid": "ff7a701a-8252-412c-941e-53af24130723",
   "downloadMode": 0,
-  "duration": 4.68,
+  "duration": 4.716,
   "subMetas": {}
 }

BIN
gameRes/gameHomeSeme/S231/G06/P11/audio.mp3


+ 1 - 1
gameRes/gameHomeSeme/S231/G06/P11/audio.mp3.meta

@@ -2,6 +2,6 @@
   "ver": "2.0.1",
   "uuid": "10e848d1-c76d-451c-a826-55e7f7029958",
   "downloadMode": 0,
-  "duration": 4.68,
+  "duration": 4.716,
   "subMetas": {}
 }

BIN
gameRes/gameHomeSeme/S231/G06/P12/audio.mp3


+ 1 - 1
gameRes/gameHomeSeme/S231/G06/P12/audio.mp3.meta

@@ -2,6 +2,6 @@
   "ver": "2.0.1",
   "uuid": "d9f497d2-d8d1-44a2-b1b9-50d227e0e52e",
   "downloadMode": 0,
-  "duration": 4.68,
+  "duration": 4.716,
   "subMetas": {}
 }

+ 2 - 2
gameRes/gameHomeSeme/S231/G06/P12/data_231_6_12.json

@@ -14,7 +14,7 @@
       "v": "-1"
     },
     {
-      "name": "01-",
+      "name": "01",
       "tex": "01",
       "x": "919.0",
       "y": "479.0",
@@ -22,7 +22,7 @@
       "v": "-1"
     },
     {
-      "name": "03",
+      "name": "03-",
       "tex": "03-",
       "x": "1081.0",
       "y": "248.0",

BIN
gameRes/gameHomeSeme/S231/G06/P15/audio.mp3


+ 1 - 1
gameRes/gameHomeSeme/S231/G06/P15/data_231_6_15.json

@@ -14,7 +14,7 @@
       "v": "1"
     },
     {
-      "name": "01-",
+      "name": "01",
       "tex": "01",
       "x": "585.4",
       "y": "212.3",

BIN
gameRes/gameHomeSeme/S231/G07/P03/02.png


+ 2 - 2
gameRes/gameHomeSeme/S231/G07/P03/02.png.meta

@@ -22,9 +22,9 @@
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 263,
+      "width": 262,
       "height": 240,
-      "rawWidth": 263,
+      "rawWidth": 262,
       "rawHeight": 240,
       "borderTop": 0,
       "borderBottom": 0,

+ 4 - 4
gameRes/gameHomeSeme/S231/G07/P03/data_231_7_3.json

@@ -6,20 +6,20 @@
   "allDur": 1,
   "node": [
     {
-      "name": "01",
+      "name": "01-",
       "tex": "01-",
       "x": "260.0",
       "y": "380.0",
       "act": 1,
-      "v": "1"
+      "v": "-1"
     },
     {
-      "name": "02-",
+      "name": "02",
       "tex": "02",
       "x": "640.0",
       "y": "380.0",
       "act": 1,
-      "v": "-1"
+      "v": "1"
     },
     {
       "name": "03",

+ 5 - 5
gameRes/gameHomeSeme/S231/G08/P06/data_231_8_6.json

@@ -16,16 +16,16 @@
     {
       "name": "02",
       "tex": "02",
-      "x": "368.0",
-      "y": "242.7",
+      "x": "616.9",
+      "y": "392.0",
       "act": 1,
       "v": "-1"
     },
     {
       "name": "03-",
       "tex": "03-",
-      "x": "605.4",
-      "y": "385.9",
+      "x": "386.7",
+      "y": "225.9",
       "act": 1,
       "v": "1"
     },
@@ -40,7 +40,7 @@
     {
       "name": "05",
       "tex": "05",
-      "x": "906.0",
+      "x": "918.4",
       "y": "463.1",
       "act": 1,
       "v": "-1"

+ 4 - 4
gameRes/gameHomeSeme/S231/G08/P07/data_231_8_7.json

@@ -24,8 +24,8 @@
     {
       "name": "03-",
       "tex": "03-",
-      "x": "605.4",
-      "y": "385.9",
+      "x": "964.5",
+      "y": "489.0",
       "act": 1,
       "v": "1"
     },
@@ -40,8 +40,8 @@
     {
       "name": "05",
       "tex": "05",
-      "x": "903.9",
-      "y": "494.6",
+      "x": "621.2",
+      "y": "428.8",
       "act": 1,
       "v": "-1"
     }

BIN
gameRes/gameHomeSeme/S231/G08/P14/03.png


Some files were not shown because too many files changed in this diff