This commit is contained in:
computer\尼卡 2025-07-01 10:32:25 +08:00
commit 12e0d7e87c
645 changed files with 2895 additions and 11793 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +0,0 @@
{
"ver": "1.3.2",
"uuid": "19659ed7-1823-42a9-b8e8-1884c19df817",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}

View File

@ -47,13 +47,12 @@ export default class GameManager extends cc.Component {
onLoad() {
window.initMgr();
this.timeNumber = 3;
this.timeNumber = 1;
this.startTimeCutDown();
cc.fx.GameConfig.init(true);
cc.fx.GameConfig.GM_INFO.gameState = false;
this.readMusicConfig();
console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen);
cc.fx.AudioManager._instance.playMusicGame();
this.load1 = this.load2 = this.load3 = this.load4 = this.load5 = false;
setTimeout(() => {
@ -167,7 +166,18 @@ export default class GameManager extends cc.Component {
startGame() {
console.log("进入场景之前_____________", cc.fx.GameConfig.GM_INFO.first);
cc.director.loadScene("HomeScene");
// 加载 music bundle
cc.assetManager.loadBundle('music', (err, bundle) => {
if (err) {
console.error('加载 music bundle 失败:', err);
// 加载失败时仍尝试进入 HomeScene
cc.director.loadScene("HomeScene");
} else {
console.log('music bundle 加载成功');
// 加载成功后进入 HomeScene
cc.director.loadScene("HomeScene");
}
});
}
returnHome() {
@ -200,6 +210,7 @@ export default class GameManager extends cc.Component {
readUserData(retryCount = 0) {
//@ts-ignore
if (typeof wx !== 'undefined' && wx !== null) {
MiniGameSdk.API.shushu_Init();
let levelInfo = cc.fx.StorageMessage.getStorage("level");
//旧的读取数据设置数据方法,以强联网为主
if (levelInfo == undefined || levelInfo == "" || levelInfo == null) {
@ -664,7 +675,7 @@ export default class GameManager extends cc.Component {
update(dt) {
if (this.load1 && this.load2 && this.load3 && this.load4 && this.load5 && this.timeNumber <= 0) {
this.load1 = this.load2 = false;
MiniGameSdk.API.shushu_Init();
MiniGameSdk.API.shushu_Login();
this.startGame();
}
}

View File

@ -607,9 +607,9 @@ export namespace MiniGameSdk {
/**
*
*/
/**
*
*/
export class BytedanceSidebar {
/**
*
@ -1028,10 +1028,10 @@ export namespace MiniGameSdk {
}
}
/**
* codecode和anonymousCodecode传回你的服务器程序中去调用code2Session
* @param callback (code, anonymousCode) codeIDnull
*/
/**
* codecode和anonymousCodecode传回你的服务器程序中去调用code2Session
* @param callback (code, anonymousCode) codeIDnull
*/
static getUserInfo(callback: (userInfo: any) => void) {
//@ts-ignore
tt.getUserInfo({
@ -1040,7 +1040,7 @@ export namespace MiniGameSdk {
API._userInfo = res;
callback(API._userInfo);
},
fail: (err: any) =>{
fail: (err: any) => {
callback(err);
}
});
@ -1107,18 +1107,18 @@ export namespace MiniGameSdk {
*
*/
static shushu_Init(){
if (typeof wx!== 'undefined' && wx!== null) {
static shushu_Init() {
if (typeof wx !== 'undefined' && wx !== null) {
console.log("开始接入数数平台");
//getWechatGameVersion
let appId = "121591378fc1423893deb12041413eb3";
let test = cc.fx.GameTool.getWechatGameVersion();
if(test == "正式版"){
if (test == "正式版") {
appId = "87d18958cea145f29d3265470ecd3486";
}
var config = {
// appId: "73e1ec654f15b47a1a7354fbabec05ad", // 项目 APP ID
appId:appId,
appId: appId,
serverUrl: "https://data.nika4fun.com", // 上报地址
autoTrack: {
appShow: true, // 自动采集 ta_mg_show
@ -1127,27 +1127,22 @@ export namespace MiniGameSdk {
};
// 创建 TA 实例
API._ta = new ThinkingAnalyticsAPI(config);
//var deviceId = API._ta.getDeviceId();
API._ta.login(cc.fx.GameConfig.GM_INFO.openid);
const result = "success";
API.shushu_Track("login",result);
// 初始化
API._ta .init();
API.shushu_SetSuperProperties();
//console.log("数数平台初始化成功!");
// this.TA.clearSuperProperties();
//设置用户属性
// this.TA.userSet({ username: "大核桃" });
API._ta.init();
}
}
static shushu_userSet(time){
if (typeof wx!== 'undefined' && wx!== null) {
static shushu_Login() {
API._ta.login(cc.fx.GameConfig.GM_INFO.openid);
const result = "success";
API.shushu_Track("login", result);
API.shushu_SetSuperProperties();
}
static shushu_userSet(time) {
if (typeof wx !== 'undefined' && wx !== null) {
console.log("设置用户注册属性");
API._ta.userSet({ register_time:time});
API._ta.userSet({ register_time: time });
}
}
@ -1155,22 +1150,22 @@ export namespace MiniGameSdk {
*
*/
static shushu_SetSuperProperties(){
if (typeof wx!== 'undefined' && wx!== null && API._ta) {
static shushu_SetSuperProperties() {
if (typeof wx !== 'undefined' && wx !== null && API._ta) {
const versionData = "1.3";
// API._ta.userSetOnce({ register_time:time});
var superProperties = {
current_level : (cc.fx.GameConfig.GM_INFO.level+1), //当前关卡等级 number
current_level: (cc.fx.GameConfig.GM_INFO.level + 1), //当前关卡等级 number
current_health: cc.fx.GameConfig.GM_INFO.hp, //当前体力值
tmp_coin : cc.fx.GameConfig.GM_INFO.coin,//当前金币
tmp_coin: cc.fx.GameConfig.GM_INFO.coin,//当前金币
version: versionData
};
API._ta.setSuperProperties(superProperties);//设置公共事件属性
}
}
}
static getWechatGameVersion(): string | null {
if (typeof wx!== 'undefined' && wx!== null) {
if (typeof wx !== 'undefined' && wx !== null) {
// @ts-ignore
const accountInfo = wx.getAccountInfoSync();
return accountInfo.miniProgram.version;
@ -1182,14 +1177,14 @@ export namespace MiniGameSdk {
*/
static shushu_Track(name, data, callback?: (success: boolean, error?: any) => void) {
if (typeof wx!== 'undefined' && wx!== null) {
if (typeof wx !== 'undefined' && wx !== null) {
if (API._ta) {
// 假设 track 方法返回一个 Promise
API._ta.track(
name, // 事件名称
data // 事件属性
)
}
}
}
}
}

View File

@ -1,14 +1,12 @@
import { StorageMessage } from "../Storage/Storage";
import { GameConfig } from "../Config/GameConfig";
import HttpUtil from "../Crypto/HttpUtil";
import AudioManager from "../Music/AudioManager";
import { Notifications } from "../Notification/Notification";
import { GameTool } from "../Tool/GameTool";
import AudioManager from "../Music/AudioManager";
window.initMgr = function() {
if(cc.fx)
{
window.initMgr = function () {
if (cc.fx) {
return;
}
cc.fx = {};
@ -25,27 +23,27 @@ window.initMgr = function() {
//应用系统信息
//配置文件
cc.fx.StorageMessage = StorageMessage;
cc.fx.AudioManager = AudioManager;
cc.fx.GameConfig = GameConfig;
cc.fx.HttpUtil = HttpUtil;
cc.fx.GameTool = GameTool;
cc.fx.Notifications = Notifications;
cc.fx.ShareInfo = {
queryId : -1 //分享id
queryId: -1 //分享id
};
cc.fx.Message = {
control: "10001", //传递操作控制
startGame:"10002", //传递开始建筑
next: "10003" , //传递执行下一个格子洪水流过
startGame: "10002", //传递开始建筑
next: "10003", //传递执行下一个格子洪水流过
changePath: "10004", //传递操作控制
changeMap: "10005", //改变那地图
nextWater: "10006" , //传递执行下一个格子洪水流过
addEnd: "10007" , //添加结束点
setData: "10008" , //上传分数
guideNext: "10009" , //引导进入下一步
nextWater: "10006", //传递执行下一个格子洪水流过
addEnd: "10007", //添加结束点
setData: "10008", //上传分数
guideNext: "10009", //引导进入下一步
showResult: "10010", //展示治水结果
removeTip: "10011" //执行撤回或者后退动作,移除提示
}
@ -54,25 +52,25 @@ window.initMgr = function() {
*
*/
cc.fx.BurialShareType = {
Default : "default", //默认分享类型,分享到群
Invite : "invite", // 邀请好友
Default: "default", //默认分享类型,分享到群
Invite: "invite", // 邀请好友
DailyInviteRoomJoin:'invite_join_room', //邀请好友加入
DailyInviteFriend : 'invite_friend', // 日常邀请好友
DailyInviteGroup : 'invate_group', // 日常分享群
DailyInviteRoomJoin: 'invite_join_room', //邀请好友加入
DailyInviteFriend: 'invite_friend', // 日常邀请好友
DailyInviteGroup: 'invate_group', // 日常分享群
DailyInviteGroupAlive: 'invate_alive', //日常分享群复活
DailyInviteGroupReward: 'invate_rewared',//分享奖励翻倍
DailyInviteGroupBox: 'invate_box', //宝箱分享奖励
DailyInviteGroupBall: 'invate_ball', //分享领取球球
MatchResult : 'matchResult', // 比赛结算分享
MatchResult: 'matchResult', // 比赛结算分享
MatchFix5: 'MatchFix5', // 5元红包赛
MatchFix20: 'MatchFix20', // 20元红包赛
MatchFix100: 'MatchFix100', // 100元红包赛
MatchFix500: 'MatchFix500', // 500元红包赛
NewerRedEnvelope: 'newerRedEnvelope', // 新手红包
CoinRoomResult: 'coinRoomResult', // 金币桌结算
HighRate : "highRate",//高倍分享
HighRate: "highRate",//高倍分享
CoinRoomWinStreak: 'coinRoomWinStreak', // 连胜
CoinRoomBankruptcy1: 'coinRoomBankruptcy1', // 金币桌破产
CoinRoomBankruptcy2: 'coinRoomBankruptcy2', // 金币桌破产
@ -83,15 +81,15 @@ window.initMgr = function() {
* group frined all
*/
cc.fx.ShareWhereReward = {
Group :"group", //微信群
Friend : "friend",//好友
All : "all", //不区分
Group: "group", //微信群
Friend: "friend",//好友
All: "all", //不区分
};
//用于存储消息的ID
cc.fx.storageType = cc.Enum({
storageTypeCustom: 1000101, //用于存储关卡等级
});
storageTypeCustom: 1000101, //用于存储关卡等级
});
//用于存储提示语 按照步骤提示
cc.fx.tipType = cc.Enum({

View File

@ -1,6 +1,6 @@
const {ccclass, property} = cc._decorator;
const { ccclass, property } = cc._decorator;
@ccclass
export default class AudioManager extends cc.Component {
static _instance: any;
@ -45,6 +45,7 @@ export default class AudioManager extends cc.Component {
onLoad() {
if (AudioManager._instance == null) {
AudioManager._instance = this;
cc.fx.AudioManager = AudioManager;
cc.game.addPersistRootNode(this.node);
}
else {
@ -58,7 +59,7 @@ export default class AudioManager extends cc.Component {
this.preload();
}
ctor () {
ctor() {
this.mAudioMap = {};
/**
*
@ -70,40 +71,40 @@ export default class AudioManager extends cc.Component {
this.mMusicSwitch = 1;
this.mEffectSwitch = 1;
}
play (audioSource, loop, callback, isBgMusic) {
play(audioSource, loop, callback, isBgMusic) {
// if (isBgMusic && !this.mMusicSwitch) return;
// if (!isBgMusic && !this.mEffectSwitch) return;
var volume = isBgMusic ? this.bgMusicVolume : this.effectMusicVolume;
// if (cc.sys.isBrowser) {
// if(audioSource == this.brickSound){
// volume = 0.1;
// }
volume = 1;
// if(audioSource == this.brickSound){
// volume = 0.1;
// }
volume = 1;
cc.audioEngine.setEffectsVolume(1);
cc.audioEngine.setMusicVolume(1);
if (audioSource.name == "lose") {
cc.audioEngine.setEffectsVolume(0.5);
}
else {
cc.audioEngine.setEffectsVolume(1);
cc.audioEngine.setMusicVolume(1);
if(audioSource.name == "lose"){
cc.audioEngine.setEffectsVolume(0.5);
}
else{
cc.audioEngine.setEffectsVolume(1);
}
var context = cc.audioEngine.playEffect(audioSource, loop);
if (callback){
cc.audioEngine.setFinishCallback(context, function(){
callback.call(this);
}.bind(this));
}
// cc.wwx.OutPut.log('play audio effect isBrowser: ' + context.src);
}
var context = cc.audioEngine.playEffect(audioSource, loop);
if (callback) {
cc.audioEngine.setFinishCallback(context, function () {
callback.call(this);
}.bind(this));
}
// cc.wwx.OutPut.log('play audio effect isBrowser: ' + context.src);
this.mAudioMap[audioSource] = context;
return audioSource;
this.mAudioMap[audioSource] = context;
return audioSource;
// } else {
// return audioSource;
// }
}
save () {
save() {
// cc.wwx.Storage.setItem(cc.wwx.Storage.Key_Setting_Music_Volume, this.mMusicSwitch);
// cc.wwx.Storage.setItem(cc.wwx.Storage.Key_Setting_Effect_Volume, this.mEffectSwitch);
}
@ -117,73 +118,69 @@ export default class AudioManager extends cc.Component {
// return this._instance;
// }
preload () {
preload() {
if (!(cc.sys.platform === cc.sys.WECHAT_GAME)) { return; }
var musics = [
this.audioGameBgm0,
];
musics.forEach(function(path) {
musics.forEach(function (path) {
})
console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen);
this.playMusicGame();
}
getAudioMusicSwitch()
{
getAudioMusicSwitch() {
return this.mMusicSwitch;
}
getAudioEffectSwitch()
{
getAudioEffectSwitch() {
return this.mEffectSwitch;
}
trunAudioSound(on)
{
trunAudioSound(on) {
this.switchMusic(on);
this.switchEffect(on)
}
switchMusic (on) {
if (this.mMusicSwitch != (on?1:0))
{
this.mMusicSwitch = 1-this.mMusicSwitch;
switchMusic(on) {
if (this.mMusicSwitch != (on ? 1 : 0)) {
this.mMusicSwitch = 1 - this.mMusicSwitch;
// this.save();
}
if(on)
{
if (on) {
this.playMusicGame();
}
else
{
else {
this.stopMusic();
}
}
switchEffect (on) {
if (this.mEffectSwitch != (on?1:0)){
this.mEffectSwitch = 1-this.mEffectSwitch;
switchEffect(on) {
if (this.mEffectSwitch != (on ? 1 : 0)) {
this.mEffectSwitch = 1 - this.mEffectSwitch;
// this.save();
}
}
onHide () {
onHide() {
cc.audioEngine.pauseAll();
}
onShow () {
onShow() {
cc.audioEngine.resumeAll();
}
//播放音效
playEffect(name,callback){
if(!cc.fx.GameConfig.GM_INFO.effectOpen){
playEffect(name, callback) {
if (!cc.fx.GameConfig.GM_INFO.effectOpen) {
return;
}
if(this[name])
return this.play(this[name], false,callback,this.mEffectSwitch);
if (this[name])
return this.play(this[name], false, callback, this.mEffectSwitch);
}
playMusic (key, callback, loop) {
if(!cc.fx.GameConfig.GM_INFO.musicOpen){
playMusic(key, callback, loop) {
if (!cc.fx.GameConfig.GM_INFO.musicOpen) {
return;
}
loop = typeof loop == 'undefined' || loop ? true : false;
loop = typeof loop == 'undefined' || loop ? true : false;
this.stopMusic();
this.mMusicKey = this.play(key, loop, callback, true);
@ -191,14 +188,14 @@ export default class AudioManager extends cc.Component {
/**
*
*/
playMusicGame () {
playMusicGame() {
this.stopMusic();
this.playMusic(this.audioGameBgm0,{},true);
this.playMusic(this.audioGameBgm0, {}, true);
}
/**
*
*/
stopMusic () {
stopMusic() {
// cc.wwx.OutPut.log('stopMusic audio effect wx: ' + this.mMusicKey);
cc.audioEngine.stopAll();
}
@ -206,7 +203,7 @@ export default class AudioManager extends cc.Component {
/**
*
*/
resumeMusic () {
resumeMusic() {
// 调用 cc.audioEngine 的 resumeMusic 方法恢复音乐播放
cc.audioEngine.resumeMusic();
}
@ -215,29 +212,25 @@ export default class AudioManager extends cc.Component {
*
*
*/
playGameStart()
{
playGameStart() {
}
/*
*
*/
playGameOver()
{
playGameOver() {
}
/*
*
*/
playGameResultFailed()
{
playGameResultFailed() {
}
/*
*
*/
playGameResultSuccess()
{
playGameResultSuccess() {
}
/**
@ -247,7 +240,7 @@ export default class AudioManager extends cc.Component {
/**
*
*/
playAudioButton () {
playAudioButton() {
// return this.play(this.audioButtonClick, false,null,this.mEffectSwitch);
}
};

21
assets/StartScene.meta Normal file
View File

@ -0,0 +1,21 @@
{
"ver": "1.1.3",
"uuid": "31150528-f369-46ce-a3aa-51b431eeaa39",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 10,
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}

View File

@ -17,7 +17,7 @@
"__id__": 2
},
{
"__id__": 6
"__id__": 5
}
],
"_active": false,
@ -77,13 +77,10 @@
"__id__": 3
},
{
"__id__": 4
"__id__": 21
},
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": null,
@ -134,44 +131,6 @@
"groupIndex": 0,
"_id": "2dMM3dYbVDG6vnNZZa8IqA"
},
{
"__type__": "58403/n16JCa5sZhNMjZzGo",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"audioGameBgm0": {
"__uuid__": "75b4f368-70b5-452d-9afd-ca7a6f1e2e60"
},
"xiaochu": {
"__uuid__": "8d67c864-c7f4-4305-8b3b-2d66eb69e349"
},
"hit": {
"__uuid__": "7575a6bd-a21d-491e-aad2-e40a189683e9"
},
"down": {
"__uuid__": "ec293610-1767-46e8-b6b6-4a9a79ef2233"
},
"fangxiang": null,
"build": null,
"win": null,
"lose": null,
"anniu_Big": {
"__uuid__": "7362cac7-12b5-4704-af6d-5b110c5e9fcf"
},
"anniu_little": {
"__uuid__": "a5518b0f-7ed3-46f0-aa78-93f02f4579cc"
},
"zhuan1": {
"__uuid__": "e4d2f16e-7663-4ee5-a479-06ae0eae91d5"
},
"zhuan2": {
"__uuid__": "998a24bd-ffa0-4f96-bc39-a9789f42bd9b"
},
"_id": "f9HvPHc8ZDoJYWFfPoEmf1"
},
{
"__type__": "454adgphRpA6oq5lB6Cg1fK",
"_name": "",
@ -181,13 +140,13 @@
},
"_enabled": true,
"node1": {
"__id__": 5
"__id__": 4
},
"node2": {
"__id__": 17
"__id__": 16
},
"node3": {
"__id__": 15
"__id__": 14
},
"localTest": false,
"clientTestVersion": "1.0.0",
@ -199,13 +158,13 @@
"_name": "jiazai1",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 20
}
],
"_prefab": null,
@ -265,31 +224,31 @@
},
"_children": [
{
"__id__": 7
"__id__": 6
},
{
"__id__": 10
"__id__": 9
},
{
"__id__": 13
"__id__": 12
},
{
"__id__": 5
"__id__": 4
},
{
"__id__": 15
"__id__": 14
},
{
"__id__": 17
"__id__": 16
}
],
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 18
},
{
"__id__": 20
"__id__": 19
}
],
"_prefab": null,
@ -345,16 +304,16 @@
"_name": "Main Camera",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
"__id__": 7
},
{
"__id__": 9
"__id__": 8
}
],
"_prefab": null,
@ -410,7 +369,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 6
},
"_enabled": true,
"_cullingMask": 4294967295,
@ -446,7 +405,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 6
},
"_enabled": true,
"_id": "82rBHh8bJIGKuGw03a3Yrd"
@ -456,16 +415,16 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
"__id__": 10
},
{
"__id__": 12
"__id__": 11
}
],
"_prefab": null,
@ -521,7 +480,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 9
},
"_enabled": true,
"_materials": [
@ -553,7 +512,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 9
},
"_enabled": true,
"alignMode": 1,
@ -580,13 +539,13 @@
"_name": "logo",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 14
"__id__": 13
}
],
"_prefab": null,
@ -642,7 +601,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
"__id__": 12
},
"_enabled": true,
"_materials": [
@ -672,13 +631,13 @@
"_name": "jiazai3",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
"__id__": 15
}
],
"_prefab": null,
@ -734,7 +693,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 14
},
"_enabled": true,
"_materials": [
@ -766,13 +725,13 @@
"_name": "jiazai2",
"_objFlags": 0,
"_parent": {
"__id__": 6
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 17
}
],
"_prefab": null,
@ -828,7 +787,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 16
},
"_enabled": true,
"_materials": [
@ -860,7 +819,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
"__id__": 5
},
"_enabled": true,
"_designResolution": {
@ -877,7 +836,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
@ -904,7 +863,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
"__id__": 4
},
"_enabled": true,
"_materials": [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

After

Width:  |  Height:  |  Size: 395 KiB

View File

@ -2,12 +2,20 @@
"ver": "1.1.3",
"uuid": "41916418-405c-4025-8e60-c3fdb4a83154",
"importer": "folder",
"isBundle": false,
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}

View File

@ -1,3 +0,0 @@
{
"__type__": "cc.SpriteAtlas"
}

View File

@ -1,23 +0,0 @@
{
"ver": "1.2.5",
"uuid": "9df3aaf8-59bc-4eff-aa56-554ab3d4d2cb",
"importer": "auto-atlas",
"maxWidth": 1024,
"maxHeight": 1024,
"padding": 2,
"compressionLevel": 6,
"allowRotation": true,
"forceSquared": false,
"powerOfTwo": false,
"algorithm": "MaxRects",
"format": "png",
"quality": 80,
"contourBleed": true,
"paddingBleed": true,
"filterUnused": true,
"packable": false,
"premultiplyAlpha": false,
"filterMode": "bilinear",
"platformSettings": {},
"subMetas": {}
}

View File

@ -4,7 +4,7 @@
"importer": "folder",
"isBundle": true,
"bundleName": "UI",
"priority": "2",
"priority": 2,
"compressionType": {
"wechatgame": "subpackage"
},

View File

@ -2,12 +2,20 @@
"ver": "1.1.3",
"uuid": "6ebfe2d9-539a-4853-8b16-fca5c89cf2ce",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"isBundle": true,
"bundleName": "music",
"priority": 9,
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}

View File

@ -5,9 +5,17 @@
"isBundle": true,
"bundleName": "shop",
"priority": 6,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 622 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 780 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 883 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 260 KiB

View File

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>shop_1.png</key>
<dict>
<key>frame</key>
<string>{{0,0},{1080,436}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{1080,436}}</string>
<key>sourceSize</key>
<string>{1080,436}</string>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>2</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>texture_atlas-0.png</string>
<key>textureFileName</key>
<string>texture_atlas-0.png</string>
<key>size</key>
<string>{1080,436}</string>
</dict>
</dict>
</plist>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 KiB

View File

@ -15,8 +15,8 @@
},
"subpackages": [
{
"name": "LoadScene",
"root": "subpackages/LoadScene"
"name": "music",
"root": "subpackages/music"
},
{
"name": "res",
@ -30,6 +30,10 @@
"name": "TextureBg",
"root": "subpackages/TextureBg"
},
{
"name": "TextureBlock",
"root": "subpackages/TextureBlock"
},
{
"name": "UI",
"root": "subpackages/UI"
@ -42,5 +46,4 @@
"iOSHighPerformance": true,
"iOSHighPerformance+": true,
"useNativePerformance": true
}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"paths":{"1":["effects/builtin-2d-spine",0],"2":["effects/builtin-2d-gray-sprite",0],"3":["effects/builtin-2d-sprite",0],"4":["materials/builtin-unlit",1],"5":["effects/builtin-3d-trail",0],"6":["effects/builtin-2d-graphics",0],"7":["materials/builtin-2d-gray-sprite",1],"8":["materials/builtin-3d-trail",1],"9":["effects/builtin-unlit",0],"10":["materials/builtin-2d-base",1],"11":["materials/builtin-2d-spine",1],"12":["materials/builtin-2d-graphics",1],"13":["effects/builtin-clear-stencil",0],"14":["materials/builtin-clear-stencil",1],"15":["materials/builtin-2d-label",1],"16":["materials/builtin-2d-sprite",1],"17":["effects/builtin-2d-label",0]},"types":["cc.EffectAsset","cc.Material"],"uuids":["02delMVqdBD70a/HSD99FK","0ek66qC1NOQLjgYmi04HvX","14TDKXr2NJ6LjvHPops74o","28dPjdQWxEQIG3VVl1Qm6T","2aKWBXJHxKHLvrBUi2yYZQ","2afAA24LNP4YmYiaVLiivs","30aC+Hnw1PF4pEcoY3kUYb","3ae7efMv1CLq2ilvUY/tQi","46bU+b5fROqIXVPG6aZWWK","6dkeWRTOBGXICfYQ7JUBnG","6fgBCSDDdPMInvyNlggls2","7a/QZLET9IDreTiBfRn2PD","a1U5RdJRFMFL57BdJC9H1X","c0BAyVxX9JzZy8EjFrc9DU","cffgu4qBxEqa150o1DmRAy","e0LYfU5ZlNFoAB4UiRrGUG","ecpdLyjvZBwrvm+cedCcQy","f1h0LXVtJOta5JLZ1xCzfI"],"scenes":{},"redirect":[],"deps":[],"packs":{"0967b326a":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},"name":"internal","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0967b326a","1f618"],"native":[0,"cea68"]}}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

View File

@ -1 +0,0 @@
{"paths":{},"types":[],"uuids":["0fmquJXghCPYAwJZ/lTE10","6dYYyc3G1I0KIDMwRyX4hb","73YsrHErVHBK9tWxEMXp/P","75daa9oh1JHqrS5AoYloPp","75tPNocLVFLZr9ynpvHi5g","8dZ8hkx/RDBYs7LWbraeNJ","99iiS9/6BPlrw5qXifQr2b","9cCAYtTPFLbqi6SjiBzH59","a5UYsPftNG8Kp4k/AvRXnM","a5mdzM1aJP/4bq86A86be4","e1ucz1XOBPOpizvgPaiqCx","e40vFudmNO5aR5Bq4OrpHV","ecKTYQF2dG6La2Spp57yIz","f80GegmNBKl4FZUGlGJi1L","01sz8XpChLRb2daHnz6A1N","02BVTesOxNL7wdOo/yIUcD","02BW2ADNtF6rOO4TlfbvAf","02jJ3Sf29LfbLw3TC0uC4d","021VPfGuNDu7xpgzGDAP+5","03T4dSlq9Bhp0KpJ7tuVu5","08GonkzU1Jt4GjvSszIcom","0f3+nwwRZJ0r1u6retM/pI","10WQlOayRDfr4SBJExnWFx","133dVklqRPQayTF2plqvqm","15CNN2mSVCxIrlepze0+QL","157MkuqhhBK6s4jlN8iY1J","1aEtch3zVD1JmpxDuK/K1A","1dCf7LUC9AmJ/MmP/y0GVB","1epotH4L9DsIM0RhHiG+N0","1eutJjmhVBsoA2roXdaCm2","21bxw0mrFL95E2HXv8c2AQ","21cpY+YFJHNYjMVjaIx74S","23dQw8xR1AvJ70Mq+CkkaR","245WDFItVE5ItVhUMf2KYb","25jg6piOZGgrIkX/AmxQ+8","27IYqNb7lLzra8xcUODBC7","27T+dSYa5BeoSehSa/iqMs","2bHhAY+e5A7rJsK1dL8Alh","2cH3qe4QNCYJln48BhDDdi","2eFGhqXSlIiZJ8wEnZbcNd","32ckrQaBdF0o0oSeMjCe5Y","34MUF4f3pKvYhcGGC0eNpW","35FDhfXIxNaqBJFivXX5f4","3775PuYwFMGq2aDSLxHpEE","38QXGSy4FFh4cJfnyFFVdG","3dwS3vhBND34bU73qDrjHq","40IRtpBu9Ct6qoJeSRsJ2l","44HmleQ6JD6Kg5RG81R/uC","44y8G+/kxA345SPC92jWHu","45/H5ae4BKEqO7CWQxxw8D","467kxsKDJD6araE59/bBwZ","47IxP9xulH26mTZqCy1b5K","4anh92rPFIt6V0wOeek158","4bXW7rcKhNoYs3u07E0L9w","4bn/oXuklFwZTmYPZIi5in","4cnPnzV19MfZEcQBqYXbht","4eAfd+ge1Nw6erJZxES65N","50B3TEoUNLEbxYxDSKNIjl","51+LYHI3xBH68Uxvhm5+OM","52tZNB6zRC24h4bSR344dE","53PCrL0T5KJbxmnbvCgkgV","56PJCBWvpIPJfwrOT80ejs","57vX3srAdNfrf3h0YK7oXM","58X6G1j8BJl67iXm+lG5NO","58lvbQkw1AILNqoWrbGniC","59y0M8jLNJNaI25FOrP3Et","5futyoYH1DHo3PwDlo1P8V","65ehMaU/JCsbw4TXJzYyVT","65/BU6QBlPuoT8p1qekMR5","67KXxL8BtAe6XUZLVR72Hp","69Xogd8bpNLIspK7d+bA9g","6cUOOZkRJDPJ2eVQqrsZjh","6fn60ifdhFXosDzBUP4S19","70792O8C9HUbx/5RAcqUyK","7086x23GtB+p72vhEIQRVq","71bMA59jNEF7T5Z9oNb1/s","72burDGahJN4Nfds2nYvPw","73lJwL5mlGSbF7/vy6rU7X","76fXnY8O1DOZFeFYBAFPLl","78N705xzJPeI1mCxSFiO+w","7bk6AZXcJJJbthEibeTMHr","7d23KkjixK3r3vX/3ttKJl","7fp8ArviRA8qEiFMP8AEDv","81BS+/qPNF+LwP0miNZWXx","81nawI/khNDJEdALEY9xQO","823IoETe5JO62WMTEKcmHI","83dpLMKFBKNrkTCFHQXRf4","85eiscItxAv55IPKjWZJ40","88yMGs5udGopODhQNtH64O","8bVTitTbxPRYeoK/kxygx6","8br856GiJA/plOqeriPF76","8eXucyfG9AFrBAWFDYrQwa","8fOVE5ZKBFGb97fNtWaXIg","90JqpaG+RPYY1Q5E4d9MBx","906BbVRchP96Byu1nhYtn2","97Ni3NluNC7Lc/KBrJd4ZD","98uS65msZNz7u02Nfg9VaX","9aF5ZN2RFLZ4EHfFVHDtOG","9aY5sA8gJLjpjwa+XOzhzG","9a/zOP1dJDbIT0q3t7Gr2j","9fVBXB1gdMYbTCFzbN1Pts","a1o7GPbVVABoHUccPuu0Mh","a6WGnsEitMD6eE15ZkgcRK","a6rKYX655ETJWewEEg6CVO","a7s6jcSUVML6lX/PgZ/XGs","a8aaZ+GiJJ34qBFzF0bBZB","a8dDJpF2ZNpaHbqrXD3nI0","b27IcPWshLAK1heYa5R+z2","b5YISOfXFOernqiZ4hGIAh","b7DzHXdylJqq88zm9nhSi8","b7MrjxBBBAOrF2BMlW2+sh","b8NG22caNDU5ZVzH6uOIr4","b8f7K9n7pIBIDq0r6mkhJz","b84iN12u5O0pErtINzXfaF","c0nhKeUZVAVLilZeG9Z1w/","c1q108qxtDeJZlX35myc7e","c2O1eCVtFHWI2BImiWedhn","c6dhdrGMZLbqsk8NExJd5l","c8RGSCKhhCUbXq1L50FBUM","c9dNu4pOdMC7isM95gDnCW","cbav9XpjNBUaAlOe9izO3Q","ccjeXGkjBIQp9K8q1eP0YV","cepHJ2FrlIzofuy4Wit5sR","cf+3QdqitBfZVbnh5IWlNR","d4MVgI7bhCRrjG4Ktxd+0Z","d7kYj4eTVKfLbP26Yvu1KJ","d7wS1h9pZN5bYrRJ2/h4jw","d8s1Rq08JC/qVFdxS7FmJ8","dcpd8WcU9JvJPZByqVhpr2","e2mcIgPAtFy4dlX5OBivXU","e455fJ2hROrbuPqL7sKH3c","e6+M5wqWNBUp+sM0EovB66","e9CJyC20dErrnhLU6Zq7Qe","ecpdLyjvZBwrvm+cedCcQy","edTjKJlapJQKUXZ/n9kxr+","ed+k45jhJH86txdeE518Dl","eeH3VvsHBEsaQVSAmyY0SQ","eeov+4N45KC6vZ9XoNtM0f","f1y2i0/HhFvZeG1OIf0CUj","famkOOHyRH/rvNt1q8/y6o","fcoydRvTpG+4q36Dl0iuML","fd8pHijhFBNo6NRCeo4U5I","fflHYSZNFK0q3Qt9j71d9P"],"scenes":{"db://assets/Scene/LoadScene.fire":7},"redirect":[133,0],"deps":["internal"],"packs":{"05c5373fb":[14,15,16,17,18,19,20,0,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,1,72,73,74,75,76,2,77,3,4,78,79,80,81,82,83,84,85,86,87,88,89,90,5,91,92,93,94,95,96,6,97,98,99,7,100,101,8,9,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,10,129,11,130,131,132,12,134,135,136,137,138,13,139,140,141,142]},"name":"start-scene","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["05c5373fb","30c46"],"native":[0,"02109",1,"5d75a",2,"0adce",3,"d0db1",4,"ce6a3",5,"ad94c",6,"2f2bc",8,"bd6c9",9,"7cd42",10,"376a2",11,"962da",12,"5dc27",13,"bc911"]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

View File

@ -1,14 +0,0 @@
let moduleMap = {
'src/assets/Script/tdanalytics.mg.cocoscreator.min.js' () { return require('src/assets/Script/tdanalytics.mg.cocoscreator.min.js') },
'assets/internal/index.js' () { return require('assets/internal/index.js') },
'assets/start-scene/index.js' () { return require('assets/start-scene/index.js') },
// tail
};
window.__cocos_require__ = function (moduleName) {
let func = moduleMap[moduleName];
if (!func) {
throw new Error(`cannot find module ${moduleName}`);
}
return func();
};

File diff suppressed because one or more lines are too long

View File

@ -1,3 +0,0 @@
{
"main": "cocos2d-js-min.js"
}

View File

@ -1,9 +0,0 @@
{
"provider": "wx7095f7fa398a2f30",
"signature": [
{
"path": "cocos2d-js-min.js",
"md5": "e3a9be301e52ef2292a4229df0be13bf"
}
]
}

View File

@ -1,33 +0,0 @@
"use strict";
require('adapter-min.js');
__globalAdapter.init();
requirePlugin('cocos');
__globalAdapter.adaptEngine();
require('./ccRequire');
require('./src/settings'); // Introduce Cocos Service here
require('./main'); // TODO: move to common
// Adjust devicePixelRatio
cc.view._maxPixelRatio = 4;
if (cc.sys.platform !== cc.sys.WECHAT_GAME_SUB) {
// Release Image objects after uploaded gl texture
cc.macro.CLEANUP_IMAGE_CACHE = false;
}
else{
wx.cloud.init({
traceUser: true,
env: 'cloud1-0gvwvqyc948d4b45'
});
}
window.boot();

View File

@ -1,45 +0,0 @@
{
"deviceOrientation": "portrait",
"networkTimeout": {
"request": 5000,
"connectSocket": 5000,
"uploadFile": 5000,
"downloadFile": 5000
},
"plugins": {
"cocos": {
"provider": "wx7095f7fa398a2f30",
"version": "2.4.10",
"path": "cocos"
}
},
"subpackages": [
{
"name": "LoadScene",
"root": "subpackages/LoadScene"
},
{
"name": "res",
"root": "subpackages/res"
},
{
"name": "resources",
"root": "subpackages/resources"
},
{
"name": "TextureBg",
"root": "subpackages/TextureBg"
},
{
"name": "UI",
"root": "subpackages/UI"
},
{
"name": "main",
"root": "subpackages/main"
}
],
"iOSHighPerformance": true,
"iOSHighPerformance+": true,
"useNativePerformance": true
}

View File

@ -1,61 +0,0 @@
"use strict";
window.boot = function () {
var settings = window._CCSettings;
window._CCSettings = undefined;
var onStart = function onStart() {
cc.view.enableRetina(true);
cc.view.resizeWithBrowserSize(true);
var launchScene = settings.launchScene;
// load scene
cc.director.loadScene(launchScene, null, function () {
console.log('Success to load scene: ' + launchScene);
});
};
var isSubContext = cc.sys.platform === cc.sys.WECHAT_GAME_SUB;
var option = {
id: 'GameCanvas',
debugMode: settings.debug ? cc.debug.DebugMode.INFO : cc.debug.DebugMode.ERROR,
showFPS: !isSubContext && settings.debug,
frameRate: 60,
groupList: settings.groupList,
collisionMatrix: settings.collisionMatrix
};
cc.assetManager.init({
bundleVers: settings.bundleVers,
subpackages: settings.subpackages,
remoteBundles: settings.remoteBundles,
server: settings.server,
subContextRoot: settings.subContextRoot
});
var RESOURCES = cc.AssetManager.BuiltinBundleName.RESOURCES;
var INTERNAL = cc.AssetManager.BuiltinBundleName.INTERNAL;
var MAIN = cc.AssetManager.BuiltinBundleName.MAIN;
var START_SCENE = cc.AssetManager.BuiltinBundleName.START_SCENE;
var bundleRoot = [INTERNAL];
settings.hasResourcesBundle && bundleRoot.push(RESOURCES);
settings.hasStartSceneBundle && bundleRoot.push(MAIN);
var count = 0;
function cb(err) {
if (err) return console.error(err.message, err.stack);
count++;
if (count === bundleRoot.length + 1) {
// if there is start-scene bundle. should load start-scene bundle in the last stage
// Otherwise the main bundle should be the last
cc.assetManager.loadBundle(settings.hasStartSceneBundle ? START_SCENE : MAIN, function (err) {
if (!err) cc.game.run(option, onStart);
});
}
}
// load plugins
cc.assetManager.loadScript(settings.jsList.map(function (x) {
return 'src/' + x;
}), cb);
// load bundles
for (var i = 0; i < bundleRoot.length; i++) {
cc.assetManager.loadBundle(bundleRoot[i], cb);
}
};

View File

@ -1,45 +0,0 @@
{
"description": "项目配置文件。",
"miniprogramRoot": "./",
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": false,
"newFeature": false
},
"compileType": "game",
"libVersion": "2.4.15",
"appid": "wxdd145ced49158a1e",
"projectname": "ColorBlock",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": [],
"current": -1
},
"miniprogram": {
"current": -1,
"list": []
}
},
"cloudfunctionRoot": "./cloudfunctions",
"isGameTourist": false,
"packOptions": {
"ignore": [],
"include": []
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"simulatorPluginLibVersion": {}
}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
window._CCSettings={platform:"wechatgame",groupList:["default","Map"],collisionMatrix:[[true],[false,false]],hasResourcesBundle:true,hasStartSceneBundle:true,remoteBundles:[],subpackages:["LoadScene","res","resources","TextureBg","UI","main"],launchScene:"db://assets/Scene/LoadScene.fire",orientation:"portrait",server:"",jsList:["assets/Script/tdanalytics.mg.cocoscreator.min.js"],bundleVers:{internal:"e6604",LoadScene:"8c110",res:"57784",resources:"43ee2",TextureBg:"da6ec",UI:"0fb20","start-scene":"1447d",main:"2a9ef"}};

View File

@ -1 +0,0 @@
{"paths":{},"types":[],"uuids":[],"scenes":{},"redirect":[],"deps":[],"packs":{},"name":"LoadScene","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":[],"native":[]}}

View File

@ -1 +0,0 @@
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);

View File

@ -1 +0,0 @@
{"paths":{"0":["pop_Bg/yinYing",0],"1":["pop_Bg/result_bg2",0],"2":["pop_Bg/tanchuang1",0],"3":["pop_Bg/result_bg1",1,1],"4":["pop_Bg/loadBg",0],"5":["pop_Bg/pauseBg",0],"6":["pop_Bg/yinYing",1,1],"7":["pop_Bg/loadBg",1,1],"8":["pop_Bg/pauseBg",1,1],"9":["pop_Bg/result_bg1",0],"10":["pop_Bg/tanchuang1",1,1],"11":["pop_Bg/result_bg2",1,1]},"types":["cc.Texture2D","cc.SpriteFrame"],"uuids":["22vOOkHVlORqBsUwA5+BO4","66mlpsaMpBLJMhoK8yCFI0","8axTEDXqtIV7VsLQVfC+bj","0fMOrJGtxLaJIzkLHYfedQ","0fmquJXghCPYAwJZ/lTE10","46/VXwfy1ETK1lnf/wgcAI","b41EE5EX1IcqvzDwKC5HYK","c0nhKeUZVAVLilZeG9Z1w/","c4r8twRStLHra2VLm+/J9Y","cfZ+S1ZwVOsICfae+kpYg+","f23PWnm+tHc61VRaL4J6kS","f5SzKVqzJNzrsqee0yekXi"],"scenes":{},"redirect":[3,0,4,1,5,0,7,1,8,0,9,0],"deps":["main","start-scene"],"packs":{"0b2de572f":[0,1,2]},"name":"TextureBg","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false,"versions":{"import":["0b2de572f","c36e8",6,"aed87",10,"5108a",11,"b2452"],"native":[0,"e1c79",1,"7b9fc",2,"2142d"]}}

View File

@ -1 +0,0 @@
(function r(e,n,t){function i(u,f){if(!n[u]){if(!e[u]){var _=u.split("/");if(_=_[_.length-1],!e[_]){var p="function"==typeof __require&&__require;if(!f&&p)return p(_,!0);if(o)return o(_,!0);throw new Error("Cannot find module '"+u+"'")}u=_}var a=n[u]={exports:{}};e[u][0].call(a.exports,function(r){return i(e[u][1][r]||r)},a,a.exports,r,e,n,t)}return n[u].exports}for(var o="function"==typeof __require&&__require,u=0;u<t.length;u++)i(t[u]);return i})({},{},[]);

View File

@ -1 +0,0 @@
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}

View File

@ -1 +0,0 @@
[1,["22vOOkHVlORqBsUwA5+BO4"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"yinYing","rect":[0,0,1080,501],"offset":[0,0],"originalSize":[1080,501],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]

View File

@ -1 +0,0 @@
[1,["8axTEDXqtIV7VsLQVfC+bj"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"tanchuang1","rect":[0,0,1071,1257],"offset":[0,0],"originalSize":[1071,1257],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]

Some files were not shown because too many files have changed in this diff Show More