添加探针
修改福建服务器地址
Showing
4 changed files
with
9 additions
and
7 deletions
... | @@ -207,7 +207,7 @@ | ... | @@ -207,7 +207,7 @@ |
207 | "array": [ | 207 | "array": [ |
208 | 0, | 208 | 0, |
209 | 0, | 209 | 0, |
210 | 247.68325805664062, | 210 | 186.19546508789062, |
211 | 0, | 211 | 0, |
212 | 0, | 212 | 0, |
213 | 0, | 213 | 0, |
... | @@ -1167,7 +1167,7 @@ | ... | @@ -1167,7 +1167,7 @@ |
1167 | "__id__": 2 | 1167 | "__id__": 2 |
1168 | }, | 1168 | }, |
1169 | "_children": [], | 1169 | "_children": [], |
1170 | "_active": true, | 1170 | "_active": false, |
1171 | "_components": [ | 1171 | "_components": [ |
1172 | { | 1172 | { |
1173 | "__id__": 27 | 1173 | "__id__": 27 | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -9,7 +9,7 @@ cc.Class({ | ... | @@ -9,7 +9,7 @@ cc.Class({ |
9 | }, | 9 | }, |
10 | statics: { | 10 | statics: { |
11 | 11 | ||
12 | VERSION: "3.1.06", | 12 | VERSION: "1.1.0", |
13 | 13 | ||
14 | SCREEN_WIDTH: 1280.0, | 14 | SCREEN_WIDTH: 1280.0, |
15 | SCREEN_HEIGHT: 720.0, | 15 | SCREEN_HEIGHT: 720.0, |
... | @@ -52,13 +52,13 @@ cc.Class({ | ... | @@ -52,13 +52,13 @@ cc.Class({ |
52 | OFFICIAL_PLATFORM_IP: 'http://139.196.192.33/', | 52 | OFFICIAL_PLATFORM_IP: 'http://139.196.192.33/', |
53 | TEST_PLATFORM_IP: 'http://139.196.192.242:8081/', | 53 | TEST_PLATFORM_IP: 'http://139.196.192.242:8081/', |
54 | 54 | ||
55 | TOPDRAW_API_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', | 55 | TOPDRAW_API_SERVER: 'http://forfun.fj.a183.ottcn.com:8082/clutch/apps/forfun/', |
56 | TOPDRAW_IMAGE_SERVER: 'http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/', | 56 | TOPDRAW_IMAGE_SERVER: 'http://forfun.fj.a183.ottcn.com:8082/clutch/apps/forfun/', |
57 | 57 | ||
58 | TOPDRAW_LOG_SERVER: 'http://139.196.37.202/sparrow.resource/', | 58 | TOPDRAW_LOG_SERVER: 'http://139.196.37.202/sparrow.resource/', |
59 | // BI_BASE_PATH : 'http://139.196.192.242:81/1.gif', | 59 | // BI_BASE_PATH : 'http://139.196.192.242:81/1.gif', |
60 | BI_BASE_PATH: 'http://melody.hi.a170.ottcn.com:80/1.gif', | 60 | BI_BASE_PATH: 'http://112.47.3.214:9092/taohaowan.gif', |
61 | BI_BASE_PATH_NEW: 'http://melody.hi.a170.ottcn.com:80/2.gif', | 61 | BI_BASE_PATH_NEW: 'http://112.47.3.214:9092/taohaowan.gif', |
62 | 62 | ||
63 | TV_LINK_ACTION_CLICK: 100, | 63 | TV_LINK_ACTION_CLICK: 100, |
64 | TV_LINK_ACTION_HOVER: 101, | 64 | TV_LINK_ACTION_HOVER: 101, | ... | ... |
... | @@ -498,12 +498,14 @@ cc.Class({ | ... | @@ -498,12 +498,14 @@ cc.Class({ |
498 | } | 498 | } |
499 | if (this._bIsExistApk == "true") { | 499 | if (this._bIsExistApk == "true") { |
500 | if (this._oSceneContext._downloadUrl && this._oSceneContext._downloadUrl != "undefined") { //如果有下载地址就启动奥比游戏 | 500 | if (this._oSceneContext._downloadUrl && this._oSceneContext._downloadUrl != "undefined") { //如果有下载地址就启动奥比游戏 |
501 | this._oProbe.requestProbe("playOBiGame"); | ||
501 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/common/TopdrawSDKWrapper", "startOBiGame", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", Common.TOPDRAW_API_SERVER + this._oSceneContext._downloadUrl, this._oSceneContext._packageName, this._oSceneContext._className, ""); | 502 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/common/TopdrawSDKWrapper", "startOBiGame", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", Common.TOPDRAW_API_SERVER + this._oSceneContext._downloadUrl, this._oSceneContext._packageName, this._oSceneContext._className, ""); |
502 | } else { | 503 | } else { |
503 | //这里应该转圈圈等待加载游戏 | 504 | //这里应该转圈圈等待加载游戏 |
504 | // cc.find("LoadingLabel", this.node).opacity = 255; | 505 | // cc.find("LoadingLabel", this.node).opacity = 255; |
505 | // cc.find("Loading/LoadingIcon", this.node).opacity = 255; | 506 | // cc.find("Loading/LoadingIcon", this.node).opacity = 255; |
506 | // cc.find("Loading/LoadingIcon", this.node).getComponent(cc.Animation).play(); | 507 | // cc.find("Loading/LoadingIcon", this.node).getComponent(cc.Animation).play(); |
508 | this._oProbe.requestProbe("playGame"); | ||
507 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/common/TopdrawSDKWrapper", "startGame", "(Ljava/lang/String;Ljava/lang/String;)V", this._oSceneContext._packageName, ""); | 509 | jsb.reflection.callStaticMethod("org/cocos2dx/javascript/common/TopdrawSDKWrapper", "startGame", "(Ljava/lang/String;Ljava/lang/String;)V", this._oSceneContext._packageName, ""); |
508 | } | 510 | } |
509 | } else { | 511 | } else { | ... | ... |
-
Please register or sign in to post a comment