Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hw_elimination_letter
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
hw_elimination_letter
Commits
1908d8af
Commit
1908d8af
authored
Jun 19, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
f721a449
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
35 deletions
+37
-35
hw_elimination_letter.fire
...ts/hw_elimination_letter/scene/hw_elimination_letter.fire
+18
-18
hw_elimination_letter.js
assets/hw_elimination_letter/scene/hw_elimination_letter.js
+6
-4
item_bg.png
assets/hw_elimination_letter/texture/item_bg.png
+0
-0
item_bg.png.meta
assets/hw_elimination_letter/texture/item_bg.png.meta
+13
-13
No files found.
assets/hw_elimination_letter/scene/hw_elimination_letter.fire
View file @
1908d8af
...
@@ -1746,7 +1746,7 @@
...
@@ -1746,7 +1746,7 @@
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
item_bg
",
"_name": "
sky
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
"__id__": 10
...
@@ -1769,8 +1769,8 @@
...
@@ -1769,8 +1769,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1066
,
"width":
3840
,
"height": 68
3
"height": 68
4
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1804,7 +1804,7 @@
...
@@ -1804,7 +1804,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
8eQhvJWzlCtYneR1K5qaTt
"
"_id": "
c3uhjPm0pGj6mH+iLBIVvR
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1818,7 +1818,7 @@
...
@@ -1818,7 +1818,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
c8878299-59a2-4aa7-9ef7-ee194da64e55
"
"__uuid__": "
f067d768-917f-4aaf-9b37-da4793c9efcb
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -1832,11 +1832,11 @@
...
@@ -1832,11 +1832,11 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
aaynFNzllIbIz99XsPDmTc
"
"_id": "
dcmibZnnlCSZlkCs1MC3bT
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "
sky
",
"_name": "
bg
",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
"__id__": 10
...
@@ -1859,8 +1859,8 @@
...
@@ -1859,8 +1859,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
384
0,
"width":
192
0,
"height":
684
"height":
865
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1894,7 +1894,7 @@
...
@@ -1894,7 +1894,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
c3uhjPm0pGj6mH+iLBIVvR
"
"_id": "
60x4fzW61Gl7en92Sr8e1c
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1908,7 +1908,7 @@
...
@@ -1908,7 +1908,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
f067d768-917f-4aaf-9b37-da4793c9efcb
"
"__uuid__": "
b31a0e16-5ead-4f0f-b01c-d4c304a54387
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -1922,11 +1922,11 @@
...
@@ -1922,11 +1922,11 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
dcmibZnnlCSZlkCs1MC3bT
"
"_id": "
e7PP1MS+5JyJnpd9dOlXxO
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "bg",
"_name": "
item_
bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
"__id__": 10
...
@@ -1949,8 +1949,8 @@
...
@@ -1949,8 +1949,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
92
0,
"width": 1
78
0,
"height":
865
"height":
687
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1984,7 +1984,7 @@
...
@@ -1984,7 +1984,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
60x4fzW61Gl7en92Sr8e1c
"
"_id": "
c8M6qnO9NICapgDk2mm8ag
"
},
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
...
@@ -1998,7 +1998,7 @@
...
@@ -1998,7 +1998,7 @@
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_spriteFrame": {
"_spriteFrame": {
"__uuid__": "
b31a0e16-5ead-4f0f-b01c-d4c304a54387
"
"__uuid__": "
c22014ab-a6dd-473c-b51c-87a413926972
"
},
},
"_type": 0,
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 1,
...
@@ -2012,7 +2012,7 @@
...
@@ -2012,7 +2012,7 @@
"_fillRange": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": true,
"_atlas": null,
"_atlas": null,
"_id": "
e7PP1MS+5JyJnpd9dOlXxO
"
"_id": "
694FRknGtOf6hzzIvW7yV4
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
...
assets/hw_elimination_letter/scene/hw_elimination_letter.js
View file @
1908d8af
...
@@ -1299,6 +1299,9 @@ cc.Class({
...
@@ -1299,6 +1299,9 @@ cc.Class({
this
.
initTitle
();
this
.
initTitle
();
this
.
startTiming
();
// this.generateCrossword();
// this.generateCrossword();
// this.createGrid();
// this.createGrid();
...
@@ -1307,7 +1310,6 @@ cc.Class({
...
@@ -1307,7 +1310,6 @@ cc.Class({
// this.initTitle();
// this.initTitle();
// this.startTiming();
// this.startTesting();
// this.startTesting();
...
@@ -1634,7 +1636,7 @@ cc.Class({
...
@@ -1634,7 +1636,7 @@ cc.Class({
// const item = getSprNode(resName);
// const item = getSprNode(resName);
// this.itemBg.addChild(item);
// this.itemBg.addChild(item);
this
.
delayCall
(
Math
.
random
()
*
0.5
,
()
=>
{
this
.
delayCall
(
1
+
Math
.
random
()
*
0.5
,
()
=>
{
const
{
rtNode
,
rtNodeShadow
}
=
item
;
const
{
rtNode
,
rtNodeShadow
}
=
item
;
cc
.
tween
(
rtNode
)
cc
.
tween
(
rtNode
)
...
@@ -10282,11 +10284,11 @@ cc.Class({
...
@@ -10282,11 +10284,11 @@ cc.Class({
const
itemBg
=
getSprNode
(
"
item_bg
"
);
const
itemBg
=
getSprNode
(
"
item_bg
"
);
this
.
bgLayer
.
addChild
(
itemBg
);
this
.
bgLayer
.
addChild
(
itemBg
);
const
spr
=
itemBg
.
getComponent
(
cc
.
Sprite
);
const
spr
=
itemBg
.
getComponent
(
cc
.
Sprite
);
spr
.
type
=
cc
.
Sprite
.
Type
.
SLICED
;
//
spr.type = cc.Sprite.Type.SLICED;
itemBg
.
baseW
=
itemBg
.
width
;
itemBg
.
baseW
=
itemBg
.
width
;
itemBg
.
baseH
=
itemBg
.
height
;
itemBg
.
baseH
=
itemBg
.
height
;
itemBg
.
scale
=
this
.
_mapScaleMin
;
itemBg
.
scale
=
this
.
_mapScaleMin
;
itemBg
.
width
=
1750
;
//
itemBg.width = 1750;
itemBg
.
y
=
(
panel
.
y
-
this
.
canvas
.
height
/
2
)
/
2
itemBg
.
y
=
(
panel
.
y
-
this
.
canvas
.
height
/
2
)
/
2
this
.
itemBg
=
itemBg
;
this
.
itemBg
=
itemBg
;
...
...
assets/hw_elimination_letter/texture/item_bg.png
View replaced file @
f721a449
View file @
1908d8af
4.52 KB
|
W:
|
H:
11.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/hw_elimination_letter/texture/item_bg.png.meta
View file @
1908d8af
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
50ace8e0-a8fc-47aa-a3b0-8e509c9f5b75
",
"uuid": "
9012c2e9-11d6-422e-b7ed-2d0be1e2ecb1
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 1
07
0,
"width": 1
78
0,
"height": 687,
"height": 687,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"item_bg": {
"item_bg": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "c
8878299-59a2-4aa7-9ef7-ee194da64e55
",
"uuid": "c
22014ab-a6dd-473c-b51c-87a413926972
",
"rawTextureUuid": "
50ace8e0-a8fc-47aa-a3b0-8e509c9f5b75
",
"rawTextureUuid": "
9012c2e9-11d6-422e-b7ed-2d0be1e2ecb1
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
"offsetX": 0,
"offsetX": 0,
"offsetY": 0,
"offsetY": 0,
"trimX":
2
,
"trimX":
0
,
"trimY":
2
,
"trimY":
0
,
"width": 1
066
,
"width": 1
780
,
"height": 68
3
,
"height": 68
7
,
"rawWidth": 1
07
0,
"rawWidth": 1
78
0,
"rawHeight": 687,
"rawHeight": 687,
"borderTop":
32
0,
"borderTop": 0,
"borderBottom":
32
0,
"borderBottom": 0,
"borderLeft":
512
,
"borderLeft":
0
,
"borderRight":
511
,
"borderRight":
0
,
"subMetas": {}
"subMetas": {}
}
}
}
}
...
...
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