Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
4ff090ee
Commit
4ff090ee
authored
Nov 28, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
8fc77e6c
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
588 additions
and
996 deletions
+588
-996
HomeScene.scene
assets/Bundles/HomeScene/HomeScene.scene
+98
-854
按钮.svga
assets/Bundles/HomeScene/svga/按钮.svga
+0
-0
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+336
-117
横幅.meta
assets/Bundles/MainGame/png/横幅.meta
+4
-7
无尽模式.png
assets/Bundles/MainGame/png/横幅/无尽模式.png
+0
-0
无尽模式.png.meta
assets/Bundles/MainGame/png/横幅/无尽模式.png.meta
+134
-0
点击音效.mp3
assets/Bundles/common/audio/点击音效.mp3
+0
-0
点击音效.mp3.meta
assets/Bundles/common/audio/点击音效.mp3.meta
+0
-14
PreCd.ts
assets/Scripts/Scenes/MainGame/Components/PreCd.ts
+0
-2
Target.ts
assets/Scripts/Scenes/MainGame/Components/Target.ts
+16
-2
No files found.
assets/Bundles/HomeScene/HomeScene.scene
View file @
4ff090ee
This diff is collapsed.
Click to expand it.
assets/Bundles/HomeScene/svga/按钮.svga
deleted
100644 → 0
View file @
8fc77e6c
File deleted
assets/Bundles/MainGame/MainGame.scene
View file @
4ff090ee
This diff is collapsed.
Click to expand it.
assets/Bundles/
HomeScene/svga/按钮.svga
.meta
→
assets/Bundles/
MainGame/png/横幅
.meta
View file @
4ff090ee
{
{
"ver": "1.
0
.0",
"ver": "1.
2
.0",
"importer": "
*
",
"importer": "
directory
",
"imported": true,
"imported": true,
"uuid": "2c679b37-ade6-41a4-93ca-389b32f370ee",
"uuid": "8e78d0df-74c5-4e13-9c82-4d60d26a8bb6",
"files": [
"files": [],
".json",
".svga"
],
"subMetas": {},
"subMetas": {},
"userData": {}
"userData": {}
}
}
assets/Bundles/MainGame/png/横幅/无尽模式.png
0 → 100644
View file @
4ff090ee
31.4 KB
assets/Bundles/MainGame/png/横幅/无尽模式.png.meta
0 → 100644
View file @
4ff090ee
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "081e6f77-5816-4ab7-be1e-cc9917759e54",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "081e6f77-5816-4ab7-be1e-cc9917759e54@6c48a",
"displayName": "无尽模式",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "081e6f77-5816-4ab7-be1e-cc9917759e54",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "081e6f77-5816-4ab7-be1e-cc9917759e54@f9941",
"displayName": "无尽模式",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1620,
"height": 450,
"rawWidth": 1620,
"rawHeight": 450,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-810,
-225,
0,
810,
-225,
0,
-810,
225,
0,
810,
225,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
450,
1620,
450,
0,
0,
1620,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-810,
-225,
0
],
"maxPos": [
810,
225,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "081e6f77-5816-4ab7-be1e-cc9917759e54@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "081e6f77-5816-4ab7-be1e-cc9917759e54@6c48a"
}
}
assets/Bundles/common/audio/点击音效.mp3
deleted
100644 → 0
View file @
8fc77e6c
File deleted
assets/Bundles/common/audio/点击音效.mp3.meta
deleted
100644 → 0
View file @
8fc77e6c
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "d1a1ac8e-2bbb-48be-824d-a4f39e784772",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}
assets/Scripts/Scenes/MainGame/Components/PreCd.ts
View file @
4ff090ee
...
@@ -29,7 +29,6 @@ export class PreCd extends Component {
...
@@ -29,7 +29,6 @@ export class PreCd extends Component {
const
callBack
=
()
=>
{
const
callBack
=
()
=>
{
this
.
animation
.
off
(
Animation
.
EventType
.
FINISHED
,
callBack
);
this
.
animation
.
off
(
Animation
.
EventType
.
FINISHED
,
callBack
);
this
.
node
.
active
=
false
;
this
.
node
.
active
=
false
;
console
.
log
(
12312
);
resolve
();
resolve
();
};
};
this
.
animation
.
once
(
Animation
.
EventType
.
FINISHED
,
callBack
);
this
.
animation
.
once
(
Animation
.
EventType
.
FINISHED
,
callBack
);
...
@@ -38,4 +37,3 @@ export class PreCd extends Component {
...
@@ -38,4 +37,3 @@ export class PreCd extends Component {
}
}
assets/Scripts/Scenes/MainGame/Components/Target.ts
View file @
4ff090ee
import
{
_decorator
,
Component
,
Graphics
,
Label
,
m
ath
,
m
isc
,
Node
,
tween
}
from
"cc"
;
import
{
_decorator
,
Component
,
Graphics
,
Label
,
misc
,
Node
,
tween
}
from
"cc"
;
const
{
ccclass
,
property
,
executeInEditMode
}
=
_decorator
;
const
{
ccclass
,
property
,
executeInEditMode
}
=
_decorator
;
...
@@ -6,12 +6,27 @@ const { ccclass, property, executeInEditMode } = _decorator;
...
@@ -6,12 +6,27 @@ const { ccclass, property, executeInEditMode } = _decorator;
@
executeInEditMode
()
@
executeInEditMode
()
export
class
Target
extends
Component
{
export
class
Target
extends
Component
{
static
_ins
:
Target
=
null
;
static
get
ins
()
{
return
this
.
_ins
;
}
@
property
(
Graphics
)
graphics
:
Graphics
=
null
;
@
property
(
Graphics
)
graphics
:
Graphics
=
null
;
@
property
(
Label
)
cdTxt
:
Label
=
null
;
@
property
(
Label
)
cdTxt
:
Label
=
null
;
@
property
(
Label
)
goalTxt
:
Label
=
null
;
@
property
(
Label
)
goalTxt
:
Label
=
null
;
@
property
(
Node
)
banner
:
Node
=
null
;
protected
onLoad
()
{
Target
.
_ins
=
this
;
}
onDestroy
()
{
Target
.
_ins
=
null
;
}
start
()
{
start
()
{
this
.
startCd
(
10
);
this
.
startCd
(
10
);
}
}
...
@@ -36,7 +51,6 @@ export class Target extends Component {
...
@@ -36,7 +51,6 @@ export class Target extends Component {
.
start
();
.
start
();
}
}
drawProcess
=
(()
=>
{
drawProcess
=
(()
=>
{
const
phases
=
[
const
phases
=
[
51
,
51
,
...
...
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