Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
崔立强
db-game-template
Commits
48f848c6
Commit
48f848c6
authored
May 08, 2021
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
42f490f1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
.DS_Store
egret/resource/.DS_Store
+0
-0
.DS_Store
egret/resource/assets/.DS_Store
+0
-0
guide1_btn.png
egret/resource/assets/guide/guide1_btn.png
+0
-0
guide1_tip.png
egret/resource/assets/guide/guide1_tip.png
+0
-0
GuideSkin.exml
egret/resource/skins/GuideSkin.exml
+11
-11
Guide.ts
egret/src/Panels/Guide.ts
+2
-2
No files found.
egret/resource/.DS_Store
View file @
48f848c6
No preview for this file type
egret/resource/assets/.DS_Store
View file @
48f848c6
No preview for this file type
egret/resource/assets/guide/guide1_btn.png
View replaced file @
42f490f1
View file @
48f848c6
1.84 KB
|
W:
|
H:
2.23 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/guide/guide1_tip.png
View replaced file @
42f490f1
View file @
48f848c6
14.3 KB
|
W:
|
H:
31.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/skins/GuideSkin.exml
View file @
48f848c6
...
...
@@ -5,17 +5,17 @@
<e:Image
id=
"bg"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"0"
verticalCenter=
"0"
source=
"guide_bg_jpg"
visible=
"false"
/>
<e:Group
id=
"guideBack"
left=
"0"
right=
"0"
horizontalCenter=
"0"
verticalCenter=
"0"
height=
"1624"
touchChildren=
"false"
touchEnabled=
"false"
/>
<e:Rect
verticalCenter=
"0"
top=
"0"
horizontalCenter=
"0"
left=
"0"
right=
"0"
bottom=
"0"
fillAlpha=
"0.6"
/>
<e:Group
id=
"guide1"
left=
"0"
right=
"0"
horizontalCenter=
"0"
verticalCenter=
"0"
height=
"1624"
visible=
"false"
>
<e:Image
source=
"plant_land_active_png"
x=
"184"
y=
"550
"
/>
<e:Image
id=
"guide1_tip"
source=
"guide1_tip_png"
x=
"262"
y=
"795
"
/>
<e:Button
id=
"guide1_btn"
label=
""
anchorOffsetX=
"95"
anchorOffsetY=
"23"
verticalCenter=
"151"
horizontalCenter=
"112
"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
scaleX.down=
"0.9"
scaleY.down=
"0.9"
height=
"100%"
source=
"guide1_btn_png"
source.down=
"guide1_btn_png"
source.disabled=
"guide1_btn_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Group
id=
"guide1"
left=
"0"
right=
"0"
horizontalCenter=
"0"
verticalCenter=
"0"
height=
"1624"
>
<e:Image
source=
"plant_land_active_png"
x=
"208"
y=
"558
"
/>
<e:Image
id=
"guide1_tip"
source=
"guide1_tip_png"
x=
"224.5"
y=
"736
"
/>
<e:Button
id=
"guide1_btn"
label=
""
anchorOffsetX=
"95"
anchorOffsetY=
"23"
y=
"1148"
horizontalCenter=
"0
"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
scaleX.down=
"0.9"
scaleY.down=
"0.9"
height=
"100%"
source=
"guide1_btn_png"
source.down=
"guide1_btn_png"
source.disabled=
"guide1_btn_png"
/>
<e:Label
id=
"labelDisplay"
horizontalCenter=
"0"
verticalCenter=
"0"
/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Image
verticalCenter=
"484.5"
y=
"1236"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"79.5"
source=
"商店_png"
x=
"401"
/>
</e:Group>
<e:Group
id=
"guide2"
left=
"0"
right=
"0"
horizontalCenter=
"0"
verticalCenter=
"0"
height=
"1624"
visible=
"false"
>
...
...
egret/src/Panels/Guide.ts
View file @
48f848c6
...
...
@@ -52,8 +52,8 @@ export default class Guide extends Panel {
const
mv
=
await
loadSvga
(
getSvga
(
'guide_panda'
));
this
.
guideFrog
.
addChild
(
mv
);
mv
.
x
=
8
0
;
mv
.
y
=
8
0
0
;
mv
.
x
=
4
0
;
mv
.
y
=
8
6
0
;
this
.
showGuide
(
this
.
guide1
);
this
.
showHand
(
460
);
...
...
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