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
6e7c485e
Commit
6e7c485e
authored
May 29, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d449fb88
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
16599 additions
and
0 deletions
+16599
-0
BoxPanel.meta
assets/Bundles/BoxPanel.meta
+11
-0
7输出宝箱开奖.svga
assets/Bundles/BoxPanel/7输出宝箱开奖.svga
+0
-0
7输出宝箱开奖.svga.meta
assets/Bundles/BoxPanel/7输出宝箱开奖.svga.meta
+12
-0
8输出宝箱背后弹窗氛围.svga
assets/Bundles/BoxPanel/8输出宝箱背后弹窗氛围.svga
+0
-0
8输出宝箱背后弹窗氛围.svga.meta
assets/Bundles/BoxPanel/8输出宝箱背后弹窗氛围.svga.meta
+12
-0
BoxPanel.prefab
assets/Bundles/BoxPanel/BoxPanel.prefab
+13116
-0
BoxPanel.prefab.meta
assets/Bundles/BoxPanel/BoxPanel.prefab.meta
+13
-0
OverPanel.prefab
assets/Bundles/GamePanel/OverPanel.prefab
+1601
-0
OverPanel.prefab.meta
assets/Bundles/GamePanel/OverPanel.prefab.meta
+13
-0
SucPanel.prefab
assets/Bundles/GamePanel/SucPanel.prefab
+1298
-0
SucPanel.prefab.meta
assets/Bundles/GamePanel/SucPanel.prefab.meta
+13
-0
prefab.meta
assets/Bundles/HomeScene/prefab.meta
+9
-0
boxItem.prefab
assets/Bundles/HomeScene/prefab/boxItem.prefab
+369
-0
boxItem.prefab.meta
assets/Bundles/HomeScene/prefab/boxItem.prefab.meta
+13
-0
BoxPanel.ts
assets/Scripts/Panels/BoxPanel.ts
+32
-0
BoxPanel.ts.meta
assets/Scripts/Panels/BoxPanel.ts.meta
+1
-0
OverPanel.ts
assets/Scripts/Panels/OverPanel.ts
+42
-0
OverPanel.ts.meta
assets/Scripts/Panels/OverPanel.ts.meta
+1
-0
SucPanel.ts
assets/Scripts/Panels/SucPanel.ts
+42
-0
SucPanel.ts.meta
assets/Scripts/Panels/SucPanel.ts.meta
+1
-0
No files found.
assets/Bundles/BoxPanel.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "1dd829d7-750d-4b01-8b6c-38d379b1fb65",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true
}
}
assets/Bundles/BoxPanel/7输出宝箱开奖.svga
0 → 100644
View file @
6e7c485e
File added
assets/Bundles/BoxPanel/7输出宝箱开奖.svga.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "96e62dd7-077f-46f4-9d7b-f87229f1d62d",
"files": [
".json",
".svga"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/BoxPanel/8输出宝箱背后弹窗氛围.svga
0 → 100644
View file @
6e7c485e
File added
assets/Bundles/BoxPanel/8输出宝箱背后弹窗氛围.svga.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "319ea6d0-2efa-4f36-a13f-83598cd1dc8d",
"files": [
".json",
".svga"
],
"subMetas": {},
"userData": {}
}
assets/Bundles/BoxPanel/BoxPanel.prefab
0 → 100644
View file @
6e7c485e
This diff is collapsed.
Click to expand it.
assets/Bundles/BoxPanel/BoxPanel.prefab.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "156b8466-839d-4011-b8c4-444a3e43aea8",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "BoxPanel"
}
}
assets/Bundles/GamePanel/OverPanel.prefab
0 → 100644
View file @
6e7c485e
This diff is collapsed.
Click to expand it.
assets/Bundles/GamePanel/OverPanel.prefab.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "a24bae72-cd44-4348-8911-01bab1ebf50e",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "OverPanel"
}
}
assets/Bundles/GamePanel/SucPanel.prefab
0 → 100644
View file @
6e7c485e
This diff is collapsed.
Click to expand it.
assets/Bundles/GamePanel/SucPanel.prefab.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "8d52b28c-227e-4960-a527-931cfa5b4085",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "SucPanel"
}
}
assets/Bundles/HomeScene/prefab.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "5fece3d5-b8ab-40aa-a69f-eb32d31bfe81",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/HomeScene/prefab/boxItem.prefab
0 → 100644
View file @
6e7c485e
[
{
"__type__": "cc.Prefab",
"_name": "boxItem",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "boxItem",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 14
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -250,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -60,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 91.34765625,
"height": 56.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a1BBCHFs9Ner7N7LFYuvWz"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "通过1关",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 24,
"_fontSize": 24,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 94,
"b": 215,
"a": 255
},
"_outlineWidth": 3,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bfW9S8tixC7b8ryBW2HeHh"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "3290dNGY5P55Ek8BL8eeTj",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
"width": 78,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1elo13tHJFZYKsV72AqzIn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "440b5af3-fc8b-4956-98a9-d4f2907b9a0f@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "daAo0nfq9JELC0x41y6/Ay"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"clickEvents": [],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.05,
"_zoomScale": 0.9,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "17bHk/YXlJob6r/J63PnKE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "47MBiAYwRLnbXeVS9lV1sR",
"instance": null,
"targetOverrides": null
}
]
\ No newline at end of file
assets/Bundles/HomeScene/prefab/boxItem.prefab.meta
0 → 100644
View file @
6e7c485e
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "00b5739c-05b1-472f-886b-ca6c52862700",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "boxItem"
}
}
assets/Scripts/Panels/BoxPanel.ts
0 → 100644
View file @
6e7c485e
import
{
_decorator
,
Node
}
from
'cc'
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
Svga
from
"db://assets/core/Component/Svga/Svga"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'BoxPanel'
)
export
class
BoxPanel
extends
Panel
{
static
skin
:
string
=
"BoxPanel"
;
static
bundle
:
string
=
"BoxPanel"
;
@
property
(
Svga
)
boxSvga
:
Svga
=
null
;
onLoad
()
{
super
.
onLoad
();
this
.
boxSvga
.
play
();
this
.
boxSvga
.
node
.
on
(
Svga
.
EventType
.
END_FRAME
,
this
.
onEndFrame
,
this
);
}
start
():
void
{
}
onEndFrame
=
()
=>
{
console
.
log
(
this
.
data
);
}
}
assets/Scripts/Panels/BoxPanel.ts.meta
0 → 100644
View file @
6e7c485e
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"82b0795b-3fd1-44c4-bee1-570ec60de2d9","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Panels/OverPanel.ts
0 → 100644
View file @
6e7c485e
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
{
changeScene
}
from
"db://assets/core/Module/UIFast"
;
import
{
HomeScene
}
from
"db://assets/Scripts/Scenes/HomeScene"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'OverPanel'
)
export
class
OverPanel
extends
Panel
{
static
skin
:
string
=
"OverPanel"
;
static
bundle
:
string
=
"GamePanel"
;
@
property
(
Node
)
okBtn
:
Node
=
null
;
@
property
(
Node
)
closeBtn
:
Node
=
null
;
@
property
(
Label
)
tip
:
Label
=
null
;
@
property
(
Label
)
tip2
:
Label
=
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/OverPanel.ts.meta
0 → 100644
View file @
6e7c485e
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"c7e02c3f-4c04-4a65-9e9c-698ee23e653b","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Panels/SucPanel.ts
0 → 100644
View file @
6e7c485e
import
{
_decorator
,
Button
,
Label
,
Node
,
Sprite
,
SpriteFrame
}
from
'cc'
;
import
{
AudioClipName
,
AudioMgr
}
from
"db://assets/core/base/AudioMgr"
;
import
Panel
from
"db://assets/core/Module/Panel"
;
import
{
changeScene
}
from
"db://assets/core/Module/UIFast"
;
import
{
HomeScene
}
from
"db://assets/Scripts/Scenes/HomeScene"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
ccclass
(
'SucPanel'
)
export
class
SucPanel
extends
Panel
{
static
skin
:
string
=
"SucPanel"
;
static
bundle
:
string
=
"GamePanel"
;
@
property
(
Node
)
okBtn
:
Node
=
null
;
@
property
(
Node
)
closeBtn
:
Node
=
null
;
@
property
(
Label
)
levelNum
:
Label
=
null
;
@
property
(
Label
)
boxNum
:
Label
=
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/SucPanel.ts.meta
0 → 100644
View file @
6e7c485e
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"8be1d565-3d12-4c16-a6ac-e5092994e62b","files":[],"subMetas":{},"userData":{}}
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