Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_game_select
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
NJ_game_select
Commits
63aeba11
Commit
63aeba11
authored
3 years ago
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 去掉返回
parent
fdd7bc49
master
v63
v62
v61
v60
v59
v58
v57
v56
v55
v51
v50
v49
v48
v47
v46
v45
v44
v43
v42
v41
v40
v39
v38
v37
v36
v35
v34
v33
v32
v31
v30
v29
v28
v27
v26
v25
v24
v23
v22
v21
v20
v19
v18
v17
v16
v15
v14
v13
v12
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
209 deletions
+3
-209
NJ_game_select.fire
assets/NJ_game_select/scene/NJ_game_select.fire
+3
-201
NJ_game_select.ts
assets/NJ_game_select/scene/NJ_game_select.ts
+0
-8
No files found.
assets/NJ_game_select/scene/NJ_game_select.fire
View file @
63aeba11
...
@@ -82,21 +82,18 @@
...
@@ -82,21 +82,18 @@
},
},
{
{
"__id__": 44
"__id__": 44
},
{
"__id__": 46
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
50
"__id__":
46
},
},
{
{
"__id__":
51
"__id__":
47
},
},
{
{
"__id__":
52
"__id__":
48
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2214,201 +2211,6 @@
...
@@ -2214,201 +2211,6 @@
"_N$enableBatch": false,
"_N$enableBatch": false,
"_id": "35loZvPalLSI4WjiOrEXmc"
"_id": "35loZvPalLSI4WjiOrEXmc"
},
},
{
"__type__": "cc.Node",
"_name": "btn_return",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
},
{
"__id__": 48
},
{
"__id__": 49
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 107,
"height": 112
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-577.9,
296.4,
0,
0,
0,
0,
1,
0.6,
0.6,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "eabZurAS5FOah+KKZEMqY0"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5c3d4fc5-e7d0-405a-b797-28098e410ad5"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "47yOUHTqBOLq9m+nQSAyTp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 9,
"_left": 30,
"_right": 0,
"_top": 30,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "54xr++HCtMVKp+8RIKWpdZ"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "11NFO7s2VChY753+VSEkzl"
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
"_name": "",
"_name": "",
...
...
This diff is collapsed.
Click to expand it.
assets/NJ_game_select/scene/NJ_game_select.ts
View file @
63aeba11
...
@@ -233,14 +233,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -233,14 +233,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
initListener
()
{
initListener
()
{
const
btn_return
=
cc
.
find
(
'
Canvas/btn_return
'
);
buttonOnClick
(
btn_return
,
()
=>
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
middleLayer
.
getComponent
(
'
middleLayer
'
)
.
loadOnlineBundle
(
'
NJ_QianShuiTing
'
);
}
},
0.6
)
}
}
asyncPlayAudioByUrl
(
url
:
string
):
Promise
<
void
>
{
asyncPlayAudioByUrl
(
url
:
string
):
Promise
<
void
>
{
...
...
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