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
0cdbb8a3
Commit
0cdbb8a3
authored
Jul 13, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
7cfb78dc
Changes
25
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
7 additions
and
7 deletions
+7
-7
svgaParser.min.js
libs/svgaParser.min.js
+1
-1
ele0.png
resource/common/ele0.png
+0
-0
ele1.png
resource/common/ele1.png
+0
-0
ele10.png
resource/common/ele10.png
+0
-0
ele11.png
resource/common/ele11.png
+0
-0
ele12.png
resource/common/ele12.png
+0
-0
ele13.png
resource/common/ele13.png
+0
-0
ele14.png
resource/common/ele14.png
+0
-0
ele2.png
resource/common/ele2.png
+0
-0
ele3.png
resource/common/ele3.png
+0
-0
ele4.png
resource/common/ele4.png
+0
-0
ele5.png
resource/common/ele5.png
+0
-0
ele6.png
resource/common/ele6.png
+0
-0
ele7.png
resource/common/ele7.png
+0
-0
ele8.png
resource/common/ele8.png
+0
-0
ele9.png
resource/common/ele9.png
+0
-0
bubleEle0.png
resource/playScene/bubleEle0.png
+0
-0
bubleEle1.png
resource/playScene/bubleEle1.png
+0
-0
bubleEle2.png
resource/playScene/bubleEle2.png
+0
-0
bubleEle3.png
resource/playScene/bubleEle3.png
+0
-0
bubleEle4.png
resource/playScene/bubleEle4.png
+0
-0
Main.ts
src/Main.ts
+2
-2
PlayScene.ts
src/scene/PlayScene.ts
+1
-1
MagicLionAni.ts
src/something/anis/MagicLionAni.ts
+1
-1
MagicLionBgAni.ts
src/something/periodAni/MagicLionBgAni.ts
+2
-2
No files found.
libs/svgaParser.min.js
View file @
0cdbb8a3
This diff is collapsed.
Click to expand it.
resource/
playScene
/ele0.png
→
resource/
common
/ele0.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele1.png
→
resource/
common
/ele1.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele10.png
→
resource/
common
/ele10.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele11.png
→
resource/
common
/ele11.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele12.png
→
resource/
common
/ele12.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele13.png
→
resource/
common
/ele13.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele14.png
→
resource/
common
/ele14.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele2.png
→
resource/
common
/ele2.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele3.png
→
resource/
common
/ele3.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele4.png
→
resource/
common
/ele4.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele5.png
→
resource/
common
/ele5.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele6.png
→
resource/
common
/ele6.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele7.png
→
resource/
common
/ele7.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele8.png
→
resource/
common
/ele8.png
View file @
0cdbb8a3
File moved
resource/
playScene
/ele9.png
→
resource/
common
/ele9.png
View file @
0cdbb8a3
File moved
resource/playScene/bubleEle0.png
0 → 100644
View file @
0cdbb8a3
10.1 KB
resource/playScene/bubleEle1.png
0 → 100644
View file @
0cdbb8a3
13.9 KB
resource/playScene/bubleEle2.png
0 → 100644
View file @
0cdbb8a3
13.3 KB
resource/playScene/bubleEle3.png
0 → 100644
View file @
0cdbb8a3
12.8 KB
resource/playScene/bubleEle4.png
0 → 100644
View file @
0cdbb8a3
13 KB
src/Main.ts
View file @
0cdbb8a3
...
@@ -78,8 +78,8 @@ export class Main {
...
@@ -78,8 +78,8 @@ export class Main {
//隐藏加载中
//隐藏加载中
// if (document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none";
// if (document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none";
//打开开始场景
//打开开始场景
changeScene
(
MapScene
);
//
changeScene(MapScene);
//
changeScene(PlayScene);
changeScene
(
PlayScene
);
// changeScene(SStartScene);
// changeScene(SStartScene);
// changeScene(StoryScene);
// changeScene(StoryScene);
// changeScene(AdoptScene);
// changeScene(AdoptScene);
...
...
src/scene/PlayScene.ts
View file @
0cdbb8a3
...
@@ -411,7 +411,7 @@ export class PlayScene extends Scene {
...
@@ -411,7 +411,7 @@ export class PlayScene extends Scene {
//bonusTime引导,备用的,无需加入场景
//bonusTime引导,备用的,无需加入场景
this
.
bonusTime
=
new
BonusTime
();
this
.
bonusTime
=
new
BonusTime
();
this
.
bonusTime
.
x
=
375
this
.
bonusTime
.
x
=
375
this
.
bonusTime
.
y
=
1624
/
2
;
this
.
bonusTime
.
y
=
1624
/
2
-
layers
.
stageOffsetY
;
}
}
initTarget
()
{
initTarget
()
{
//通关目标,如果通关目标是元素时,赋值this.passElements,否则
//通关目标,如果通关目标是元素时,赋值this.passElements,否则
...
...
src/something/anis/MagicLionAni.ts
View file @
0cdbb8a3
...
@@ -46,7 +46,7 @@ export class MagicLionAni extends Ani {
...
@@ -46,7 +46,7 @@ export class MagicLionAni extends Ani {
}
}
play
()
{
play
()
{
this
.
downImage
.
scaleX
=
this
.
downImage
.
scaleY
=
1
;
this
.
downImage
.
scaleX
=
this
.
downImage
.
scaleY
=
0.7
//
1;
this
.
downImage
.
alpha
=
1
;
this
.
downImage
.
alpha
=
1
;
this
.
upImage
.
scaleX
=
this
.
upImage
.
scaleY
=
1
;
this
.
upImage
.
scaleX
=
this
.
upImage
.
scaleY
=
1
;
this
.
upImage
.
alpha
=
1
;
this
.
upImage
.
alpha
=
1
;
...
...
src/something/periodAni/MagicLionBgAni.ts
View file @
0cdbb8a3
...
@@ -17,7 +17,7 @@ export class MagicLionBgAni extends FYGE.Container {
...
@@ -17,7 +17,7 @@ export class MagicLionBgAni extends FYGE.Container {
this
.
showImage
.
anchorTexture
.
set
(
0.5
,
0.5
);
this
.
showImage
.
anchorTexture
.
set
(
0.5
,
0.5
);
// this.showImage.anchorOffsetX = texture.textureWidth / 2;
// this.showImage.anchorOffsetX = texture.textureWidth / 2;
// this.showImage.anchorOffsetY = texture.textureHeight / 2;
// this.showImage.anchorOffsetY = texture.textureHeight / 2;
//
this.showImage.scaleX = this.showImage.scaleY = 0.7
this
.
showImage
.
scaleX
=
this
.
showImage
.
scaleY
=
0.7
this
.
addChild
(
this
.
showImage
);
this
.
addChild
(
this
.
showImage
);
this
.
addEventListener
(
FYGE
.
Event
.
ENTER_FRAME
,
this
.
onEnterFrame
,
this
);
this
.
addEventListener
(
FYGE
.
Event
.
ENTER_FRAME
,
this
.
onEnterFrame
,
this
);
...
@@ -25,7 +25,7 @@ export class MagicLionBgAni extends FYGE.Container {
...
@@ -25,7 +25,7 @@ export class MagicLionBgAni extends FYGE.Container {
other
.
anchorTexture
.
set
(
0.5
,
0.5
);
other
.
anchorTexture
.
set
(
0.5
,
0.5
);
// other.anchorOffsetX = texture.textureWidth / 2;
// other.anchorOffsetX = texture.textureWidth / 2;
// other.anchorOffsetY = texture.textureHeight / 2;
// other.anchorOffsetY = texture.textureHeight / 2;
//
other.scaleX = other.scaleY = 0.7
other
.
scaleX
=
other
.
scaleY
=
0.7
this
.
addChild
(
other
);
this
.
addChild
(
other
);
this
.
addEventListener
(
FYGE
.
Event
.
ENTER_FRAME
,
()
=>
{
this
.
addEventListener
(
FYGE
.
Event
.
ENTER_FRAME
,
()
=>
{
other
.
rotation
-=
5
;
other
.
rotation
-=
5
;
...
...
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