Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ET26
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
ET26
Commits
40b78b58
Commit
40b78b58
authored
Oct 25, 2021
by
Lwd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
9710af92
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
11057 additions
and
2876 deletions
+11057
-2876
form.component.ts
form/src/app/form/form.component.ts
+3
-0
ET26.fire
play/assets/ET26/scene/ET26.fire
+10866
-2793
DragGameOptionObject.js
play/assets/ET26/script/game/DragGameOptionObject.js
+55
-55
item.js
play/assets/ET26/script/game/item.js
+7
-1
data_mgr.js
play/assets/ET26/script/manager/data_mgr.js
+29
-2
11.png
play/assets/ET26/textures/11.png
+0
-0
11.png.meta
play/assets/ET26/textures/11.png.meta
+36
-0
3.jpg
play/assets/ET26/textures/3.jpg
+0
-0
bg.png.meta
play/assets/ET26/textures/bg.png.meta
+1
-1
bg_2.png.meta
play/assets/ET26/textures/bg_2.png.meta
+1
-1
frame1.png.meta
play/assets/ET26/textures/frame1.png.meta
+1
-1
frame2.png.meta
play/assets/ET26/textures/frame2.png.meta
+1
-1
frame3.png.meta
play/assets/ET26/textures/frame3.png.meta
+1
-1
frame4.png.meta
play/assets/ET26/textures/frame4.png.meta
+1
-1
item_bg2.png
play/assets/ET26/textures/item_bg2.png
+0
-0
item_bg2.png.meta
play/assets/ET26/textures/item_bg2.png.meta
+4
-4
jdt_01.png
play/assets/ET26/textures/jdt_01.png
+0
-0
jdt_01.png.meta
play/assets/ET26/textures/jdt_01.png.meta
+10
-10
jdt_02.png
play/assets/ET26/textures/jdt_02.png
+0
-0
jdt_02.png.meta
play/assets/ET26/textures/jdt_02.png.meta
+36
-0
sptCloud1.png.meta
play/assets/ET26/textures/sptCloud1.png.meta
+1
-1
sptCloud2.png.meta
play/assets/ET26/textures/sptCloud2.png.meta
+1
-1
sptCloud3.png.meta
play/assets/ET26/textures/sptCloud3.png.meta
+1
-1
sptCloud4.png.meta
play/assets/ET26/textures/sptCloud4.png.meta
+1
-1
sptCloud5.png.meta
play/assets/ET26/textures/sptCloud5.png.meta
+1
-1
No files found.
form/src/app/form/form.component.ts
View file @
40b78b58
...
...
@@ -131,6 +131,9 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
addSheep
()
{
if
(
this
.
item
.
sheepArr
.
length
>=
30
)
{
return
}
let
sheep
=
new
Sheep
();
this
.
item
.
sheepArr
.
push
(
sheep
);
...
...
play/assets/ET26/scene/ET26.fire
View file @
40b78b58
This source diff could not be displayed because it is too large. You can
view the blob
instead.
play/assets/ET26/script/game/DragGameOptionObject.js
View file @
40b78b58
...
...
@@ -24,7 +24,7 @@ cc.Class({
this
.
m_uuid
=
g
.
utils
.
generateUUID
();
//生成一个唯一Id
g
.
event_mgr
.
reg
(
"
reSetGame
"
,
()
=>
{
this
.
node
.
getChildByName
(
"
Layout
"
).
removeAllChildren
()
this
.
node
.
getChildByName
(
"
scrollView
"
).
getChildByName
(
"
view
"
).
getChildByName
(
"
content
"
).
removeAllChildren
();
},
this
.
m_uuid
);
},
...
...
play/assets/ET26/script/game/item.js
View file @
40b78b58
...
...
@@ -104,8 +104,13 @@ cc.Class({
this
.
node
.
scale
=
0.6
;
this
.
node
.
x
=
0
;
}
if
(
g
.
game
.
inst
.
OptionType
==
2
)
{
this
.
node
.
scale
=
this
.
node
.
scale
*
0.8
;
}
this
.
node
.
parent
=
newItem_temp
;
newItem_temp
.
parent
=
content
.
getChildByName
(
"
Layout
"
);
newItem_temp
.
parent
=
content
.
getChildByName
(
"
scrollView
"
).
getChildByName
(
"
view
"
).
getChildByName
(
"
content
"
);
this
.
node
.
x
=
0
;
this
.
node
.
y
=
0
;
},
...
...
@@ -181,6 +186,7 @@ cc.Class({
InitData
:
function
()
{
//设置图片
g
.
res_mgr
.
getSpriteFrimeByUrl
(
this
.
itemInfo
.
picUrl
,
(
list
)
=>
{
this
.
Item_photo
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
list
;
this
.
photoScare
(
this
.
Item_photo
,
g
.
game
.
inst
.
idx
);
// this.photoScare(this.nodeState[2].getChildByName("spt_item"), 1);
...
...
play/assets/ET26/script/manager/data_mgr.js
View file @
40b78b58
...
...
@@ -14,14 +14,41 @@ g.data_mgr = {
{
"
id
"
:
"
1623738000162o9u566
"
,
"
word
"
:
"
标题2
"
},
{
"
id
"
:
"
3
"
,
"
word
"
:
"
标题3
"
},
{
"
id
"
:
"
4
"
,
"
word
"
:
"
标题4
"
},
{
"
id
"
:
"
4
"
,
"
word
"
:
"
标题4
"
}
// { "id": "4", "word": "标题4" },
// { "id": "4", "word": "标题4" }
],
"
sheepArr
"
:
[
{
"
sheepfoldId
"
:
"
162373800016117r8ti
"
,
"
word
"
:
"
aaa
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/77d34b5a7f2895e9319d4485a84a1b2b.png
"
},
{
"
word
"
:
"
aa
"
,
"
sheepfoldId
"
:
"
1623738000162o9u566
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
12
"
,
"
sheepfoldId
"
:
"
4
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
word
"
:
"
3
"
,
"
sheepfoldId
"
:
"
3
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
},
{
"
sheepfoldId
"
:
"
1623738000162o9u566
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/be3debcc0598cfdde8a9e1ad2324743e.png
"
,
"
word
"
:
"
fgsdfg
"
},
{
"
sheepfoldId
"
:
"
162373800016117r8ti
"
,
"
picUrl
"
:
"
http://staging-teach.cdn.ireadabc.com/77d34b5a7f2895e9319d4485a84a1b2b.png
"
,
"
word
"
:
"
gdfa
"
}],
...
...
play/assets/ET26/textures/11.png
0 → 100644
View file @
40b78b58
23.7 KB
play/assets/ET26/textures/11.png.meta
0 → 100644
View file @
40b78b58
{
"ver": "2.3.5",
"uuid": "83cc39f1-470e-4998-b852-701abdddc27e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 177,
"height": 160,
"platformSettings": {},
"subMetas": {
"11": {
"ver": "1.0.4",
"uuid": "508485c4-9bbc-4fe0-8f25-b320fad59967",
"rawTextureUuid": "83cc39f1-470e-4998-b852-701abdddc27e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 4,
"offsetY": 4,
"trimX": 43,
"trimY": 12,
"width": 99,
"height": 128,
"rawWidth": 177,
"rawHeight": 160,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/ET26/textures/3.jpg
deleted
100644 → 0
View file @
9710af92
411 KB
play/assets/ET26/textures/bg.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 1280,
...
...
play/assets/ET26/textures/bg_2.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 1280,
...
...
play/assets/ET26/textures/frame1.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 376,
...
...
play/assets/ET26/textures/frame2.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 279,
...
...
play/assets/ET26/textures/frame3.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 218,
...
...
play/assets/ET26/textures/frame4.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 178,
...
...
play/assets/ET26/textures/item_bg2.png
View replaced file @
9710af92
View file @
40b78b58
8.13 KB
|
W:
|
H:
3.49 KB
|
W:
|
H:
2-up
Swipe
Onion skin
play/assets/ET26/textures/item_bg2.png.meta
View file @
40b78b58
...
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1
54
,
"height":
86
,
"rawWidth": 1
54
,
"rawHeight":
86
,
"width": 1
20
,
"height":
63
,
"rawWidth": 1
20
,
"rawHeight":
63
,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
play/assets/ET26/textures/jdt_01.png
0 → 100644
View file @
40b78b58
272 Bytes
play/assets/ET26/textures/
3.jp
g.meta
→
play/assets/ET26/textures/
jdt_01.pn
g.meta
View file @
40b78b58
{
"ver": "2.3.5",
"uuid": "
4f778c67-bd48-4376-9378-cb16739258db
",
"uuid": "
1b56c0a8-0cc2-4534-a598-429d068bbcb7
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
1280
,
"height":
720
,
"width":
5
,
"height":
233
,
"platformSettings": {},
"subMetas": {
"
3
": {
"
jdt_01
": {
"ver": "1.0.4",
"uuid": "
23e0b0fe-51e8-4468-8f63-be136f646dc0
",
"rawTextureUuid": "
4f778c67-bd48-4376-9378-cb16739258db
",
"uuid": "
c7aa283e-88af-4cc2-ab52-ff4c167de85f
",
"rawTextureUuid": "
1b56c0a8-0cc2-4534-a598-429d068bbcb7
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width":
1280
,
"height":
720
,
"rawWidth":
1280
,
"rawHeight":
720
,
"width":
5
,
"height":
233
,
"rawWidth":
5
,
"rawHeight":
233
,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
play/assets/ET26/textures/jdt_02.png
0 → 100644
View file @
40b78b58
385 Bytes
play/assets/ET26/textures/jdt_02.png.meta
0 → 100644
View file @
40b78b58
{
"ver": "2.3.5",
"uuid": "e4022990-5815-43d9-86a7-6b00a83fbdab",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 11,
"height": 13,
"platformSettings": {},
"subMetas": {
"jdt_02": {
"ver": "1.0.4",
"uuid": "6903c246-a3a4-4391-b73e-e6c4b4ebd4bf",
"rawTextureUuid": "e4022990-5815-43d9-86a7-6b00a83fbdab",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 11,
"height": 13,
"rawWidth": 11,
"rawHeight": 13,
"borderTop": 5,
"borderBottom": 7,
"borderLeft": 4,
"borderRight": 4,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/ET26/textures/sptCloud1.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 658,
...
...
play/assets/ET26/textures/sptCloud2.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 113,
...
...
play/assets/ET26/textures/sptCloud3.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 314,
...
...
play/assets/ET26/textures/sptCloud4.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 251,
...
...
play/assets/ET26/textures/sptCloud5.png.meta
View file @
40b78b58
...
...
@@ -4,7 +4,7 @@
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha":
fals
e,
"premultiplyAlpha":
tru
e,
"genMipmaps": false,
"packable": true,
"width": 290,
...
...
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