Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car
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
car
Commits
2c4a0792
Commit
2c4a0792
authored
May 28, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
2d1b28a3
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2077 additions
and
8 deletions
+2077
-8
NoPrizePanel.prefab
assets/Bundles/GamePanel/NoPrizePanel.prefab
+1607
-0
NoPrizePanel.prefab.meta
assets/Bundles/GamePanel/NoPrizePanel.prefab.meta
+13
-0
GamePanel.pac
assets/Bundles/GamePanel/png/GamePanel.pac
+0
-0
GamePanel.pac.meta
assets/Bundles/GamePanel/png/GamePanel.pac.meta
+0
-0
noPrizeBg.png
assets/Bundles/GamePanel/png/noPrizeBg.png
+0
-0
noPrizeBg.png.meta
assets/Bundles/GamePanel/png/noPrizeBg.png.meta
+134
-0
tip.png
assets/Bundles/GamePanel/png/tip.png
+0
-0
tip.png.meta
assets/Bundles/GamePanel/png/tip.png.meta
+134
-0
再玩一次.png
assets/Bundles/GamePanel/png/再玩一次.png
+0
-0
再玩一次.png.meta
assets/Bundles/GamePanel/png/再玩一次.png.meta
+134
-0
NoPrizePanel.ts
assets/Scripts/Panels/NoPrizePanel.ts
+46
-0
NoPrizePanel.ts.meta
assets/Scripts/Panels/NoPrizePanel.ts.meta
+1
-0
ReviewPanel.ts
assets/Scripts/Panels/ReviewPanel.ts
+4
-4
UnlockPanel.ts
assets/Scripts/Panels/UnlockPanel.ts
+4
-4
No files found.
assets/Bundles/GamePanel/NoPrizePanel.prefab
0 → 100644
View file @
2c4a0792
This diff is collapsed.
Click to expand it.
assets/Bundles/GamePanel/NoPrizePanel.prefab.meta
0 → 100644
View file @
2c4a0792
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "a24bae72-cd44-4348-8911-01bab1ebf50e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "NoPrizePanel"
}
}
assets/Bundles/GamePanel/png/
Unlock
Panel.pac
→
assets/Bundles/GamePanel/png/
Game
Panel.pac
View file @
2c4a0792
File moved
assets/Bundles/GamePanel/png/
Unlock
Panel.pac.meta
→
assets/Bundles/GamePanel/png/
Game
Panel.pac.meta
View file @
2c4a0792
File moved
assets/Bundles/GamePanel/png/noPrizeBg.png
0 → 100644
View file @
2c4a0792
206 KB
assets/Bundles/GamePanel/png/noPrizeBg.png.meta
0 → 100644
View file @
2c4a0792
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "78a597fc-4f7b-4fed-bfc7-1468ed73391e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "78a597fc-4f7b-4fed-bfc7-1468ed73391e@6c48a",
"displayName": "noPrizeBg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "78a597fc-4f7b-4fed-bfc7-1468ed73391e",
"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": "78a597fc-4f7b-4fed-bfc7-1468ed73391e@f9941",
"displayName": "noPrizeBg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 582,
"height": 519,
"rawWidth": 582,
"rawHeight": 519,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-291,
-259.5,
0,
291,
-259.5,
0,
-291,
259.5,
0,
291,
259.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
519,
582,
519,
0,
0,
582,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-291,
-259.5,
0
],
"maxPos": [
291,
259.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "78a597fc-4f7b-4fed-bfc7-1468ed73391e@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "78a597fc-4f7b-4fed-bfc7-1468ed73391e@6c48a"
}
}
assets/Bundles/GamePanel/png/tip.png
0 → 100644
View file @
2c4a0792
3.56 KB
assets/Bundles/GamePanel/png/tip.png.meta
0 → 100644
View file @
2c4a0792
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f2319fb6-7453-480a-b3b7-e55145424263",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f2319fb6-7453-480a-b3b7-e55145424263@6c48a",
"displayName": "tip",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f2319fb6-7453-480a-b3b7-e55145424263",
"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": "f2319fb6-7453-480a-b3b7-e55145424263@f9941",
"displayName": "tip",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 133,
"height": 32,
"rawWidth": 133,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-66.5,
-16,
0,
66.5,
-16,
0,
-66.5,
16,
0,
66.5,
16,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
32,
133,
32,
0,
0,
133,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-66.5,
-16,
0
],
"maxPos": [
66.5,
16,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f2319fb6-7453-480a-b3b7-e55145424263@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f2319fb6-7453-480a-b3b7-e55145424263@6c48a"
}
}
assets/Bundles/GamePanel/png/再玩一次.png
0 → 100644
View file @
2c4a0792
15.7 KB
assets/Bundles/GamePanel/png/再玩一次.png.meta
0 → 100644
View file @
2c4a0792
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4fee771a-c621-45c0-bd19-8ce65d4d4371",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4fee771a-c621-45c0-bd19-8ce65d4d4371@6c48a",
"displayName": "再玩一次",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4fee771a-c621-45c0-bd19-8ce65d4d4371",
"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": "4fee771a-c621-45c0-bd19-8ce65d4d4371@f9941",
"displayName": "再玩一次",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 294,
"height": 77,
"rawWidth": 294,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-147,
-38.5,
0,
147,
-38.5,
0,
-147,
38.5,
0,
147,
38.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
77,
294,
77,
0,
0,
294,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-147,
-38.5,
0
],
"maxPos": [
147,
38.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4fee771a-c621-45c0-bd19-8ce65d4d4371@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4fee771a-c621-45c0-bd19-8ce65d4d4371@6c48a"
}
}
assets/Scripts/Panels/NoPrizePanel.ts
0 → 100644
View file @
2c4a0792
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
CarColorsGlobalInstance
}
from
'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
{
changeScene
,
showShareGuide
}
from
"db://assets/core/Module/UIFast"
;
import
{
MainGame
}
from
"db://assets/Scripts/Scenes/MainGame/MainGame"
;
import
{
HomeScene
}
from
"db://assets/Scripts/Scenes/HomeScene"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'NoPrizePanel'
)
export
class
NoPrizePanel
extends
Panel
{
static
skin
:
string
=
"NoPrizePanel"
;
static
bundle
:
string
=
"GamePanel"
;
@
property
(
Node
)
okBtn
:
Node
=
null
;
@
property
(
Node
)
closeBtn
:
Node
=
null
;
@
property
(
Label
)
tip
:
Label
=
null
;
@
property
(
SpriteFrame
)
shareSf
:
SpriteFrame
=
null
;
@
property
(
SpriteFrame
)
exchangeSf
:
SpriteFrame
=
null
;
onLoad
()
{
super
.
onLoad
();
this
.
okBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
ok
,
this
);
this
.
closeBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
cancel
,
this
);
}
start
():
void
{
}
cancel
=
()
=>
{
AudioMgr
.
ins
.
playOneShot
(
AudioClipName
.
button_ok
);
this
.
hidePanel
();
}
ok
=
()
=>
{
AudioMgr
.
ins
.
playOneShot
(
AudioClipName
.
button_ok
);
this
.
hidePanel
();
changeScene
(
HomeScene
);
}
}
assets/Scripts/Panels/NoPrizePanel.ts.meta
0 → 100644
View file @
2c4a0792
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"c7e02c3f-4c04-4a65-9e9c-698ee23e653b","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Panels/ReviewPanel.ts
View file @
2c4a0792
import
{
_decorator
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
CarColorsGlobalInstance
}
from
'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'
;
import
{
CarColorsGlobalInstance
}
from
'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
...
@@ -23,9 +23,9 @@ export class ReviewPanel extends Panel {
...
@@ -23,9 +23,9 @@ export class ReviewPanel extends Panel {
onLoad
()
{
onLoad
()
{
super
.
onLoad
();
super
.
onLoad
();
this
.
okBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
ok
,
this
);
this
.
okBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
ok
,
this
);
this
.
cancelBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
cancel
,
this
);
this
.
cancelBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
cancel
,
this
);
this
.
closeBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
cancel
,
this
);
this
.
closeBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
cancel
,
this
);
}
}
start
():
void
{
start
():
void
{
...
...
assets/Scripts/Panels/UnlockPanel.ts
View file @
2c4a0792
import
{
_decorator
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
CarColorsGlobalInstance
}
from
'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'
;
import
{
CarColorsGlobalInstance
}
from
'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
...
@@ -22,9 +22,9 @@ export class UnlockPanel extends Panel {
...
@@ -22,9 +22,9 @@ export class UnlockPanel extends Panel {
onLoad
()
{
onLoad
()
{
super
.
onLoad
();
super
.
onLoad
();
this
.
okBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
ok
,
this
);
this
.
okBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
ok
,
this
);
this
.
cancelBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
cancel
,
this
);
this
.
cancelBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
cancel
,
this
);
this
.
closeBtn
.
on
(
Node
.
EventType
.
TOUCH_END
,
this
.
cancel
,
this
);
this
.
closeBtn
.
on
(
Button
.
EventType
.
CLICK
,
this
.
cancel
,
this
);
}
}
start
():
void
{
start
():
void
{
...
...
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