Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
翁阳
babycare_xiaoxiao
Commits
d1404656
Commit
d1404656
authored
Jul 20, 2020
by
wjf
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
d5821064
60b59494
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
845 deletions
+53
-845
workspace.xml
.idea/workspace.xml
+37
-25
babycare.gameOver.json
mock/miniTb/babycare.gameOver.json
+7
-3
babycare.getIndex.json
mock/miniTb/babycare.getIndex.json
+1
-1
prize.png
resource/StartPanelPrize/prize.png
+0
-0
道具.png
resource/SuccessPanel/道具.png
+0
-0
res.json
resource/res.json
+2
-2
ResJson.ts
src/ResJson.ts
+4
-811
TaoBaoNet.ts
src/TaoBaoNet.ts
+1
-0
MapScene.ts
src/scene/map/MapScene.ts
+1
-3
No files found.
.idea/workspace.xml
View file @
d1404656
This diff is collapsed.
Click to expand it.
mock/miniTb/babycare.gameOver.json
View file @
d1404656
...
@@ -2,10 +2,14 @@
...
@@ -2,10 +2,14 @@
"code"
:
"000000"
,
"code"
:
"000000"
,
"data"
:
{
"data"
:
{
"currentLevel"
:
11
,
"currentLevel"
:
11
,
"prize"
:
{},
"isPrizeLevel"
:
false
,
"isPrizeLevel"
:
false
,
"tool"
:
{}
"tool"
:
{
"type"
:
"HAMMERS"
},
"prize"
:
{
"image"
:
"https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png"
}
},
},
"success"
:
true
,
"success"
:
true
,
"message"
:
"成功"
"message"
:
"成功"
}
}
\ No newline at end of file
mock/miniTb/babycare.getIndex.json
View file @
d1404656
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"message"
:
"OK"
,
"message"
:
"OK"
,
"data"
:
{
"data"
:
{
"power"
:
0
,
"power"
:
0
,
"currentLevel"
:
1
,
"currentLevel"
:
1
20
,
"tools"
:
{
"tools"
:
{
"STEPS"
:
1
,
"STEPS"
:
1
,
"BOOMS"
:
2
,
"BOOMS"
:
2
,
...
...
resource/StartPanelPrize/prize.png
deleted
100644 → 0
View file @
d5821064
3.68 KB
resource/SuccessPanel/道具.png
deleted
100644 → 0
View file @
d5821064
28.8 KB
resource/res.json
View file @
d1404656
...
@@ -89,11 +89,11 @@
...
@@ -89,11 +89,11 @@
"name"
:
"StartPanel"
"name"
:
"StartPanel"
},
},
{
{
"keys"
:
"
prize.png,
关卡弹窗Bg.png"
,
"keys"
:
"关卡弹窗Bg.png"
,
"name"
:
"StartPanelPrize"
"name"
:
"StartPanelPrize"
},
},
{
{
"keys"
:
"star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具
.png,道具
圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png"
,
"keys"
:
"star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png"
,
"name"
:
"SuccessPanel"
"name"
:
"SuccessPanel"
},
},
{
{
...
...
src/ResJson.ts
View file @
d1404656
This diff is collapsed.
Click to expand it.
src/TaoBaoNet.ts
View file @
d1404656
...
@@ -160,6 +160,7 @@ let fc;
...
@@ -160,6 +160,7 @@ let fc;
* @param netName
* @param netName
* @param parameter
* @param parameter
* @param callback
* @param callback
* @param hideMsg
*/
*/
export
function
sendTbNet
(
export
function
sendTbNet
(
netName
:
TbNetName
,
netName
:
TbNetName
,
...
...
src/scene/map/MapScene.ts
View file @
d1404656
...
@@ -13,8 +13,6 @@ import Sprite = FYGE.Sprite;
...
@@ -13,8 +13,6 @@ import Sprite = FYGE.Sprite;
import
Texture
=
FYGE
.
Texture
;
import
Texture
=
FYGE
.
Texture
;
import
Tween
=
FYGE
.
Tween
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
import
Ease
=
FYGE
.
Ease
;
import
{
sendTbNet
,
TbNetName
}
from
"../../TaoBaoNet"
;
import
{
showToast
}
from
"../../../module/ctrls"
;
export
class
MapScene
extends
Scene
{
export
class
MapScene
extends
Scene
{
private
mapContainer
:
Container
=
null
;
private
mapContainer
:
Container
=
null
;
...
@@ -228,7 +226,7 @@ export class MapScene extends Scene {
...
@@ -228,7 +226,7 @@ export class MapScene extends Scene {
// // },
// // },
// prize: {
// prize: {
// image: 'https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png',
// image: 'https://img.alicdn.com/imgextra/i1/2275046294/O1CN01xTeKMI1wMhRux48Y6_!!2275046294-2-miniprogram.png',
// }
// }
]
// });
// });
}
}
...
...
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