Commit d9c36b4a authored by 邱旭's avatar 邱旭

Loading

parent 00d329ed
......@@ -3,6 +3,10 @@
<component name="ChangeListManager">
<list default="true" id="0d3cb18d-e144-41a0-bc8b-4877c2e1fef1" name="默认的" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/loadingScene/loadingBg.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/resource/loadingScene/loadingBg.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/loadingScene/loadingPro.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/loadingScene/loadingPro.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/LoadingScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/LoadingScene.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -21,6 +25,11 @@
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_BRANCH_BY_REPOSITORY">
<map>
<entry key="$PROJECT_DIR$" value="斐乐消消乐_邱旭_20210204" />
</map>
</option>
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="GitSEFilterConfiguration">
......@@ -33,6 +42,29 @@
</component>
<component name="GitToolBoxStore">
<option name="projectConfigVersion" value="2" />
<option name="recentBranches">
<RecentBranches>
<option name="branchesForRepo">
<list>
<RecentBranchesForRepo>
<option name="branches">
<list>
<RecentBranch>
<option name="branchName" value="斐乐儿童消消乐_邱旭_20210402" />
<option name="lastUsedInstant" value="1617349453" />
</RecentBranch>
<RecentBranch>
<option name="branchName" value="斐乐消消乐_邱旭_20210204" />
<option name="lastUsedInstant" value="1617349452" />
</RecentBranch>
</list>
</option>
<option name="repositoryRootUrl" value="file://$PROJECT_DIR$" />
</RecentBranchesForRepo>
</list>
</option>
</RecentBranches>
</option>
</component>
<component name="ProjectId" id="1o5WYGtqhenXuJQyVpNGyiv9UhR" />
<component name="ProjectLevelVcsManager">
......@@ -66,7 +98,7 @@
<recent name="$PROJECT_DIR$/lotties" />
</key>
</component>
<component name="RunManager" selected="npm.dev">
<component name="RunManager" selected="npm.flushRes">
<configuration name="build" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
......@@ -115,10 +147,10 @@
</list>
<recent_temporary>
<list>
<item itemvalue="npm.flushRes" />
<item itemvalue="npm.dev" />
<item itemvalue="npm.buildTS" />
<item itemvalue="npm.build" />
<item itemvalue="npm.flushRes" />
</list>
</recent_temporary>
</component>
......@@ -148,7 +180,7 @@
<workItem from="1617177876956" duration="680000" />
<workItem from="1617345199322" duration="4000" />
<workItem from="1617346486921" duration="1232000" />
<workItem from="1617348724978" duration="649000" />
<workItem from="1617348724978" duration="956000" />
</task>
<task id="LOCAL-00013" summary="m">
<created>1612756277485</created>
......
resource/loadingScene/loadingPro.png

59.9 KB | W: | H:

resource/loadingScene/loadingPro.png

8.23 KB | W: | H:

resource/loadingScene/loadingPro.png
resource/loadingScene/loadingPro.png
resource/loadingScene/loadingPro.png
resource/loadingScene/loadingPro.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
......@@ -26,22 +26,10 @@ export class LoadingScene extends Scene {
//进度条帧动画
const pro = this.addChild(Tools.getSprite('loadingPro.png'));
pro.position.set(80, 768)//位置按正常满条的位置
pro.position.set(126, 526)//位置按正常满条的位置
//@ts-ignore 进度条托管
this.progressBar = new ProgressBarS(pro);
this.loadingTxt = this.addChild(Tools.getText(
`loading...`, 28, "#feeeea",
TEXT_ALIGN.CENTER, 750, 0, 841
));
this.dotTween = Tween.get(FYGE, { loop: true })
.to({}, 500)
.call(() => {
this.dotCount = ++this.dotCount % 3 || 3;
this.loadingTxt.text = `loading${this.strMul('.', this.dotCount)}`;
});
}
dotTween = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment