Commit 90d52136 authored by wjf's avatar wjf

l

parent 19aa4721
This diff is collapsed.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>合成大作战</title>
<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="full-screen" content="true" />
<meta name="screen-orientation" content="portrait" />
<meta name="x5-fullscreen" content="true" />
<meta name="360-fullscreen" content="true" />
<script src="//yun.duiba.com.cn/db_games/libFy/zepto.min.js"></script>
<!-- 淘宝小程序 -->
<script type="text/javascript" src="https://appx/web-view.min.js"></script>
<script src="//yun.duiba.com.cn/db_games/activity/sceneHaidilao/vConsole.min.js"></script>
<style>
html,
body {
-ms-touch-action: none;
touch-action: none;
padding: 0;
margin: 0;
border: 0;
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
background-color: #604fe8;
}
</style>
</head>
<body>
<div id="__loading__" style="position:absolute;left:50%;top:50%;margin-left:-45px;color:#ffffff">拼命加载中...</div>
<div id="cusEngine" style="line-height:0;font-size:0"></div>
</body>
<!-- 帧率检测 -->
<!-- <script src="libs/stats.js"></script> -->
<script>
window["develop"] = true;
//线上设置,资源路径
var resPath = "//yun.duiba.com.cn/db_games/activity/game2048/1587871728/resource/"
</script>
<script src="//yun.duiba.com.cn/db_games/activity/game2048/1587871728/output.js"></script>
</html>
\ No newline at end of file
...@@ -38,7 +38,7 @@ export class QuitPanel extends Panel { ...@@ -38,7 +38,7 @@ export class QuitPanel extends Panel {
.position.set(398, 750) .position.set(398, 750)
//退出本关,提交后,出结束弹框, //退出本关,提交后,出结束弹框,
this.addChild(new Button(RES.getRes("tuichubenguan.png"))) this.addChild(new Button(RES.getRes("tuichubenguan.png")))
.once(MouseEvent.CLICK, () => { .addEventListener(MouseEvent.CLICK, () => {
showWaiting(); showWaiting();
//提交 //提交
submit((s, res) => { submit((s, res) => {
......
...@@ -985,13 +985,14 @@ export class PlayScene extends Scene { ...@@ -985,13 +985,14 @@ export class PlayScene extends Scene {
this.containerPool[x][y].addChild(ele) this.containerPool[x][y].addChild(ele)
if (num > this.unlockGrade) { if (num > this.unlockGrade && num >= 8) {
this.unlockGrade = num
// 显示解锁弹窗 // 显示解锁弹窗
submit(() => { submit(() => {
}, this.score, this.unlockGrade, false, true) }, this.score, this.unlockGrade, false, true)
showPanel(UnlockPanel, { grade: num }) showPanel(UnlockPanel, { grade: num })
this.unlockGrade = num
} }
} }
} }
......
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