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
0ec548c5
Commit
0ec548c5
authored
Oct 03, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页动画
parent
69e69fba
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
32 deletions
+45
-32
workspace.xml
.idea/workspace.xml
+27
-32
map_bg3.jpg
resource/map/map_bg3.jpg
+0
-0
res.json
resource/res.json
+4
-0
ResJson.ts
src/ResJson.ts
+4
-0
LoadingScene.ts
src/scene/LoadingScene.ts
+1
-0
MapTop.ts
src/scene/map/MapTop.ts
+9
-0
No files found.
.idea/workspace.xml
View file @
0ec548c5
This diff is collapsed.
Click to expand it.
resource/map/map_bg3.jpg
View replaced file @
69e69fba
View file @
0ec548c5
365 KB
|
W:
|
H:
361 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/res.json
View file @
0ec548c5
...
@@ -76,6 +76,10 @@
...
@@ -76,6 +76,10 @@
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"name"
:
"mapAroma1"
"name"
:
"mapAroma1"
},
},
{
"keys"
:
"Aroma_2_0.png,Aroma_2_1.png,Aroma_2_10.png,Aroma_2_11.png,Aroma_2_12.png,Aroma_2_13.png,Aroma_2_14.png,Aroma_2_15.png,Aroma_2_16.png,Aroma_2_17.png,Aroma_2_18.png,Aroma_2_19.png,Aroma_2_2.png,Aroma_2_20.png,Aroma_2_21.png,Aroma_2_22.png,Aroma_2_23.png,Aroma_2_24.png,Aroma_2_25.png,Aroma_2_26.png,Aroma_2_27.png,Aroma_2_28.png,Aroma_2_29.png,Aroma_2_3.png,Aroma_2_30.png,Aroma_2_31.png,Aroma_2_32.png,Aroma_2_33.png,Aroma_2_34.png,Aroma_2_35.png,Aroma_2_36.png,Aroma_2_37.png,Aroma_2_38.png,Aroma_2_4.png,Aroma_2_5.png,Aroma_2_6.png,Aroma_2_7.png,Aroma_2_8.png,Aroma_2_9.png"
,
"name"
:
"mapAroma2"
},
{
{
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"name"
:
"mapCat"
"name"
:
"mapCat"
...
...
src/ResJson.ts
View file @
0ec548c5
...
@@ -76,6 +76,10 @@ export const ResJson = {
...
@@ -76,6 +76,10 @@ export const ResJson = {
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"name"
:
"mapAroma1"
"name"
:
"mapAroma1"
},
},
{
"keys"
:
"Aroma_2_0.png,Aroma_2_1.png,Aroma_2_10.png,Aroma_2_11.png,Aroma_2_12.png,Aroma_2_13.png,Aroma_2_14.png,Aroma_2_15.png,Aroma_2_16.png,Aroma_2_17.png,Aroma_2_18.png,Aroma_2_19.png,Aroma_2_2.png,Aroma_2_20.png,Aroma_2_21.png,Aroma_2_22.png,Aroma_2_23.png,Aroma_2_24.png,Aroma_2_25.png,Aroma_2_26.png,Aroma_2_27.png,Aroma_2_28.png,Aroma_2_29.png,Aroma_2_3.png,Aroma_2_30.png,Aroma_2_31.png,Aroma_2_32.png,Aroma_2_33.png,Aroma_2_34.png,Aroma_2_35.png,Aroma_2_36.png,Aroma_2_37.png,Aroma_2_38.png,Aroma_2_4.png,Aroma_2_5.png,Aroma_2_6.png,Aroma_2_7.png,Aroma_2_8.png,Aroma_2_9.png"
,
"name"
:
"mapAroma2"
},
{
{
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"name"
:
"mapCat"
"name"
:
"mapCat"
...
...
src/scene/LoadingScene.ts
View file @
0ec548c5
...
@@ -130,6 +130,7 @@ export class LoadingScene extends Scene {
...
@@ -130,6 +130,7 @@ export class LoadingScene extends Scene {
await
RES
.
loadGroup
(
"mapCat"
);
await
RES
.
loadGroup
(
"mapCat"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.8
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.8
);
await
RES
.
loadGroup
(
"mapAroma1"
);
await
RES
.
loadGroup
(
"mapAroma1"
);
await
RES
.
loadGroup
(
"mapAroma2"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.9
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.9
);
await
RES
.
loadGroup
(
"mapTinyBalloon"
);
await
RES
.
loadGroup
(
"mapTinyBalloon"
);
...
...
src/scene/map/MapTop.ts
View file @
0ec548c5
...
@@ -49,6 +49,15 @@ export default class MapTop extends MapPart {
...
@@ -49,6 +49,15 @@ export default class MapTop extends MapPart {
},
1000
)
},
1000
)
);
);
const
aromaTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
106
;
i
++
)
{
aromaTexture
.
push
(
RES
.
getRes
(
`Aroma_2_
${
i
}
.png`
));
}
const
aroma
=
this
.
addChild
(
new
FrameAni
(
aromaTexture
));
aroma
.
position
.
set
(
610
,
910
);
aroma
.
scaleX
=
-
1
;
aroma
.
play
(
-
1
);
const
foot
=
this
.
addChild
(
Tools
.
getSprite
(
'top_foot.png'
));
const
foot
=
this
.
addChild
(
Tools
.
getSprite
(
'top_foot.png'
));
foot
.
position
.
set
(
-
24
,
758
);
foot
.
position
.
set
(
-
24
,
758
);
...
...
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