Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
2f2c8d75
Commit
2f2c8d75
authored
Nov 05, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b1face9f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
MyExmlPlugin.ts
egret/scripts/MyExmlPlugin.ts
+1
-0
MapRpeatPart.ts
egret/src/mapScene/MapRpeatPart.ts
+1
-1
MapTopPart.ts
egret/src/mapScene/MapTopPart.ts
+1
-1
StartPanel.ts
egret/src/panels/StartPanel.ts
+1
-1
No files found.
egret/scripts/MyExmlPlugin.ts
View file @
2f2c8d75
...
...
@@ -11,6 +11,7 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
'cutTimeFont.png'
,
'sharenums.png'
,
'nums.png'
,
'nums3.png'
,
'nums2.png'
];
if
(
excludes
.
indexOf
(
file
.
basename
)
!=
-
1
)
{
...
...
egret/src/mapScene/MapRpeatPart.ts
View file @
2f2c8d75
...
...
@@ -34,7 +34,7 @@ export default class MapRpeatPart extends ComponentBase {
MapScene
.
starHash
[
levelOrder
]
=
star
;
icon
.
addChild
(
star
);
icon
[
'visibleY'
]
=
this
.
_topHeight
+
this
.
height
*
this
.
_index
+
icon
.
y
;
console
.
log
(
icon
[
'visibleY'
]
);
//
console.log(icon['visibleY'] );
}
this
[
'animal1'
].
visible
=
this
.
_index
%
2
;
...
...
egret/src/mapScene/MapTopPart.ts
View file @
2f2c8d75
...
...
@@ -23,7 +23,7 @@ export default class MapTopPart extends ComponentBase {
icon
[
'mappart'
]
=
this
;
icon
.
show
=
()
=>
{
this
.
addChild
(
icon
)};
icon
[
'visibleY'
]
=
icon
.
y
;
console
.
log
(
icon
[
'visibleY'
]);
//
console.log(icon['visibleY']);
}
}
...
...
egret/src/panels/StartPanel.ts
View file @
2f2c8d75
...
...
@@ -120,6 +120,7 @@ showlog(){
});
if
(
success
)
{
// Loading.instace.show();
this
.
hidePanel
();
try
{
const
key
=
'main2'
;
await
Promise
.
all
([
...
...
@@ -130,7 +131,6 @@ showlog(){
}
// Loading.instace.hide();
this
.
hidePanel
();
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
MAIN_SCENE
,
{
chapter
:
this
.
_level
});
StartPanel
.
currlevel
=
this
.
_level
}
...
...
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