Kaynağa Gözat

[FC]:开启AT广告日志

fengcong 5 yıl önce
ebeveyn
işleme
f2af0248df

+ 2 - 2
assets/resources/game/texture/main/head1.png.meta

@@ -7,8 +7,8 @@
   "premultiplyAlpha": false,
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "genMipmaps": false,
   "packable": true,
   "packable": true,
-  "width": 117,
-  "height": 117,
+  "width": 106,
+  "height": 106,
   "platformSettings": {},
   "platformSettings": {},
   "subMetas": {
   "subMetas": {
     "head1": {
     "head1": {

+ 2 - 2
assets/resources/module/login/texture/logo.png.meta

@@ -7,8 +7,8 @@
   "premultiplyAlpha": false,
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "genMipmaps": false,
   "packable": true,
   "packable": true,
-  "width": 533,
-  "height": 355,
+  "width": 478,
+  "height": 310,
   "platformSettings": {},
   "platformSettings": {},
   "subMetas": {
   "subMetas": {
     "logo": {
     "logo": {

+ 2 - 2
assets/resources/module/sign/texture/title.png.meta

@@ -7,8 +7,8 @@
   "premultiplyAlpha": false,
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "genMipmaps": false,
   "packable": true,
   "packable": true,
-  "width": 295,
-  "height": 87,
+  "width": 313,
+  "height": 96,
   "platformSettings": {},
   "platformSettings": {},
   "subMetas": {
   "subMetas": {
     "title": {
     "title": {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 19 - 7728
assets/scene/MainScene.fire


+ 7 - 7
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATRewardVideoJS.js

@@ -36,7 +36,7 @@ var ATRewardVideoJS = cc.Class({
 
 
     /** 检测广告是否加载好 */
     /** 检测广告是否加载好 */
     checkReady: function () {
     checkReady: function () {
-        // ATJSSDK.printLog("AnyThinkRewardedVideo::checkReady()   " + (ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? "Ready" : "No"));
+        ATJSSDK.printLog("AnyThinkRewardedVideo::checkReady()   " + (ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? "Ready" : "No"));
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         return ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? true : false;
         return ATRewardedVideoJSSDK.hasAdReady(this.placementID()) ? true : false;
     },
     },
@@ -46,7 +46,7 @@ var ATRewardVideoJS = cc.Class({
      * @param {*} placementId 广告位id
      * @param {*} placementId 广告位id
      */
      */
     onRewardedVideoAdLoaded: function (placementId) {
     onRewardedVideoAdLoaded: function (placementId) {
-        //ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdLoaded(" + placementId + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdLoaded(" + placementId + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdLoaded(placementId);
         this.proxy.onRewardedVideoAdLoaded(placementId);
     },
     },
@@ -58,7 +58,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      * @returns 
      */
      */
     onRewardedVideoAdFailed: function (placementId, errorInfo) {
     onRewardedVideoAdFailed: function (placementId, errorInfo) {
-        //ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + placementId + ", " + errorInfo + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdFailed(" + placementId + ", " + errorInfo + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdFailed(placementId, errorInfo);
         this.proxy.onRewardedVideoAdFailed(placementId, errorInfo);
     },
     },
@@ -70,7 +70,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      * @returns 
      */
      */
     onRewardedVideoAdPlayStart: function (placementId, callbackInfo) {
     onRewardedVideoAdPlayStart: function (placementId, callbackInfo) {
-        //ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayStart(" + placementId + ", " + callbackInfo + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayStart(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayStart(placementId, callbackInfo);
         this.proxy.onRewardedVideoAdPlayStart(placementId, callbackInfo);
     },
     },
@@ -82,7 +82,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      * @returns 
      */
      */
     onRewardedVideoAdPlayEnd: function (placementId, callbackInfo) {
     onRewardedVideoAdPlayEnd: function (placementId, callbackInfo) {
-        // ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayEnd(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayEnd(placementId, callbackInfo);
         this.proxy.onRewardedVideoAdPlayEnd(placementId, callbackInfo);
     },
     },
@@ -95,7 +95,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      * @returns 
      */
      */
     onRewardedVideoAdPlayFailed: function (placementId, errorInfo, callbackInfo) {
     onRewardedVideoAdPlayFailed: function (placementId, errorInfo, callbackInfo) {
-        //ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayFailed(" + placementId + ", " + errorInfo + ", " + callbackInfo + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdPlayFailed(" + placementId + ", " + errorInfo + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdPlayFailed(placementId, errorInfo, callbackInfo);
         this.proxy.onRewardedVideoAdPlayFailed(placementId, errorInfo, callbackInfo);
     },
     },
@@ -107,7 +107,7 @@ var ATRewardVideoJS = cc.Class({
      * @returns 
      * @returns 
      */
      */
     onRewardedVideoAdClosed: function (placementId, callbackInfo) {
     onRewardedVideoAdClosed: function (placementId, callbackInfo) {
-        //ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
+        ATJSSDK.printLog("AnyThinkRewardedVideo::onRewardedVideoAdClosed(" + placementId + ", " + callbackInfo + ")");
         if (this.proxy == null) return;
         if (this.proxy == null) return;
         this.proxy.onRewardedVideoAdClosed(placementId, callbackInfo);
         this.proxy.onRewardedVideoAdClosed(placementId, callbackInfo);
     },
     },

+ 1 - 1
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATSDKMgrJS.js

@@ -14,7 +14,7 @@ var ATSDKMgrJS = cc.Class({
     /** 初始化Sdk */
     /** 初始化Sdk */
     initATJSSDK: function (appid, appsecret) {
     initATJSSDK: function (appid, appsecret) {
         
         
-        ATJSSDK.setLogDebug(false);
+        ATJSSDK.setLogDebug(true);
 
 
         var customMap = {
         var customMap = {
             "appCustomKey1": "appCustomValue1",
             "appCustomKey1": "appCustomValue1",

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor