Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ns20_jsqj
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
ns20_jsqj
Commits
f5b02bf8
Commit
f5b02bf8
authored
Nov 10, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内容上传
parent
948c401a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
84 deletions
+83
-84
NS02.fire
assets/NS02/scene/NS02.fire
+82
-82
NS02.ts
assets/NS02/scene/NS02.ts
+1
-2
No files found.
assets/NS02/scene/NS02.fire
View file @
f5b02bf8
...
...
@@ -2589,8 +2589,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
"width":
10
0,
"height":
10
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2601,8 +2601,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-6
12.956
,
1
19.871
,
-6
05.175
,
1
39.324
,
0,
0,
0,
...
...
@@ -2826,8 +2826,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2838,8 +2838,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.168
,
132.039
,
0
,
98
,
0,
0,
0,
...
...
@@ -2879,7 +2879,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2
843d8c4-1a05-4fe9-a5fb-fadd1dd7df9b
"
"__uuid__": "2
fca1379-e9c9-488f-ad2f-f249ddaa6de4
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -2897,7 +2897,7 @@
},
{
"__type__": "cc.Node",
"_name": "icon_
4
",
"_name": "icon_
5
",
"_objFlags": 0,
"_parent": {
"__id__": 57
...
...
@@ -2920,8 +2920,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -2932,8 +2932,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.168
,
132.039
,
0
,
98
,
0,
0,
0,
...
...
@@ -2955,7 +2955,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
a6GpPL19JFvpah2IqU6yF3
"
"_id": "
22yqPAlf9IGZPu+QM4S9LH
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2973,7 +2973,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
9e130b13-684f-46b7-9aaf-0f661da8fc3
8"
"__uuid__": "
381e60c0-f5e0-4ad3-93e0-ec527db1ff6
8"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -2987,11 +2987,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
0cStF4JSJNFIWcIn2jX1R4
"
"_id": "
derQB9akRIMak3OaXElA3v
"
},
{
"__type__": "cc.Node",
"_name": "icon_
5
",
"_name": "icon_
4
",
"_objFlags": 0,
"_parent": {
"__id__": 57
...
...
@@ -3014,8 +3014,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3026,8 +3026,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.168
,
132.039
,
0
,
98
,
0,
0,
0,
...
...
@@ -3049,7 +3049,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
22yqPAlf9IGZPu+QM4S9LH
"
"_id": "
a6GpPL19JFvpah2IqU6yF3
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -3067,7 +3067,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
64dc457d-758a-41b6-bbfe-bf83a8b7ead8
"
"__uuid__": "
b544783b-7264-4279-b5db-7f653435a72f
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3081,7 +3081,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
derQB9akRIMak3OaXElA3v
"
"_id": "
0cStF4JSJNFIWcIn2jX1R4
"
},
{
"__type__": "cc.Node",
...
...
@@ -3108,8 +3108,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3121,7 +3121,7 @@
"ctor": "Float64Array",
"array": [
0,
131.65
,
98
,
0,
0,
0,
...
...
@@ -3161,7 +3161,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7
76f8585-277d-4451-9373-32ed6dc1ae8
a"
"__uuid__": "7
ce58d5b-ae56-4d61-b2bf-21beeeeacfc
a"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3214,8 +3214,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.168
,
132.039
,
0
,
98
,
0,
0,
0,
...
...
@@ -3255,7 +3255,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
e0078a11-dce4-4d60-ad4d-fe0111bc40ca
"
"__uuid__": "
2db6039c-890b-4687-934e-fc97cb51b925
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3308,8 +3308,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.168
,
132.039
,
0
,
98
,
0,
0,
0,
...
...
@@ -3349,7 +3349,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
2db85b0f-0d2f-4511-96ff-6746b0666b91
"
"__uuid__": "
38008136-8895-41f4-9b3e-7545f3c3a65c
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3662,8 +3662,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3674,8 +3674,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -3697,7 +3697,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
62M0oEMRNCQKiPYyzR4C31
"
"_id": "
37w9iM7TtDrpjO4ehepKl2
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -3715,7 +3715,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2
843d8c4-1a05-4fe9-a5fb-fadd1dd7df9b
"
"__uuid__": "2
fca1379-e9c9-488f-ad2f-f249ddaa6de4
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3729,11 +3729,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
5cUaYxyRhOl7zTv4EfuXAF
"
"_id": "
25OcfggUtFN5GtPOJQ3Ln0
"
},
{
"__type__": "cc.Node",
"_name": "icon_
4
",
"_name": "icon_
5
",
"_objFlags": 0,
"_parent": {
"__id__": 74
...
...
@@ -3756,8 +3756,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3768,8 +3768,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -3791,7 +3791,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
a7pDKGH6pEe4TOy2J2dzl7
"
"_id": "
4eyiG/8rNIQ4RU3y7jS89P
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -3809,7 +3809,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
9e130b13-684f-46b7-9aaf-0f661da8fc3
8"
"__uuid__": "
381e60c0-f5e0-4ad3-93e0-ec527db1ff6
8"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3823,11 +3823,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3
2Lp9435JNLY5gHbi8OLIv
"
"_id": "3
9vz0X6aVPqbO4iC82agHa
"
},
{
"__type__": "cc.Node",
"_name": "icon_
5
",
"_name": "icon_
4
",
"_objFlags": 0,
"_parent": {
"__id__": 74
...
...
@@ -3850,8 +3850,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3862,8 +3862,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -3885,7 +3885,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
79imAdzEhOp4QQVVi7BScx
"
"_id": "
f9oDJmnYBLqKfucEFb9KPa
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -3903,7 +3903,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
64dc457d-758a-41b6-bbfe-bf83a8b7ead8
"
"__uuid__": "
b544783b-7264-4279-b5db-7f653435a72f
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -3917,7 +3917,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
5du/uCQGpIwaR3B4xloCFx
"
"_id": "
4eB+CvJzVOVq6qIvozS2wR
"
},
{
"__type__": "cc.Node",
...
...
@@ -3944,8 +3944,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3956,8 +3956,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -3979,7 +3979,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
afTq2jKt9HI4Z9x5UlqMlQ
"
"_id": "
9dLmjdBUtO67oIMvIN4039
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -3997,7 +3997,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7
76f8585-277d-4451-9373-32ed6dc1ae8
a"
"__uuid__": "7
ce58d5b-ae56-4d61-b2bf-21beeeeacfc
a"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -4011,7 +4011,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
3cX1ZFSeZItI0AvSoq7w8V
"
"_id": "
4dCgjINQlDHrSjmfze3q+q
"
},
{
"__type__": "cc.Node",
...
...
@@ -4021,7 +4021,7 @@
"__id__": 74
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 84
...
...
@@ -4038,8 +4038,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -4050,8 +4050,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -4073,7 +4073,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
5dL1HazJBM/4BB/ef2f60D
"
"_id": "
01daeBnPdA2ojuZID1wcBz
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4091,7 +4091,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
e0078a11-dce4-4d60-ad4d-fe0111bc40ca
"
"__uuid__": "
2db6039c-890b-4687-934e-fc97cb51b925
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -4105,7 +4105,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
7aiGfECANOZIGKJVCTKAfM
"
"_id": "
91iu5aampOZJqxhxZay1fA
"
},
{
"__type__": "cc.Node",
...
...
@@ -4115,7 +4115,7 @@
"__id__": 74
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 86
...
...
@@ -4132,8 +4132,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
104
,
"height":
104
"width":
61
,
"height":
61
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -4144,8 +4144,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-0.475
,
131.779
,
0
,
98
,
0,
0,
0,
...
...
@@ -4167,7 +4167,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
2bE2Pz6JVFbKFg7S8oGb3i
"
"_id": "
02fMSmlHZAboTS3D+F8XTd
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4185,7 +4185,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
2db85b0f-0d2f-4511-96ff-6746b0666b91
"
"__uuid__": "
38008136-8895-41f4-9b3e-7545f3c3a65c
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -4199,7 +4199,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
dcZxV92aJG+JVoUO90zcei
"
"_id": "
8dFABNWURApoLrPctWrqqQ
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -4772,7 +4772,7 @@
"__id__": 133
}
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 136
...
...
assets/NS02/scene/NS02.ts
View file @
f5b02bf8
...
...
@@ -68,8 +68,6 @@ export default class NewClass extends MyCocosSceneComponent {
this
.
layout_start
.
active
=
true
;
pg
.
audio
.
playAudioByUrl
(
Game
.
getIns
().
question
.
audio
);
// this.log("test initView")
this
.
initTouzi
();
this
.
initChess
();
}
initEvent
()
{
pg
.
view
.
touchOn
(
pg
.
view
.
find
(
this
.
layout_start
,
'
btn_start
'
),
this
.
onTouchStart
,
this
);
...
...
@@ -117,6 +115,7 @@ export default class NewClass extends MyCocosSceneComponent {
private
turnRobot
:
boolean
;
//当前是谁操作
private
robotLevel
:
number
;
onGameStart
()
{
this
.
initTouzi
();
this
.
log
(
"
test onGameStart
"
)
this
.
playerPoint
=
0
;
this
.
robotPoint
=
0
;
...
...
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