Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
peppa_pig_finger
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
peppa_pig_finger
Commits
7c3461d9
Commit
7c3461d9
authored
Sep 27, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
a2367ece
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
0 additions
and
538 deletions
+0
-538
prefab.meta
assets/peppa_pig_finger/prefab.meta
+0
-12
catFrame.prefab
assets/peppa_pig_finger/prefab/catFrame.prefab
+0
-343
catFrame.prefab.meta
assets/peppa_pig_finger/prefab/catFrame.prefab.meta
+0
-8
js.meta
assets/peppa_pig_finger/prefab/js.meta
+0
-12
myProgressScript.js
assets/peppa_pig_finger/prefab/js/myProgressScript.js
+0
-70
myProgressScript.js.meta
assets/peppa_pig_finger/prefab/js/myProgressScript.js.meta
+0
-9
res.meta
assets/peppa_pig_finger/prefab/res.meta
+0
-12
record_progress_bar.png
assets/peppa_pig_finger/prefab/res/record_progress_bar.png
+0
-0
record_progress_bar.png.meta
.../peppa_pig_finger/prefab/res/record_progress_bar.png.meta
+0
-36
record_progress_bg.png
assets/peppa_pig_finger/prefab/res/record_progress_bg.png
+0
-0
record_progress_bg.png.meta
...s/peppa_pig_finger/prefab/res/record_progress_bg.png.meta
+0
-36
No files found.
assets/peppa_pig_finger/prefab.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "1.1.2",
"uuid": "a240c166-e967-4187-aa58-2b6c906f2c57",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/catFrame.prefab
deleted
100644 → 0
View file @
a2367ece
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "catFrame",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 5
}
],
"_active": true,
"_components": [
{
"__id__": 8
}
],
"_prefab": {
"__id__": 9
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-3.3500000000000227,
-0.7280000000000086,
0,
0,
0,
0,
1,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cat",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": {
"__id__": 4
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 362.6105263157899,
"height": 483.5647539622176
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-116.562,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "8eb47913-e4e3-4950-b603-eefa1f65d377#de34959f-bf67-4989-901f-387f47b62164",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "8eb47913-e4e3-4950-b603-eefa1f65d377"
},
"_N$dragonAtlasAsset": {
"__uuid__": "de34959f-bf67-4989-901f-387f47b62164"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f74Xci8e9HxrkjeeIIwapj",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "clickBox",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 500
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
889.612,
-619.253,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7drQoUHTdFtKEZxfog45jx",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 518.6,
"_top": 0,
"_bottom": 244.522,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
assets/peppa_pig_finger/prefab/catFrame.prefab.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "1.2.9",
"uuid": "18eb9098-6427-403c-b4e4-d59e2acbd03f",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/js.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "1.1.2",
"uuid": "8b84ec82-16fb-4f9f-a92a-b1def99770d7",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/js/myProgressScript.js
deleted
100644 → 0
View file @
a2367ece
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc
.
Class
({
extends
:
cc
.
Component
,
properties
:
{
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// type: cc.Node,
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
start
()
{
this
.
init
();
},
barBaseW
:
null
,
barSpr
:
null
,
barSf
:
null
,
init
()
{
this
.
bar
=
cc
.
find
(
'
bar
'
,
this
.
node
);
this
.
barBaseW
=
this
.
bar
.
width
;
this
.
barSpr
=
this
.
bar
.
getComponent
(
cc
.
Sprite
);
this
.
barSf
=
this
.
barSpr
.
spriteFrame
;
this
.
setProgress
(
0
);
},
setProgress
(
progress
)
{
setTimeout
(()
=>
{
if
(
!
this
.
barSf
)
{
return
;
}
const
w
=
this
.
barBaseW
*
progress
;
const
rect
=
this
.
barSf
.
getRect
();
rect
.
width
=
w
;
this
.
bar
.
width
=
w
;
this
.
barSpr
.
spriteFrame
.
setRect
(
rect
);
},
1
);
},
// update (dt) {},
});
assets/peppa_pig_finger/prefab/js/myProgressScript.js.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "1.0.8",
"uuid": "33ec0e89-5132-4855-9620-66d7ce1a114c",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/res.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "1.1.2",
"uuid": "5aef5264-326c-4629-ada9-23537cfeaaff",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/res/record_progress_bar.png
deleted
100644 → 0
View file @
a2367ece
1.82 KB
assets/peppa_pig_finger/prefab/res/record_progress_bar.png.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "2.3.5",
"uuid": "696fbc57-4b26-4569-80b5-462409318508",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 269,
"height": 16,
"platformSettings": {},
"subMetas": {
"record_progress_bar": {
"ver": "1.0.4",
"uuid": "1eecc24f-f80d-4f61-ba88-315739b85734",
"rawTextureUuid": "696fbc57-4b26-4569-80b5-462409318508",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 269,
"height": 16,
"rawWidth": 269,
"rawHeight": 16,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/peppa_pig_finger/prefab/res/record_progress_bg.png
deleted
100644 → 0
View file @
a2367ece
1.88 KB
assets/peppa_pig_finger/prefab/res/record_progress_bg.png.meta
deleted
100644 → 0
View file @
a2367ece
{
"ver": "2.3.5",
"uuid": "9010156a-48a7-43af-b880-097266726aec",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 269,
"height": 16,
"platformSettings": {},
"subMetas": {
"record_progress_bg": {
"ver": "1.0.4",
"uuid": "48f34f10-f132-4f72-8aa7-25f6fdc9eb3f",
"rawTextureUuid": "9010156a-48a7-43af-b880-097266726aec",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 269,
"height": 16,
"rawWidth": 269,
"rawHeight": 16,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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