Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
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
wildfirecode13
xiaoxiaole
Commits
ea324e20
Commit
ea324e20
authored
Nov 02, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b54e9892
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
34 additions
and
26 deletions
+34
-26
map.tmproject
egret/resource/TextureMerger/map.tmproject
+1
-1
有星星.png
egret/resource/assets/map/有星星.png
+0
-0
有星星2.png
egret/resource/assets/map/有星星2.png
+0
-0
有星星3.png
egret/resource/assets/map/有星星3.png
+0
-0
default.res.json
egret/resource/default.res.json
+11
-1
StarSkin.exml
egret/resource/skins/StarSkin.exml
+3
-2
MapBottomPart.ts
egret/src/mapScene/MapBottomPart.ts
+1
-0
MapRpeatPart.ts
egret/src/mapScene/MapRpeatPart.ts
+1
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+3
-2
MapStarComp.ts
egret/src/mapScene/MapStarComp.ts
+9
-5
MapTopPart.ts
egret/src/mapScene/MapTopPart.ts
+1
-0
getBackReward.json
mock/happyclear/getBackReward.json
+1
-1
homemax.json
mock/happyclear/homemax.json
+3
-13
No files found.
egret/resource/TextureMerger/map.tmproject
View file @
ea324e20
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png","../assets/map/有星星2.png","../assets/map/有星星3.png"]}
\ No newline at end of file
egret/resource/assets/map/有星星.png
View replaced file @
b54e9892
View file @
ea324e20
2.41 KB
|
W:
|
H:
2.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/map/有星星2.png
0 → 100644
View file @
ea324e20
3.03 KB
egret/resource/assets/map/有星星3.png
0 → 100644
View file @
ea324e20
2.41 KB
egret/resource/default.res.json
View file @
ea324e20
...
...
@@ -21,7 +21,7 @@
"name"
:
"buy3"
},
{
"keys"
:
"taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png"
,
"keys"
:
"taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png
,有星星2_png,有星星3_png
"
,
"name"
:
"map"
},
{
...
...
@@ -2942,6 +2942,16 @@
"url"
:
"assets/sign/sign_quan8.png"
,
"type"
:
"image"
,
"name"
:
"sign_quan8_png"
},
{
"url"
:
"assets/map/有星星2.png"
,
"type"
:
"image"
,
"name"
:
"有星星2_png"
},
{
"url"
:
"assets/map/有星星3.png"
,
"type"
:
"image"
,
"name"
:
"有星星3_png"
}
]
}
\ No newline at end of file
egret/resource/skins/StarSkin.exml
View file @
ea324e20
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"StarSkin"
width=
"67"
height=
"25"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
source=
"无星星_png"
/>
<e:Rect
id=
"rectmask"
width=
"67"
height=
"25"
/>
<e:Image
id=
"star"
source=
"有星星_png"
/>
<e:Image
id=
"star1"
source=
"有星星_png"
visible=
"false"
/>
<e:Image
id=
"star2"
source=
"有星星2_png"
visible=
"false"
/>
<e:Image
id=
"star3"
source=
"有星星3_png"
visible=
"false"
/>
</e:Skin>
\ No newline at end of file
egret/src/mapScene/MapBottomPart.ts
View file @
ea324e20
...
...
@@ -39,6 +39,7 @@ export default class MapBottomPart extends ComponentBase {
star
.
loadSkin
();
star
.
start
();
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
.
cacheAsBitmap
=
true
;
}
}
...
...
egret/src/mapScene/MapRpeatPart.ts
View file @
ea324e20
...
...
@@ -22,7 +22,7 @@ export default class MapRpeatPart extends ComponentBase {
star
.
loadSkin
();
star
.
start
();
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
.
cacheAsBitmap
=
true
;
}
this
[
'animal1'
].
visible
=
this
.
_index
%
2
;
...
...
egret/src/mapScene/MapScene.ts
View file @
ea324e20
...
...
@@ -26,7 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon";
import
TurntableIcon
from
"./icon/TurntableIcon"
;
let
doHelpFlag
=
false
;
let
doScratchHelpFlag
=
false
;
//
let doScratchHelpFlag = false;
// let adTag = false;
export
default
class
MapScene
extends
Scene
{
static
adData
;
...
...
@@ -63,7 +63,7 @@ export default class MapScene extends Scene {
NetManager
.
ins
.
showLog
(
getlogItem
(
36
));
},
code
,
dojoin
.
data
);
}
else
{
// 刮刮卡
le
t
_code
=
code
.
slice
(
8
);
cons
t
_code
=
code
.
slice
(
8
);
NetManager
.
ins
.
scratchDoHelp
((
success
,
res
)
=>
{
doHelpFlag
=
true
;
switch
(
true
)
{
...
...
@@ -848,6 +848,7 @@ export default class MapScene extends Scene {
];
const
colorFlilter
=
new
egret
.
ColorMatrixFilter
(
colorMatrix
);
d
.
filters
=
[
colorFlilter
];
d
.
cacheAsBitmap
=
true
;
}
get
skinKey
()
{
...
...
egret/src/mapScene/MapStarComp.ts
View file @
ea324e20
...
...
@@ -5,21 +5,25 @@ export default class MapStarComp extends ComponentBase {
super
.
start
();
this
.
x
=
15
;
this
.
y
=-
24
;
this
[
'star'
].
mask
=
this
[
'rectmask'
]
this
.
setStar
(
0
);
}
setStar
(
num
:
number
)
{
this
[
'star1'
].
visible
=
false
;
this
[
'star2'
].
visible
=
false
;
this
[
'star3'
].
visible
=
false
;
if
(
num
==
0
)
{
this
[
'rectmask'
].
width
=
0
;
}
else
if
(
num
==
1
)
{
this
[
'
rectmask'
].
width
=
23
;
this
[
'
star1'
].
visible
=
true
;
}
else
if
(
num
==
2
)
{
this
[
'
rectmask'
].
width
=
46
;
this
[
'
star2'
].
visible
=
true
;
}
else
if
(
num
==
3
)
{
this
[
'
rectmask'
].
width
=
67
;
this
[
'
star3'
].
visible
=
true
;
}
this
.
cacheAsBitmap
=
true
;
}
...
...
egret/src/mapScene/MapTopPart.ts
View file @
ea324e20
...
...
@@ -15,6 +15,7 @@ export default class MapTopPart extends ComponentBase {
star
.
loadSkin
();
star
.
start
();
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
.
cacheAsBitmap
=
true
;
}
...
...
mock/happyclear/getBackReward.json
View file @
ea324e20
...
...
@@ -16,6 +16,6 @@
"value"
:
"虚拟商品标识符"
},
"desc"
:
"OK"
,
"success"
:
1
,
"success"
:
0
,
"timestamp"
:
1572079274940
}
\ No newline at end of file
mock/happyclear/homemax.json
View file @
ea324e20
...
...
@@ -980,32 +980,22 @@
{
"levelNum"
:
195
,
"maxScore"
:
47440
,
"stars"
:
3
"stars"
:
2
},
{
"levelNum"
:
196
,
"maxScore"
:
47440
,
"stars"
:
3
"stars"
:
1
},
{
"levelNum"
:
197
,
"maxScore"
:
47440
,
"stars"
:
3
"stars"
:
0
},
{
"levelNum"
:
198
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
199
,
"maxScore"
:
47440
,
"stars"
:
3
},
{
"levelNum"
:
200
,
"maxScore"
:
47440
,
"stars"
:
3
}
],
"remainProp"
:
[
...
...
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