Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaoleTuia
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
王剑峰
xiaoxiaoleTuia
Commits
603b0522
Commit
603b0522
authored
Feb 28, 2020
by
张华挺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
award
parent
c5cff6ab
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
16 deletions
+3
-16
newTuiaIcon.svga
egret/resource/assets/svgas/newTuiaIcon.svga
+0
-0
MapSkin.exml
egret/resource/skins/MapSkin.exml
+1
-9
MainScene.ts
egret/src/mainScene/MainScene.ts
+0
-2
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-4
getIconAward.json
mock/tuia/getIconAward.json
+1
-1
No files found.
egret/resource/assets/svgas/newTuiaIcon.svga
0 → 100644
View file @
603b0522
File added
egret/resource/skins/MapSkin.exml
View file @
603b0522
...
@@ -85,15 +85,7 @@
...
@@ -85,15 +85,7 @@
<e:Image
id=
"tuiaTips"
y=
"0"
touchEnabled=
"false"
source=
"dailingqu_png"
/>
<e:Image
id=
"tuiaTips"
y=
"0"
touchEnabled=
"false"
source=
"dailingqu_png"
/>
</e:Group>
</e:Group>
</e:Group>
</e:Group>
<e:Group
id=
"newTuiaGroup"
y=
"325"
right=
"30"
visible=
"true"
>
<e:Group
id=
"newTuiaGroup"
y=
"325"
right=
"200"
visible=
"false"
>
<e:Button
label=
""
y=
"0"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<!-- <e:Image width="100%" height="100%" source="newVideoIcon_gif" source.down="newVideoIcon_gif" source.disabled="newVideoIcon_gif"/> -->
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:skinName>
</e:Button>
</e:Group>
</e:Group>
<e:Group
id=
"friendBtn"
x=
"-0.12"
y=
"22.31"
width=
"171"
height=
"120"
>
<e:Group
id=
"friendBtn"
x=
"-0.12"
y=
"22.31"
width=
"171"
height=
"120"
>
...
...
egret/src/mainScene/MainScene.ts
View file @
603b0522
...
@@ -319,7 +319,6 @@ export default class MainScene extends Scene {
...
@@ -319,7 +319,6 @@ export default class MainScene extends Scene {
*/
*/
initSvgas
()
{
initSvgas
()
{
var
resPath
=
getResPath
();
var
resPath
=
getResPath
();
console
.
log
(
resPath
)
if
(
!
svgaParser
)
svgaParser
=
new
window
[
"SVGA"
].
Parser
();
if
(
!
svgaParser
)
svgaParser
=
new
window
[
"SVGA"
].
Parser
();
var
svgas
=
[
"amazing"
,
"great"
,
"wonderful"
,
"bonusTime"
];
var
svgas
=
[
"amazing"
,
"great"
,
"wonderful"
,
"bonusTime"
];
//如果有节日的加
//如果有节日的加
...
@@ -349,7 +348,6 @@ export default class MainScene extends Scene {
...
@@ -349,7 +348,6 @@ export default class MainScene extends Scene {
}
}
//初始化界面ui,,道具弄在这里s
//初始化界面ui,,道具弄在这里s
initUi
()
{
initUi
()
{
console
.
log
(
1234123
)
//第几关
//第几关
var
chapterTxt
=
new
ChapterNum
();
var
chapterTxt
=
new
ChapterNum
();
chapterTxt
.
num
=
this
.
chapter
>>
0
;
chapterTxt
.
num
=
this
.
chapter
>>
0
;
...
...
egret/src/mapScene/MapScene.ts
View file @
603b0522
...
@@ -88,10 +88,7 @@ export default class MapScene extends Scene {
...
@@ -88,10 +88,7 @@ export default class MapScene extends Scene {
this
.
bindTuiaActivity
(
this
[
"tuiaGroup"
]);
this
.
bindTuiaActivity
(
this
[
"tuiaGroup"
]);
break
;
break
;
case
0
:
case
0
:
// var data = RES.getRes("newVideoIcon_move");
await
loadSvga
(
getResPath
()
+
'resource/assets/svgas/newTuiaIcon.svga'
,
this
[
'newTuiaGroup'
]);
// var txtr = RES.getRes("newVideoIcon_png");
// var mcFactory:egret.MovieClipDataFactory = new egret.MovieClipDataFactory( data, txtr );
// console.log(mcFactory)
this
.
bindTuiaActivity
(
this
[
"newTuiaGroup"
]);
this
.
bindTuiaActivity
(
this
[
"newTuiaGroup"
]);
break
;
break
;
}
}
...
...
mock/tuia/getIconAward.json
View file @
603b0522
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"data"
:{
"data"
:{
"changeCoin"
:
10
,
"changeCoin"
:
10
,
"coinBalance"
:
50
,
"coinBalance"
:
50
,
"remainAwardTimes"
:
0
"remainAwardTimes"
:
1
},
},
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"success"
:
true
,
"success"
:
true
,
...
...
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