Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Sbox_tracingLetters
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
Sbox_tracingLetters
Commits
c68428e2
Commit
c68428e2
authored
Dec 15, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
2c0d217e
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
568 additions
and
344 deletions
+568
-344
prefab_big_j.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_j.prefab
+14
-14
prefab_big_o.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_o.prefab
+5
-5
prefab_big_p.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_p.prefab
+4
-4
prefab_big_q.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_q.prefab
+238
-127
prefab_big_s.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_s.prefab
+5
-5
prefab_big_u.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_u.prefab
+5
-5
prefab_big_y.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_y.prefab
+12
-12
prefab_big_z.prefab
play/assets/tmpGame/prefabs/letter_big/prefab_big_z.prefab
+7
-7
prefab_small_g.prefab
...assets/tmpGame/prefabs/letter_small/prefab_small_g.prefab
+8
-8
prefab_small_m.prefab
...assets/tmpGame/prefabs/letter_small/prefab_small_m.prefab
+1
-1
prefab_small_n.prefab
...assets/tmpGame/prefabs/letter_small/prefab_small_n.prefab
+8
-8
prefab_small_q.prefab
...assets/tmpGame/prefabs/letter_small/prefab_small_q.prefab
+234
-123
n_xuan1.fire
play/assets/tmpGame/scene/n_xuan1.fire
+22
-22
n_xuan1.js
play/assets/tmpGame/scene/n_xuan1.js
+4
-1
defaultData.js
play/assets/tmpGame/script/defaultData.js
+1
-2
No files found.
play/assets/tmpGame/prefabs/letter_big/prefab_big_j.prefab
View file @
c68428e2
...
@@ -754,7 +754,7 @@
...
@@ -754,7 +754,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
107.723,
107.723,
23
2
.27,
23
9
.27,
0,
0,
0,
0,
0,
0,
...
@@ -860,8 +860,8 @@
...
@@ -860,8 +860,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
1
09
.101,
1
10
.101,
1
59
.236,
1
63
.236,
0,
0,
0,
0,
0,
0,
...
@@ -967,8 +967,8 @@
...
@@ -967,8 +967,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
11
3
.235,
11
1
.235,
7
7.935,
8
7.935,
0,
0,
0,
0,
0,
0,
...
@@ -1181,7 +1181,7 @@
...
@@ -1181,7 +1181,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
11
1
.857,
11
2
.857,
-61.242,
-61.242,
0,
0,
0,
0,
...
@@ -1288,8 +1288,8 @@
...
@@ -1288,8 +1288,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
10
7
.723,
10
5
.723,
-14
2
.543,
-14
1
.543,
0,
0,
0,
0,
0,
0,
...
@@ -1395,8 +1395,8 @@
...
@@ -1395,8 +1395,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
72
.582,
69
.582,
-20
8
.947,
-20
6
.947,
0,
0,
0,
0,
0,
0,
...
@@ -1503,7 +1503,7 @@
...
@@ -1503,7 +1503,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-4.877,
-4.877,
-2
32
.779,
-2
29
.779,
0,
0,
0,
0,
0,
0,
...
@@ -1609,8 +1609,8 @@
...
@@ -1609,8 +1609,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-7
3
.171,
-7
5
.171,
-20
2
.681,
-20
1
.681,
0,
0,
0,
0,
0,
0,
...
@@ -1716,7 +1716,7 @@
...
@@ -1716,7 +1716,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-11
2
.943,
-11
3
.943,
-140.639,
-140.639,
0,
0,
0,
0,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_o.prefab
View file @
c68428e2
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "DrawGraphyNodeBase",
"_name": "DrawGraphyNodeBase
_0
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
"__id__": 5
...
@@ -348,8 +348,8 @@
...
@@ -348,8 +348,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -357,8 +357,8 @@
...
@@ -357,8 +357,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_p.prefab
View file @
c68428e2
...
@@ -351,8 +351,8 @@
...
@@ -351,8 +351,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -360,8 +360,8 @@
...
@@ -360,8 +360,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_q.prefab
View file @
c68428e2
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/prefabs/letter_big/prefab_big_s.prefab
View file @
c68428e2
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "DrawGraphyNodeBase",
"_name": "DrawGraphyNodeBase
_0
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
"__id__": 5
...
@@ -348,8 +348,8 @@
...
@@ -348,8 +348,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -357,8 +357,8 @@
...
@@ -357,8 +357,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_u.prefab
View file @
c68428e2
...
@@ -269,7 +269,7 @@
...
@@ -269,7 +269,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "DrawGraphyNodeBase",
"_name": "DrawGraphyNodeBase
_0
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 5
"__id__": 5
...
@@ -348,8 +348,8 @@
...
@@ -348,8 +348,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -357,8 +357,8 @@
...
@@ -357,8 +357,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_y.prefab
View file @
c68428e2
...
@@ -1525,8 +1525,8 @@
...
@@ -1525,8 +1525,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
15
7
.328,
15
4
.328,
2
53
.053,
2
47
.053,
0,
0,
0,
0,
0,
0,
...
@@ -1632,8 +1632,8 @@
...
@@ -1632,8 +1632,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
1
23.121
,
1
19.12099999999998
,
18
4
.008,
18
3
.008,
0,
0,
0,
0,
0,
0,
...
@@ -1739,8 +1739,8 @@
...
@@ -1739,8 +1739,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
88
.914,
79
.914,
11
3
.414,
11
6
.414,
0,
0,
0,
0,
0,
0,
...
@@ -1846,8 +1846,8 @@
...
@@ -1846,8 +1846,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
51
.873,
44
.873,
47
.084,
50
.084,
0,
0,
0,
0,
0,
0,
...
@@ -2167,7 +2167,7 @@
...
@@ -2167,7 +2167,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
2.55
8,
0.557999999999999
8,
-78.331,
-78.331,
0,
0,
0,
0,
...
@@ -2274,7 +2274,7 @@
...
@@ -2274,7 +2274,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
2.623
,
0.6230000000000002
,
-138.022,
-138.022,
0,
0,
0,
0,
...
@@ -2381,7 +2381,7 @@
...
@@ -2381,7 +2381,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
2.817
,
0.8170000000000002
,
-197.453,
-197.453,
0,
0,
0,
0,
...
@@ -2488,7 +2488,7 @@
...
@@ -2488,7 +2488,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
1.924
,
-0.07600000000000007
,
-254.853,
-254.853,
0,
0,
0,
0,
...
...
play/assets/tmpGame/prefabs/letter_big/prefab_big_z.prefab
View file @
c68428e2
...
@@ -1644,7 +1644,7 @@
...
@@ -1644,7 +1644,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
90
.686,
88
.686,
174.24,
174.24,
0,
0,
0,
0,
...
@@ -1751,7 +1751,7 @@
...
@@ -1751,7 +1751,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
5
6
.534,
5
3
.534,
113.354,
113.354,
0,
0,
0,
0,
...
@@ -1858,7 +1858,7 @@
...
@@ -1858,7 +1858,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
21
.286,
18
.286,
56.866,
56.866,
0,
0,
0,
0,
...
@@ -1965,7 +1965,7 @@
...
@@ -1965,7 +1965,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-1
2
.376,
-1
5
.376,
-0.622,
-0.622,
0,
0,
0,
0,
...
@@ -2072,7 +2072,7 @@
...
@@ -2072,7 +2072,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
47
.418,
-
53
.418,
-61.508,
-61.508,
0,
0,
0,
0,
...
@@ -2179,7 +2179,7 @@
...
@@ -2179,7 +2179,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-8
2
.294,
-8
6
.294,
-116.793,
-116.793,
0,
0,
0,
0,
...
@@ -2891,7 +2891,7 @@
...
@@ -2891,7 +2891,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "NodePos_2_
1
",
"_name": "NodePos_2_
4
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 23
"__id__": 23
...
...
play/assets/tmpGame/prefabs/letter_small/prefab_small_g.prefab
View file @
c68428e2
...
@@ -351,8 +351,8 @@
...
@@ -351,8 +351,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -360,8 +360,8 @@
...
@@ -360,8 +360,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
@@ -459,8 +459,8 @@
...
@@ -459,8 +459,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -468,8 +468,8 @@
...
@@ -468,8 +468,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_small/prefab_small_m.prefab
View file @
c68428e2
...
@@ -1556,7 +1556,7 @@
...
@@ -1556,7 +1556,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-226.554,
-226.554,
163.09
,
-163.86
,
0,
0,
0,
0,
0,
0,
...
...
play/assets/tmpGame/prefabs/letter_small/prefab_small_n.prefab
View file @
c68428e2
...
@@ -351,8 +351,8 @@
...
@@ -351,8 +351,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -360,8 +360,8 @@
...
@@ -360,8 +360,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
@@ -459,8 +459,8 @@
...
@@ -459,8 +459,8 @@
"_strokeColor": {
"_strokeColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_lineJoin": 1,
"_lineJoin": 1,
...
@@ -468,8 +468,8 @@
...
@@ -468,8 +468,8 @@
"_fillColor": {
"_fillColor": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
105
,
"g":
208
,
"b":
158
,
"b":
47
,
"a": 255
"a": 255
},
},
"_miterLimit": 60,
"_miterLimit": 60,
...
...
play/assets/tmpGame/prefabs/letter_small/prefab_small_q.prefab
View file @
c68428e2
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/scene/n_xuan1.fire
View file @
c68428e2
...
@@ -186,7 +186,7 @@
...
@@ -186,7 +186,7 @@
"array": [
"array": [
0,
0,
0,
0,
52
7.4094709047232
,
52
5.6701448892809
,
0,
0,
0,
0,
0,
0,
...
@@ -5221,7 +5221,7 @@
...
@@ -5221,7 +5221,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
6eeRcpNLhAjoz3ljEI1O9r
"
"_id": "
ecsuSvkLtI64IZFtMwx092
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -5257,7 +5257,7 @@
...
@@ -5257,7 +5257,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
45gwg1zndPDJFOvyCtCfIe
"
"_id": "
f3eoQc0z9NgZyHen4wK5J6
"
},
},
{
{
"__type__": "cc.PrivateNode",
"__type__": "cc.PrivateNode",
...
@@ -5320,7 +5320,7 @@
...
@@ -5320,7 +5320,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
25DbxVFI9OJrSk88JxZB8G
"
"_id": "
c7SUujrB1EvLW7VLrBAmTZ
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -5356,7 +5356,7 @@
...
@@ -5356,7 +5356,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
e4DRltzhpOfYXjnrXl5OOH
"
"_id": "
3aJtAtiYVDcKJTsZI5lOuK
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -7404,9 +7404,9 @@
...
@@ -7404,9 +7404,9 @@
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 25
5
,
"r": 25
1
,
"g":
0
,
"g":
197
,
"b":
0
,
"b":
13
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -7498,9 +7498,9 @@
...
@@ -7498,9 +7498,9 @@
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
0
,
"r":
255
,
"g":
255
,
"g":
82
,
"b":
0
,
"b":
82
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -7592,9 +7592,9 @@
...
@@ -7592,9 +7592,9 @@
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
0
,
"r":
83
,
"g":
0
,
"g":
212
,
"b": 2
55
,
"b": 2
44
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -7686,9 +7686,9 @@
...
@@ -7686,9 +7686,9 @@
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
0
,
"r":
157
,
"g": 25
5
,
"g": 25
0
,
"b":
255
,
"b":
36
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -7781,8 +7781,8 @@
...
@@ -7781,8 +7781,8 @@
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r": 255,
"r": 255,
"g":
0
,
"g":
82
,
"b":
255
,
"b":
82
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
@@ -7874,9 +7874,9 @@
...
@@ -7874,9 +7874,9 @@
"_opacity": 255,
"_opacity": 255,
"_color": {
"_color": {
"__type__": "cc.Color",
"__type__": "cc.Color",
"r":
255
,
"r":
83
,
"g": 2
55
,
"g": 2
12
,
"b":
0
,
"b":
244
,
"a": 255
"a": 255
},
},
"_contentSize": {
"_contentSize": {
...
...
play/assets/tmpGame/scene/n_xuan1.js
View file @
c68428e2
...
@@ -733,7 +733,6 @@ cc.Class({
...
@@ -733,7 +733,6 @@ cc.Class({
},
},
createArrows
(
endNode
,
lastNode
,
skipIdx
,
stepIdx
,
idx
)
{
createArrows
(
endNode
,
lastNode
,
skipIdx
,
stepIdx
,
idx
)
{
let
letterNodeBase
=
cc
.
find
(
`Canvas/letterNodeBase`
)
let
letterNodeBase
=
cc
.
find
(
`Canvas/letterNodeBase`
)
const
lineVec2
=
cc
.
v2
(
endNode
.
x
-
lastNode
.
x
,
endNode
.
y
-
lastNode
.
y
);
const
lineVec2
=
cc
.
v2
(
endNode
.
x
-
lastNode
.
x
,
endNode
.
y
-
lastNode
.
y
);
const
lineLength
=
lineVec2
.
mag
();
const
lineLength
=
lineVec2
.
mag
();
...
@@ -742,7 +741,11 @@ cc.Class({
...
@@ -742,7 +741,11 @@ cc.Class({
if
(
skipIdx
!=
idx
)
{
if
(
skipIdx
!=
idx
)
{
continue
;
continue
;
}
}
const
arrowPrefab
=
cc
.
instantiate
(
this
.
arrowPrefab
);
const
arrowPrefab
=
cc
.
instantiate
(
this
.
arrowPrefab
);
if
(
stepIdx
%
2
==
1
)
{
arrowPrefab
.
active
=
false
;
}
arrowPrefab
.
x
=
lastNode
.
x
+
lineVec2
.
x
*
(
k
+
1
)
/
(
arrowNumber
+
1
);
arrowPrefab
.
x
=
lastNode
.
x
+
lineVec2
.
x
*
(
k
+
1
)
/
(
arrowNumber
+
1
);
arrowPrefab
.
y
=
lastNode
.
y
+
lineVec2
.
y
*
(
k
+
1
)
/
(
arrowNumber
+
1
);
arrowPrefab
.
y
=
lastNode
.
y
+
lineVec2
.
y
*
(
k
+
1
)
/
(
arrowNumber
+
1
);
arrowPrefab
.
angle
=
cc
.
v2
(
1
,
0
).
signAngle
(
lineVec2
)
*
180
/
Math
.
PI
;
arrowPrefab
.
angle
=
cc
.
v2
(
1
,
0
).
signAngle
(
lineVec2
)
*
180
/
Math
.
PI
;
...
...
play/assets/tmpGame/script/defaultData.js
View file @
c68428e2
module
.
exports
=
{
module
.
exports
=
{
letterList
:
[
letterList
:
[
'
K
'
,
'
a
'
,
'
b
'
,
'
c
'
'
L
'
]
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment