Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
middleLayer_for_NJ
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
middleLayer_for_NJ
Commits
00d9c424
Commit
00d9c424
authored
May 26, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
998f34cc
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1209 additions
and
6 deletions
+1209
-6
star_ske.json
assets/middleLayer_for_NJ/dragonBones/star_ske.json
+1
-0
star_ske.json.meta
assets/middleLayer_for_NJ/dragonBones/star_ske.json.meta
+5
-0
star_tex.json
assets/middleLayer_for_NJ/dragonBones/star_tex.json
+1
-0
star_tex.json.meta
assets/middleLayer_for_NJ/dragonBones/star_tex.json.meta
+5
-0
star_tex.png
assets/middleLayer_for_NJ/dragonBones/star_tex.png
+0
-0
star_tex.png.meta
assets/middleLayer_for_NJ/dragonBones/star_tex.png.meta
+36
-0
middleLayer_for_NJ.fire
assets/middleLayer_for_NJ/scene/middleLayer_for_NJ.fire
+946
-2
middleLayer.ts
assets/middleLayer_for_NJ/script/middleLayer.ts
+39
-4
拼读小伙伴背后转光.png
assets/middleLayer_for_NJ/textures/拼读小伙伴背后转光.png
+0
-0
拼读小伙伴背后转光.png.meta
assets/middleLayer_for_NJ/textures/拼读小伙伴背后转光.png.meta
+37
-0
layout.editor.json
packages/local/layout.editor.json
+111
-0
local.json
packages/local/local.json
+6
-0
node-library.json
packages/local/node-library.json
+6
-0
node-tree-state.json
packages/local/node-tree-state.json
+16
-0
No files found.
assets/middleLayer_for_NJ/dragonBones/star_ske.json
0 → 100644
View file @
00d9c424
This diff is collapsed.
Click to expand it.
assets/middleLayer_for_NJ/dragonBones/star_ske.json.meta
0 → 100644
View file @
00d9c424
{
"ver": "1.0.1",
"uuid": "304c8042-dfa5-44bf-9ef9-8889c921a013",
"subMetas": {}
}
\ No newline at end of file
assets/middleLayer_for_NJ/dragonBones/star_tex.json
0 → 100644
View file @
00d9c424
{
"width"
:
2048
,
"SubTexture"
:[{
"width"
:
1280
,
"y"
:
1
,
"height"
:
720
,
"name"
:
"从中间往四周炸星星停留1s后消失/背景"
,
"x"
:
1
},{
"width"
:
127
,
"y"
:
879
,
"height"
:
123
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星"
,
"x"
:
1
},{
"width"
:
72
,
"y"
:
952
,
"height"
:
69
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_13"
,
"x"
:
817
},{
"width"
:
46
,
"y"
:
963
,
"height"
:
44
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_17"
,
"x"
:
571
},{
"width"
:
46
,
"y"
:
955
,
"height"
:
44
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_18"
,
"x"
:
738
},{
"width"
:
46
,
"y"
:
971
,
"height"
:
44
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_19"
,
"x"
:
381
},{
"width"
:
46
,
"y"
:
956
,
"height"
:
44
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_20"
,
"x"
:
658
},{
"width"
:
77
,
"y"
:
879
,
"height"
:
74
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_14"
,
"x"
:
738
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝"
,
"x"
:
1
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_2"
,
"x"
:
806
},{
"width"
:
124
,
"y"
:
879
,
"height"
:
120
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_3"
,
"x"
:
130
},{
"width"
:
85
,
"y"
:
879
,
"height"
:
82
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_15"
,
"x"
:
571
},{
"width"
:
73
,
"y"
:
879
,
"height"
:
71
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_16"
,
"x"
:
817
},{
"width"
:
93
,
"y"
:
879
,
"height"
:
90
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_5"
,
"x"
:
476
},{
"width"
:
93
,
"y"
:
879
,
"height"
:
90
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_6"
,
"x"
:
381
},{
"width"
:
78
,
"y"
:
879
,
"height"
:
75
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_7"
,
"x"
:
658
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_12"
,
"x"
:
162
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_9"
,
"x"
:
484
},{
"width"
:
123
,
"y"
:
879
,
"height"
:
119
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_10"
,
"x"
:
256
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_11"
,
"x"
:
645
},{
"width"
:
159
,
"y"
:
723
,
"height"
:
154
,
"name"
:
"从中间往四周炸星星停留1s后消失/发光星星_拷贝_8"
,
"x"
:
323
}],
"height"
:
1024
,
"name"
:
"star"
,
"imagePath"
:
"star_tex.png"
}
\ No newline at end of file
assets/middleLayer_for_NJ/dragonBones/star_tex.json.meta
0 → 100644
View file @
00d9c424
{
"ver": "1.0.1",
"uuid": "060ce59e-6380-447a-ac67-75270cbf6a8a",
"subMetas": {}
}
\ No newline at end of file
assets/middleLayer_for_NJ/dragonBones/star_tex.png
0 → 100644
View file @
00d9c424
185 KB
assets/middleLayer_for_NJ/dragonBones/star_tex.png.meta
0 → 100644
View file @
00d9c424
{
"ver": "2.3.5",
"uuid": "3ab2811e-fc4a-499f-9601-686c6d823253",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 1024,
"platformSettings": {},
"subMetas": {
"star_tex": {
"ver": "1.0.4",
"uuid": "7ac379af-44e9-417c-bfbe-21d1a586c798",
"rawTextureUuid": "3ab2811e-fc4a-499f-9601-686c6d823253",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -383,
"offsetY": 1,
"trimX": 1,
"trimY": 1,
"width": 1280,
"height": 1020,
"rawWidth": 2048,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/middleLayer_for_NJ/scene/middleLayer_for_NJ.fire
View file @
00d9c424
This diff is collapsed.
Click to expand it.
assets/middleLayer_for_NJ/script/middleLayer.ts
View file @
00d9c424
import
{
initAir
}
from
"
./air
"
;
import
{
middleLayerBase
}
from
"
./middleLayerBase
"
;
import
{
buttonOnceClick
,
buttonOnClick
}
from
"
./util
"
;
import
{
asyncLoadDragonBoneAnime
,
buttonOnceClick
,
buttonOnClick
}
from
"
./util
"
;
const
{
ccclass
,
property
}
=
cc
.
_decorator
;
...
...
@@ -74,12 +74,42 @@ export default class NewClass extends middleLayerBase {
// 如果是part 的最后一页课件,播放获得拼读小伙的动画
if
(
this
.
courseIndex
==
this
.
courses
.
length
-
1
)
{
this
.
playGetParterAnim
();
await
this
.
playGetParterAnim
();
}
// 如果是最后一个part,要解锁下一个文件夹
}
playGetParterAnim
()
{
async
playGetParterAnim
()
{
// const animData = this.getData('NJ_game_select: partnerData');
const
animData
=
{
havePic
:
"
http://staging-teach.cdn.ireadabc.com/7a23e43f8ec4964e3feb9709ec553fd4.png
"
,
skeJsonData
:
{
url
:
"
http://staging-teach.cdn.ireadabc.com/5069b9316d9b69705281752f03b47901.json
"
,
name
:
"
mao_ske.json
"
},
texJsonData
:
{
url
:
"
http://staging-teach.cdn.ireadabc.com/3bbb72fd8ad3c02aa1df8d3785f4b34f.json
"
,
name
:
"
mao_tex.json
"
},
texPngData
:
{
url
:
"
http://staging-teach.cdn.ireadabc.com/c130de476dac5e9bbd71f92b2711d3ba.png
"
,
name
:
"
mao_tex.png
"
},
}
console
.
log
(
this
.
node
.
width
);
console
.
log
(
this
.
node
.
height
);
const
coolcat
=
cc
.
find
(
'
middleLayer/coolcat
'
);
await
asyncLoadDragonBoneAnime
(
coolcat
,
animData
);
const
animaNode
=
coolcat
[
'
animaNode
'
];
animaNode
.
scale
=
0.6
;
animaNode
.
getComponent
(
dragonBones
.
ArmatureDisplay
).
playAnimation
(
'
normal
'
,
-
1
);
const
widget
:
cc
.
Widget
=
animaNode
.
addComponent
(
cc
.
Widget
);
widget
.
isAlignBottom
=
true
;
widget
.
isAlignRight
=
true
;
widget
.
right
=
600
;
widget
.
bottom
=
340
;
coolcat
.
active
=
true
;
// animData.havePic
}
hideWaitingLetters
()
{
cc
.
find
(
'
middleLayer/loadingLayer
'
).
active
=
false
;
...
...
@@ -144,6 +174,11 @@ export default class NewClass extends middleLayerBase {
}
this
.
initListener
();
setTimeout
(()
=>
{
console
.
log
(
'
playGetParterAnim
'
);
this
.
playGetParterAnim
();
},
4000
);
}
initListener
()
{
...
...
assets/middleLayer_for_NJ/textures/拼读小伙伴背后转光.png
0 → 100644
View file @
00d9c424
249 KB
assets/middleLayer_for_NJ/textures/拼读小伙伴背后转光.png.meta
0 → 100644
View file @
00d9c424
{
"ver": "2.3.5",
"uuid": "a9b74b58-7019-49b6-9bd5-95370d7f960f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 576,
"height": 576,
"platformSettings": {},
"subMetas": {
"拼读小伙伴背后转光": {
"ver": "1.0.4",
"uuid": "45d79668-f606-4017-a94e-55644dc93641",
"rawTextureUuid": "a9b74b58-7019-49b6-9bd5-95370d7f960f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 576,
"height": 576,
"rawWidth": 576,
"rawHeight": 576,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
packages/local/layout.editor.json
0 → 100644
View file @
00d9c424
{
"version"
:
"1.1.1"
,
"windows"
:
{
"main"
:
{
"main"
:
true
,
"url"
:
"app://editor/index.html"
,
"windowType"
:
"dockable"
,
"x"
:
0
,
"y"
:
23
,
"width"
:
1680
,
"height"
:
1027
,
"layout"
:
{
"type"
:
"dock-h"
,
"children"
:
[
{
"width"
:
283
,
"height"
:
948
,
"type"
:
"dock-v"
,
"children"
:
[
{
"width"
:
283
,
"height"
:
401
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"hierarchy"
]
},
{
"width"
:
283
,
"height"
:
544
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"assets"
]
}
]
},
{
"width"
:
1065
,
"height"
:
948
,
"type"
:
"dock-v"
,
"children"
:
[
{
"width"
:
1065
,
"height"
:
678.984375
,
"type"
:
"dock-h"
,
"children"
:
[
{
"width"
:
785.734375
,
"height"
:
678.984375
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"scene"
]
},
{
"width"
:
276.265625
,
"height"
:
678.984375
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"node-library"
]
}
]
},
{
"width"
:
1065
,
"height"
:
266
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"console"
,
"timeline"
,
"game-window"
]
}
]
},
{
"width"
:
326
,
"height"
:
948
,
"type"
:
"panel"
,
"active"
:
0
,
"children"
:
[
"inspector"
,
"cocos-services"
]
}
]
},
"panels"
:
[
"hierarchy"
,
"assets"
,
"scene"
,
"node-library"
,
"console"
,
"timeline"
,
"game-window"
,
"inspector"
,
"cocos-services"
]
},
"worker"
:
{}
},
"panels"
:
{},
"panelLabelWidth"
:
{}
}
packages/local/local.json
0 → 100644
View file @
00d9c424
{
"last-edit"
:
"0737ce42-24f0-45c6-8e1a-8bdab4f74ba3"
,
"recent-items"
:
[
"0737ce42-24f0-45c6-8e1a-8bdab4f74ba3"
]
}
packages/local/node-library.json
0 → 100644
View file @
00d9c424
{
"user"
:
{
"name"
:
"User"
,
"prefab"
:
[]
}
}
packages/local/node-tree-state.json
0 → 100644
View file @
00d9c424
{
"nodeFoldStates"
:
[
"eezEZLXWtMaq/uGQHUptlc"
,
"9bLfcYeeNKrr524vzWchiM"
,
"53LUHHG2pEr79fyrvazXJs"
,
"d9f+b0lmZGSJJae6zrADhp"
,
"a5esZu+45LA5mBpvttspPD"
,
"6caZQRGatDJJMWpck1fhab"
,
"129LljDQdMwInPkc014det"
,
"dakzXgcFFDe7XQsi8SiYG5"
,
"bc+NX8srtGCpx8x3MHUErI"
,
"24Zl1MP11Mt6VlqPvlG3rl"
,
"0f1T6DNhBOHY8hHqUk9ZAE"
,
"93uSl1NwFDwIOXrw1DgVsg"
]
}
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