-
Notifications
You must be signed in to change notification settings - Fork 917
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yupili
committed
Jan 28, 2021
0 parents
commit 2385847
Showing
101 changed files
with
64,763 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 即可! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|
||
|
||
|
||
|
||
|
||
} | ||
); | ||
|
||
|
||
} |
Oops, something went wrong.