Commit 2fa3cd26 authored by Friends233's avatar Friends233

回传配置信息

parent d7cee86e
......@@ -271,6 +271,7 @@ export default class GameScene extends cc.Component {
this.setClipState(CLIP_STATE.GAME_OVER)
this.unschedule(this.startCd)
exportEvent.fire(CUSTOM_EVENT.GAME_OVER, {
...this.gameConfig.LevelInfo[this.actLevel - 1],
score: this.starNum,
level: this.actLevel
})
......@@ -337,6 +338,7 @@ export default class GameScene extends cc.Component {
if (this.starNum >= this.levelObjectives) {
this.unschedule(this.startCd)
exportEvent.fire(CUSTOM_EVENT.PASS_LEVEL, {
...this.gameConfig.LevelInfo[this.actLevel],
score: this.starNum,
level: this.actLevel
})
......
This diff is collapsed.
......@@ -40,7 +40,7 @@
<!-- <script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>-->
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784379508/style-mobile.css"/>
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784889074/style-mobile.css"/>
<style>
......@@ -90,9 +90,9 @@
</div>
</div>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784379508/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784889074/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784379508/main.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681784889074/main.js" charset="utf-8"></script>
<script type="text/javascript">
(function () {
......
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1681784379508/";
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1681784889074/";
window.__remoteAssets__ = window.__remoteUrl__ + "assets/";
window.__version__ = 1681784379508;
window.__version__ = 1681784889074;
window.__ENV__ = "prod";
window.boot = function () {
......
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