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
965bf3c6
Commit
965bf3c6
authored
Jul 21, 2020
by
wjf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab2.dui88.com:MrKwon/babycare_xiaoxiao
parents
a6a7d88e
c3be0e95
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
27 deletions
+39
-27
workspace.xml
.idea/workspace.xml
+30
-27
babycare.getIndex.json
mock/miniTb/babycare.getIndex.json
+1
-0
Tools.ts
src/Tools.ts
+1
-0
MapScene.ts
src/scene/map/MapScene.ts
+7
-0
No files found.
.idea/workspace.xml
View file @
965bf3c6
...
...
@@ -3,13 +3,8 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9cef0552-af3c-4a1c-be1f-dc41ebe5b6db"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/babycare.gameOver.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.gameOver.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/StartPanelPrize/prize.png"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/SuccessPanel/道具.png"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/res.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/res.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/ResJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/ResJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/TaoBaoNet.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/TaoBaoNet.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/Tools.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Tools.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
...
@@ -92,8 +87,8 @@
</configuration>
<recent_temporary>
<list>
<item
itemvalue=
"npm.flushRes"
/>
<item
itemvalue=
"npm.dev"
/>
<item
itemvalue=
"npm.flushRes"
/>
</list>
</recent_temporary>
</component>
...
...
@@ -116,7 +111,8 @@
<workItem
from=
"1594777357248"
duration=
"24313000"
/>
<workItem
from=
"1594864188027"
duration=
"20343000"
/>
<workItem
from=
"1594950738970"
duration=
"22032000"
/>
<workItem
from=
"1595209499266"
duration=
"18405000"
/>
<workItem
from=
"1595209499266"
duration=
"21574000"
/>
<workItem
from=
"1595296313180"
duration=
"8665000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"111"
>
<created>
1594122339119
</created>
...
...
@@ -286,7 +282,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1595216703734
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"25"
/>
<task
id=
"LOCAL-00025"
summary=
"Success Panel Effect!"
>
<created>
1595241101211
</created>
<option
name=
"number"
value=
"00025"
/>
<option
name=
"presentableId"
value=
"LOCAL-00025"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1595241101211
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"26"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -312,30 +315,30 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"251"
y=
"471"
key=
"ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1594113080922"
/>
<state
x=
"754"
y=
"183"
key=
"CommitChangelistDialog2"
timestamp=
"15952
16703539
"
>
<state
x=
"754"
y=
"183"
key=
"CommitChangelistDialog2"
timestamp=
"15952
41100540
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"754"
y=
"183"
key=
"CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"15952
16703539
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1595229554319
"
>
<state
x=
"754"
y=
"183"
key=
"CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"15952
41100540
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1595296522573
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
width=
"8
82"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1594827479519
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595229554319
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1595229554318
"
>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595254984751
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595296522573
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"1595296522572
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
width=
"8
82"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1594827479518
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595229554318
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1595229554316
"
>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595254984746
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595296522572
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"1595296522571
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
width=
"8
82"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1594827479517
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595229554316
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1595229554318
"
>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595254984745
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595296522571
"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"1595296522573
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
width=
"8
82"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027"
timestamp=
"159482747951
8"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595229554318
"
/>
<state
width=
"8
74"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027"
timestamp=
"159525498474
8"
/>
<state
width=
"8
66"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595296522573
"
/>
<state
x=
"82"
y=
"353"
key=
"IDE.errors.dialog"
timestamp=
"1594777965326"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
...
...
@@ -348,10 +351,10 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"300"
y=
"248"
key=
"SettingsEditor/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1594798992724"
/>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"15952
16704830
"
>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"15952
41102296
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"15952
16704830
"
/>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"15952
41102296
"
/>
<state
x=
"87"
y=
"216"
key=
"com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser"
timestamp=
"1594705166397"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
...
...
@@ -376,9 +379,9 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"157"
y=
"286"
key=
"run.anything.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1594712635697"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"1595
231652652
"
>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"1595
303325151
"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595
231652652
"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595
303325151
"
/>
</component>
</project>
\ No newline at end of file
mock/miniTb/babycare.getIndex.json
View file @
965bf3c6
...
...
@@ -4,6 +4,7 @@
"message"
:
"OK"
,
"data"
:
{
"power"
:
0
,
"loginAddPower"
:
true
,
"currentLevel"
:
120
,
"tools"
:
{
"STEPS"
:
1
,
...
...
src/Tools.ts
View file @
965bf3c6
...
...
@@ -40,6 +40,7 @@ export class Tools {
*/
public
static
gameData
:
{
"currentLevel"
:
number
,
"loginAddPower"
:
boolean
,
"visitors"
:
{
"score"
:
number
,
"level"
:
number
,
...
...
src/scene/map/MapScene.ts
View file @
965bf3c6
...
...
@@ -13,6 +13,8 @@ import Sprite = FYGE.Sprite;
import
Texture
=
FYGE
.
Texture
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
import
{
showPanel
}
from
"../../../module/ctrls"
;
import
{
FreePowerPanel
}
from
"../../panels/FreePowerPanel"
;
export
class
MapScene
extends
Scene
{
private
mapContainer
:
Container
=
null
;
...
...
@@ -51,6 +53,11 @@ export class MapScene extends Scene {
this
.
updateMapCheck
();
// showPanel(SuccessNoPrizePanel)
if
(
Tools
.
gameData
.
loginAddPower
&&
!
Tools
.
gameData
.
isFristLogin
)
{
showPanel
(
FreePowerPanel
);
Tools
.
gameData
.
loginAddPower
=
false
;
}
}
private
updateMapCheck
()
{
...
...
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