Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
yupili committed Jan 28, 2021
0 parents commit 2385847
Show file tree
Hide file tree
Showing 101 changed files with 64,763 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
Binary file added 1611557925872957.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## 合成大西瓜

未修改版源码

### 本地启动

1. 安装 serve 工具:

```bash
npm run serve
```

2. 进入 daxigua 目录,运行 serve:

```bash
serve
```

3. 打开浏览器访问 localhost:5000 即可!
35 changes: 35 additions & 0 deletions ads.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
function noAdGoToScene() {


var GameConfig = __require("GameConfig");
console.log("IndexMainMangerMaing", GameConfig.launchScene, GameConfig.Bros, GameConfig.caS);

var launchScene = GameConfig.launchScene;
var Bros = GameConfig.Bros;
var caS = GameConfig.caS;
cc.director.loadScene(launchScene, null,
function() {

adCompleteFlag = false;

if (Bros) {
// show canvas
var canvas = document.getElementById('GameCanvas');
canvas.style.visibility = '';
var div = document.getElementById('GameDiv');
if (div) {
div.style.backgroundImage = '';
}
}
cc.loader.onProgress = null;
console.log('Success to load scene1Main: ' + launchScene);





}
);


}
Loading

0 comments on commit 2385847

Please sign in to comment.