Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn02_danci
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
sn02_danci
Commits
08f9101b
Commit
08f9101b
authored
Sep 09, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报错修复
parent
839550a1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11560 additions
and
11548 deletions
+11560
-11548
ImgVoice_hy04_pinci.ts
assets/hy04_pinci/scene/ImgVoice_hy04_pinci.ts
+1
-1
hy04_pinci.fire
assets/hy04_pinci/scene/hy04_pinci.fire
+56
-41
hy04_pinci.ts
assets/hy04_pinci/scene/hy04_pinci.ts
+10
-15
creator.d.ts
creator.d.ts
+11493
-11491
No files found.
assets/hy04_pinci/scene/ImgVoice_hy04_pinci.ts
View file @
08f9101b
...
...
@@ -2,7 +2,7 @@
// pg.event.emit('img_voice_play_voice_end')
import
pg
from
"
.
./../scene
/pg_hy04_pinci
"
;
import
pg
from
"
./pg_hy04_pinci
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
assets/hy04_pinci/scene/hy04_pinci.fire
View file @
08f9101b
...
...
@@ -75,7 +75,7 @@
"__id__": 5
},
{
"__id__":
8
"__id__":
7
},
{
"__id__": 10
...
...
@@ -247,19 +247,16 @@
},
{
"__type__": "cc.Node",
"_name": "
bg
",
"_name": "
view_hy04_pinci
",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active":
fals
e,
"_active":
tru
e,
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
...
...
@@ -308,7 +305,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
dfr99VAB5KCYifz/T9wpbX
"
"_id": "
282bC8lUtPqaDLxhSSa9bB
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -326,7 +323,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
9498bb11-8b30-4bdb-b7e5-d389bdc6859d
"
"__uuid__": "
b8762abb-cb60-4e02-a880-34cd7a248856
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -340,38 +337,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fckUycCR1CDLWgRo+2cwRE"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "e1ScZHVExInbYo0laDI4IG"
"_id": "71Ed8kZPBOJKXzz6iYRkSh"
},
{
"__type__": "cc.Node",
"_name": "
view_hy04_pinci
",
"_name": "
bg
",
"_objFlags": 0,
"_parent": {
"__id__": 2
...
...
@@ -379,6 +349,9 @@
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 9
}
...
...
@@ -429,14 +402,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
282bC8lUtPqaDLxhSSa9bB
"
"_id": "
dfr99VAB5KCYifz/T9wpbX
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
8
"__id__":
7
},
"_enabled": true,
"_materials": [
...
...
@@ -447,7 +420,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
b8762abb-cb60-4e02-a880-34cd7a248856
"
"__uuid__": "
9498bb11-8b30-4bdb-b7e5-d389bdc6859d
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -461,7 +434,34 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "71Ed8kZPBOJKXzz6iYRkSh"
"_id": "fckUycCR1CDLWgRo+2cwRE"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "e1ScZHVExInbYo0laDI4IG"
},
{
"__type__": "cc.Node",
...
...
@@ -13779,6 +13779,21 @@
"__id__": 2
},
"_enabled": true,
"upper_shadow": {
"__id__": 177
},
"lower_shadow": {
"__id__": 71
},
"lower_word": {
"__id__": 124
},
"upper_word": {
"__id__": 230
},
"word_area": {
"__id__": 11
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
]
\ No newline at end of file
assets/hy04_pinci/scene/hy04_pinci.ts
View file @
08f9101b
import
{
asyncDelay
,
onHomeworkFinish
}
from
"
../script/util_hy04_pinci
"
;
import
{
MyCocosSceneComponent
}
from
"
../script/MyCocosSceneComponent_hy04_pinci
"
;
import
pg
from
"
./pg_hy04_pinci
"
;
import
ImgVoice
from
"
.
./common/script
/ImgVoice_hy04_pinci
"
;
import
ImgVoice
from
"
./ImgVoice_hy04_pinci
"
;
import
Candy
from
"
./hy01_candy_hy04_pinci
"
;
// 空格问题
// 尺寸大小问题
...
...
@@ -55,11 +55,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg
.
event
.
clear
();
}
// 一轮单词数量
@
property
(
cc
.
Node
)
private
upper_shadow
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
private
lower_shadow
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
private
lower_word
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
private
upper_word
:
cc
.
Node
=
null
;
@
property
(
cc
.
Node
)
private
word_area
:
cc
.
Node
;
private
upper_shadow
:
cc
.
Node
;
private
lower_shadow
:
cc
.
Node
;
private
lower_word
:
cc
.
Node
;
private
upper_word
:
cc
.
Node
;
_cantouch
=
null
;
private
list
:
Array
<
{
type
,
text
,
right
,
imgage
,
duration
,
content
,
audio
}
>
;
...
...
@@ -104,17 +109,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
res_audio
:
cc
.
Node
;
initView
()
{
this
.
layer_word
=
pg
.
view
.
find
(
this
,
'
layer_word
'
)
this
.
word_area
=
pg
.
view
.
find
(
this
.
layer_word
,
"
word_area
"
);
this
.
upper_shadow
=
pg
.
view
.
find
(
this
.
layer_word
,
"
upper_shadow
"
);
this
.
lower_shadow
=
pg
.
view
.
find
(
this
.
layer_word
,
"
lower_shadow
"
);
this
.
upper_word
=
pg
.
view
.
find
(
this
.
layer_word
,
"
upper_word
"
);
this
.
lower_word
=
pg
.
view
.
find
(
this
.
layer_word
,
"
lower_word
"
);
this
.
res_audio
=
pg
.
view
.
find
(
this
,
"
res/audio
"
)
}
initEvent
()
{
}
...
...
creator.d.ts
View file @
08f9101b
This diff is collapsed.
Click to expand it.
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