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
48b91a59
Commit
48b91a59
authored
Feb 06, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20210206
parent
3d51b511
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
28 deletions
+14
-28
workspace.xml
.idea/workspace.xml
+12
-10
SkinJson.ts
src/SkinJson.ts
+0
-10
StartPanel.ts
src/panels/StartPanel.ts
+0
-6
LoadingScene.ts
src/scene/LoadingScene.ts
+2
-2
No files found.
.idea/workspace.xml
View file @
48b91a59
...
@@ -2,15 +2,9 @@
...
@@ -2,15 +2,9 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<list
default=
"true"
id=
"0d3cb18d-e144-41a0-bc8b-4877c2e1fef1"
name=
"默认的"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/resource/FailedPanel/failedBtn.png"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/resource/FailedPanel/failedTxt.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/FailedPanel/失败Bg.png"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/FailedPanel/失败重新闯关.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/SkinJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/SkinJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/SkinJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/SkinJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/
FailedPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/Failed
Panel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/panels/
StartPanel.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/panels/Start
Panel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/LoadingScene.ts"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
@@ -115,7 +109,7 @@
...
@@ -115,7 +109,7 @@
<option
name=
"presentableId"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1612576978320
</updated>
<updated>
1612576978320
</updated>
<workItem
from=
"1612576979459"
duration=
"13000"
/>
<workItem
from=
"1612576979459"
duration=
"13000"
/>
<workItem
from=
"1612577003915"
duration=
"
19756
000"
/>
<workItem
from=
"1612577003915"
duration=
"
21073
000"
/>
</task>
</task>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<task
id=
"LOCAL-00001"
summary=
"斐乐消消乐"
>
<created>
1612581213298
</created>
<created>
1612581213298
</created>
...
@@ -166,7 +160,14 @@
...
@@ -166,7 +160,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1612602696160
</updated>
<updated>
1612602696160
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"8"
/>
<task
id=
"LOCAL-00008"
summary=
"Failed"
>
<created>
1612603219646
</created>
<option
name=
"number"
value=
"00008"
/>
<option
name=
"presentableId"
value=
"LOCAL-00008"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1612603219647
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"9"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
@@ -182,6 +183,7 @@
...
@@ -182,6 +183,7 @@
<MESSAGE
value=
"Rule"
/>
<MESSAGE
value=
"Rule"
/>
<MESSAGE
value=
"NoEnergyPanel"
/>
<MESSAGE
value=
"NoEnergyPanel"
/>
<MESSAGE
value=
"NoStep"
/>
<MESSAGE
value=
"NoStep"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"NoStep"
/>
<MESSAGE
value=
"Failed"
/>
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"Failed"
/>
</component>
</component>
</project>
</project>
\ No newline at end of file
src/SkinJson.ts
View file @
48b91a59
...
@@ -329,16 +329,6 @@ export const SkinJson = {
...
@@ -329,16 +329,6 @@ export const SkinJson = {
},
},
"id"
:
"startBtn"
"id"
:
"startBtn"
},
},
{
"name"
:
"开始闯关不要能量"
,
"x"
:
163
,
"y"
:
1120
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开始闯关不要能量.png"
},
"id"
:
"startBtn2"
},
{
{
"name"
:
"prize"
,
"name"
:
"prize"
,
"x"
:
130
,
"x"
:
130
,
...
...
src/panels/StartPanel.ts
View file @
48b91a59
...
@@ -37,7 +37,6 @@ export class StartPanel extends Panel {
...
@@ -37,7 +37,6 @@ export class StartPanel extends Panel {
closeBtn
:
FYGE
.
Button
;
closeBtn
:
FYGE
.
Button
;
startBtn
:
FYGE
.
Button
;
startBtn
:
FYGE
.
Button
;
startBtn2
:
FYGE
.
Button
;
tipsTex
:
FYGE
.
TextField
;
tipsTex
:
FYGE
.
TextField
;
checkTex
:
FYGE
.
TextField
;
checkTex
:
FYGE
.
TextField
;
prizeImg
:
Sprite
;
prizeImg
:
Sprite
;
...
@@ -48,9 +47,6 @@ export class StartPanel extends Panel {
...
@@ -48,9 +47,6 @@ export class StartPanel extends Panel {
this
.
checkTex
.
x
=
0
;
this
.
checkTex
.
x
=
0
;
this
.
checkTex
.
text
=
`第\t
${
this
.
data
.
level
}
\t关`
;
this
.
checkTex
.
text
=
`第\t
${
this
.
data
.
level
}
\t关`
;
this
.
startBtn
.
visible
=
!
this
.
data
.
isPlayed
;
this
.
startBtn2
.
visible
=
this
.
data
.
isPlayed
;
this
.
addChild
(
new
StartTarget
(
this
.
data
.
level
))
this
.
addChild
(
new
StartTarget
(
this
.
data
.
level
))
.
position
.
set
(
0
,
682
);
.
position
.
set
(
0
,
682
);
...
@@ -89,13 +85,11 @@ export class StartPanel extends Panel {
...
@@ -89,13 +85,11 @@ export class StartPanel extends Panel {
initEvents
()
{
initEvents
()
{
super
.
initEvents
();
super
.
initEvents
();
this
.
startBtn
.
addEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
this
.
startBtn
.
addEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
this
.
startBtn2
.
addEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
}
}
removeEvents
()
{
removeEvents
()
{
super
.
removeEvents
();
super
.
removeEvents
();
this
.
startBtn
.
removeEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
this
.
startBtn
.
removeEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
this
.
startBtn2
.
removeEventListener
(
MouseEvent
.
CLICK
,
this
.
startGame
,
this
);
}
}
}
}
...
...
src/scene/LoadingScene.ts
View file @
48b91a59
...
@@ -93,8 +93,8 @@ export class LoadingScene extends Scene {
...
@@ -93,8 +93,8 @@ export class LoadingScene extends Scene {
.
call
(()
=>
{
.
call
(()
=>
{
if
(
pro
>=
1
)
{
if
(
pro
>=
1
)
{
this
.
removeEventListener
(
FYGE
.
Event
.
PROGRESS
,
this
.
progressEvent
,
this
);
this
.
removeEventListener
(
FYGE
.
Event
.
PROGRESS
,
this
.
progressEvent
,
this
);
//
changeScene(MapScene, {from: "loading"})
changeScene
(
MapScene
,
{
from
:
"loading"
})
changeScene
(
PlayScene
,
{
chapter
:
1
});
//
changeScene(PlayScene, { chapter: 1 });
// changeScene(LotteryScene,{level:1});
// changeScene(LotteryScene,{level:1});
}
}
})
})
...
...
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