Commit 2fa3cd26 authored by Friends233's avatar Friends233

回传配置信息

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