Quantcast
Channel: Cocos Forums - Latest topics
Viewing all 17105 articles
Browse latest View live

Cocos Creator 2.0.1 TTF Font issue

$
0
0

@megasoft78 wrote:

Hi guys,
I’m trying to use a font called LuckiestGuy.ttf on a Facebook Instant Game.
When I run from Cocos Creator everything is fine but when I deploy to Facebook Instant Games I get a weird behaviour.
From PC everything is fine but from Android the vertical align is off.
Here’s 2 screenshots:

I attached the font.

LuckiestGuy.zip (39.4 KB)

Could anyone help me to fix it?

Posts: 1

Participants: 1

Read full topic


Handle device camera image

$
0
0

@Serogriff wrote:

Hello everyone, I’m new to the cocos creator and on the html + ts stack. I had a task to get an image from a mobile phone camera. I did not find standard methods for capturing images. On the expanses of the network, I found a js code that I use to create the video element and activate the camera.

if (navigator.getUserMedia)
{
navigator.getUserMedia( // Request the camera.
{ video: true }, // Constraints
( localMediaStream ) => // Success Callback
{
var video = document.querySelector(‘video’);
video.src = window.URL.createObjectURL(localMediaStream);
video.onloadedmetadata = (e) =>
{ /* Do something with the video here. */ };
}
}

Next, I would like every frame to receive data from this element and create a texture. For example, save the data in RenderTexture, then pass the spriteFrame object as an argument to the setTexture method. If there are any ideas or suggestions, I will be very grateful.

Posts: 1

Participants: 1

Read full topic

Prince of Persia : Escape

Cocos2d-x v3.18

SmartFoxServer 2X with Cocos Creator

$
0
0

@tanch5105 wrote:

Hi guys, Im new in Cocos Creator, and I want to implement smartfoxserver 2x for my multiplayer game in web platform.
I tried import sfs2x api js file in Cocos Creator, but face some compile errors:
With “Import As Plugin” (Checked)

  1. Run in simulator error: Simulator: ScriptEngine::runScript script sfs2x-api, buffer is empty!
  2. Run in browser error: Uncaught TypeError: Cannot read property ‘SFS2X’ of null

Without “Import As Plugin” (Unchecked)

  1. Run in simulator error: Simulator: ERROR: ReferenceError: Can’t find variable: DataStream, location: assets/scripts/lib/sfs2x-api.js:3479:25
  2. Run in browser error:
    Uncaught ReferenceError: DataStream is not defined
    at Object. (sfs2x-api.js:6)
    at Object. (sfs2x-api.js:6)
    at n (sfs2x-api.js:6)
    at Object. (sfs2x-api.js:7)
    at n (sfs2x-api.js:6)
    at Object. (sfs2x-api.js:6)
    at n (sfs2x-api.js:6)
    at Object. (sfs2x-api.js:6)
    at n (sfs2x-api.js:6)
    at Object. (sfs2x-api.js:7)

Download link:
SmartFoxServer2X Javascript API

I really appreciate if someone could guide me the sfs2x integration. Thank you.

Posts: 1

Participants: 1

Read full topic

Custom Touch Area

$
0
0

@captainflyaway wrote:

  1. I do have polygons as buttons. I know the vertices of them. How do I set the touchable area to a polygon?
    (“pixel perfect touch area”) - just setting the bounding box to something similar will not work!

  2. Where is the method located which determines whether a touch happened on a button (and fires that touch event ?)

Posts: 1

Participants: 1

Read full topic

Webview crash on Android

$
0
0

@Glidos wrote:

When I try creating a WebView within my app, running it on Android, I see the crash report below. Can anyone suggest how to fix it?

WebSocket was deprecated please use cc.WebSocket instead.
09-23 17:16:18.029 2455-2455/? E/WebContentsProviderReceiver: onReceive - not approved application
09-23 17:16:18.655 2455-2455/? E/WebContentsProviderReceiver: onReceive - not approved application
09-23 17:16:19.321 2455-2455/? E/WebContentsProviderReceiver: onReceive - not approved application
09-23 17:16:57.873 5239-5239/com.laserpoint.itob I/WebViewFactory: Loading com.android.chrome version 69.0.3497.100 (code 349710052)
09-23 17:16:58.005 5239-5239/com.laserpoint.itob I/art: Rejecting re-init on previously-failed class java.lang.Class<uJ>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
        at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
        at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
        at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
        at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
        at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
        at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
09-23 17:16:58.006 5239-5239/com.laserpoint.itob I/art:     at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
        at void android.view.View.<init>(android.content.Context) (View.java:4317)
        at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4454)
        at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
        at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
        at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)
        at void org.cocos2dx.lib.Cocos2dxWebView.<init>(android.content.Context, int) (Cocos2dxWebView.java:72)
        at void org.cocos2dx.lib.Cocos2dxWebViewHelper$1.run() (Cocos2dxWebViewHelper.java:92)
        at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
        at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
        at void android.os.Looper.loop() (Looper.java:154)
        at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6682)
        at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
        at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:1520)
        at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1410)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/data/app/com.android.chrome-2/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-2/lib/arm, /data/app/com.android.chrome-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
        at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
        at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
        at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
        at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
        at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
        at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
        at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
        at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
        at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
        at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
        at void android.view.View.<init>(android.content.Context) (View.java:4317)
        at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4454)
        at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
        at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
        at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
        at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:532)
        at void org.cocos2dx.lib.Cocos2dxWebView.<init>(android.content.Context, int) (Cocos2dxWebView.java:72)
        at void org.cocos2dx.lib.Cocos2dxWebViewHelper$1.run() (Cocos2dxWebViewHelper.java:92)
        at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
        at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
        at void android.os.Looper.loop() (Looper.java:154)
        at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6682)
        at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
        at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:1520)
        at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:1410)
09-23 17:16:58.081 5239-5628/com.laserpoint.itob E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.laserpoint.itob/app_webview/variations_seed_new": /data/user/0/com.laserpoint.itob/app_webview/variations_seed_new (No such file or directory)
09-23 17:16:58.082 5239-5628/com.laserpoint.itob E/cr_VariationsUtils: Failed reading seed file "/data/user/0/com.laserpoint.itob/app_webview/variations_seed": /data/user/0/com.laserpoint.itob/app_webview/variations_seed (No such file or directory)
09-23 17:16:58.116 3637-5313/? I/ActivityManager: Start proc 5629:com.android.chrome:webview_service/u0a91 for service com.android.chrome/org.chromium.android_webview.services.VariationsSeedServer
09-23 17:16:58.123 5629-5629/? I/SELinux: SELinux: seapp_context_lookup: seinfo=chrome, level=s0:c512,c768, pkgname=com.android.chrome:webview_service 
09-23 17:16:58.717 5239-5671/com.laserpoint.itob W/cr_CrashFileManager: /data/user/0/com.laserpoint.itob/cache/WebView/Crash Reports does not exist or is not a directory

Posts: 1

Participants: 1

Read full topic

Creator to Cocos2dx Particle system texture problem

$
0
0

@BryanTriana wrote:

Hi I am currently having a problem whenever I add a particle system node into cocos creator and then build it with the creator to cocos2dx plugin to use it in my c++ project. It turns out that the texture filename is not being found in the javascript parsing code, and I don’t know how to fix it.

Here is a screenshot of the code thats complaining:

The texture is being assigned to the particle system through the sprite frame entry, but when using the plugin it is looking for it through texture uuid, I am not sure what to change in the javascript code so it looks for the sprite frame being assigned.

As you can see the particle system has a sprite frame assigned to it but it is not finding it when the code is parsed through the plugin. Any help fixing this would be greatly appreciated!

Posts: 1

Participants: 1

Read full topic


SdkBox v1.0.1.44 can not import anything

$
0
0

@anh_ld wrote:

Hello,

I can not import anything with sdkbox v1.0.1.44. and creator v1.10

The error is:

#FATAL: [Errno 2] No such file or directory: ‘…\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\src\org\cocos2dx\lib\Cocos2dxActivity.java’
Installation failed :frowning:

Please help resolve this. Thanks

Posts: 1

Participants: 1

Read full topic

Xcode 10 (and CLion) -> black screen

$
0
0

@mars3142 wrote:

I use CLion for the development of my game and today I received XCode 10. I use macOS Mojave Beta (18A384a) and everything compiles fine. But the screen is black (desktop build). I tested it with a new created project and see the same behavior. If I switch back to Xcode 9 everything works fine.

The same effect is directly in the XCode build, so I hope it’s not a cmake/CLion problem in the first place.

Has someone the same issue or should I wait for the Golden Master of Mojava arrives? iOS is working fine with Xcode 10. :frowning:

Edit: I use the latest github sources.

Posts: 1

Participants: 1

Read full topic

Facebook and Google Play Game Service Cannot Import

Gap Between Sprites

$
0
0

@captainflyaway wrote:

I create two sprites and set them next to each other.

On screen I can see a 1px gap that should not be there. ON my phone this gap is also 1px (which is alot smaller).

Also on my phone. A sprite set to origin.y will be rendered a few pixels above the actuall end of the screen. (Samsung Galaxy s8+)

How can I fix this?

(My dirty fix for now is adding +/-2 to the position (which closed the gap - EDIT: +/-1 and the gap is still there).

The sprites are not moving btw.

Could the case be texture bleeding into transparent pixels?

Posts: 2

Participants: 2

Read full topic

What does my .fbx model need to use to render?

$
0
0

@TankorSmash wrote:

I’m trying to use some free 3D assets for a test project (eg this simple cottage model, but this spider too) it doesn’t seem to show on screen, even if the “gl verts: XXX” readout increments as if trying to draw it.

The only message I get is cocos2d: warning: Attribute not found: a_normal, which seems to be a non-issue.

Adding an AmbientLight, or a 1-color texture doesn’t seem to change anything.

The orc.c3b file from cpp-tests works well, but I can’t tell the difference between this file and several other test models I’ve tried. I generated the cottage.c3b file from tools\fbx-conv\win\fbx-conv.exe -a .\cottage_fbx.fbx

This is is the code

bool HelloWorld::init()
{
    //////////////////////////////
    // 1. super init first
    if ( !Scene::init() )
    {
        return false;
    }

    //auto sprite = cocos2d::Sprite3D::create("models/cocos2dx_tests/orc.c3b"); //works
    auto sprite = cocos2d::Sprite3D::create("models/cottage.c3b"); //does not show anything
    sprite->setNormalizedPosition({0.5, 0.5});
    sprite->setVisible(true);
    sprite->setAnchorPoint(cocos2d::Vec2::ANCHOR_MIDDLE);

    sprite->runAction(cocos2d::ScaleBy::create(20, 100));

    this->addChild(sprite, 1000);
}

Is there a specific type of .fbx source file I should be using? I saw somewhere that it should have a texture and both the cottage and spider seems to have one.

Why doesn’t the cottage or spider render, while the cpp-tests orc does?

Posts: 1

Participants: 1

Read full topic

How about remove 3D related and some other codes when integrating metal?

$
0
0

@zhangxm wrote:

As mentioned in this thread, cocos2d-x will support metal. When adapting metal, it will break some APIs, so it is time to remove some codes that are not good implemented or out dated, such codes are:

  • 3d related codes
  • deprecated codes
  • Javascript binding codes: suggest to use Cocos Creator instead
  • cocos builder and cocos studio support codes

What’s your opinion of these changes?

Posts: 2

Participants: 1

Read full topic

Module Config editing causes runtime error

$
0
0

@oddsocks wrote:

I’m attempting to optimize app size.

I have runtime error for a native project with module “DragonBones” removed.
jsb_module_register.cpp correctly undefines USE_DRAGON_BONES, but
jsb_polyfill.js still tries to access the dragonBones javascript object:

ERROR: ReferenceError: Can’t find variable: dragonBones, location: src/jsb_polyfill.js:18131:12

Is this functionality not available for native builds?
Do I need to modify the javascript for the engine also?

Thanks.

Posts: 1

Participants: 1

Read full topic


cc.ParticleSystem works correctly in cocos2d-html5 but not on native cocos2d-x

$
0
0

@fleon wrote:

Hi,

I used particle2dx to create three particle systems and generated .plist files with textures. They work correctly on the web browser with cocos2d-html5, but on native devices (Mac and iOS), only one particle system renders incorrectly, and other two don’t render at all. Can anyone point me to what I might be doing wrong?

Below are two gifs illustrating the difference between web and native (Mac):

native version (mac)

The three effects I used can be found and downloaded here: http://www.effecthub.com/user/1555396

Below is the code I am using:

export default class SuccessEmitter extends cc.Sprite {
  private particlesBeam: cc.ParticleSystem
  private particlesStar: cc.ParticleSystem
  private particlesGlow: cc.ParticleSystem

  onEnter() {
    super.onEnter()

    this.particlesGlow = new cc.ParticleSystem('../particles/glow.plist')
    this.particlesGlow.setPosition(0, 0)
    this.addChild(this.particlesGlow)

    this.particlesBeam = new cc.ParticleSystem('../particles/beam.plist')
    this.particlesBeam.setPosition(0, 0)
    this.addChild(this.particlesBeam)

    this.particlesStar = new cc.ParticleSystem('../particles/star.plist')
    this.particlesStar.setPosition(0, 130)
    this.addChild(this.particlesStar)
  }
}

Also I am using cocos2d-x v3.17.

Would be great if anyone can point me to what I might be doing wrong?

Posts: 1

Participants: 1

Read full topic

DataTaskHandler is not abstract and does not override abstract method

$
0
0

@thuydt2506 wrote:

I have an old project deploy in cocos 3.10. When i open and run that project with Android Studio, i face some issues in libcocos2dx module below:

  • error: DataTaskHandler is not abstract and does not override abstract method onFailure(int,Header[],byte[],Throwable) in BinaryHttpResponseHandler
  • error: method does not override or implement a method from a supertype
  • error: FileTaskHandler is not abstract and does not override abstract method onSuccess(int,Header[],File) in FileAsyncHttpResponseHandler
  • error: method does not override or implement a method from a supertype

Have anyone solution for fixing that ? Tks

Posts: 1

Participants: 1

Read full topic

Stuttering movement and black screen on macOS 10.14 Mojave and Cocos2d-X 3.17

$
0
0

@stirem wrote:

I just updated to macOS 10.14 Mojave and Cocos2d-X 3.17. My game runs, but shows a black screen when the game boots. Buttons and sound work behind the black screen. If I move the window, the graphics will show.

The next issue is stuttering movement/animation. It seems like the framerate is fine, but everything moves with a little bit stuttering. I have tested a clean HelloWorld build, and the issues are the same.

Posts: 2

Participants: 2

Read full topic

[Cocos2d-x 3.1.7] Cannot release apk with lastest sdkbox

$
0
0

@Althurzard wrote:

My project is included some libs
28%20PM
I tried to create a new clean project installed those libs but no luck…

Debug

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.AccessTokenTracker

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.appevents.AppEventsLogger

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.login.LoginBehavior

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.GraphRequest$Callback

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.HttpMethod

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.GraphRequest$Callback

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.ShareLinkContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.SharePhoto

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.SharePhotoContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.AppInviteContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.GameRequestContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.GameRequestContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.model.GameRequestContent

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.CallbackManager

Warning: com.sdkbox.plugin.PluginFacebook: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.login.LoginResult

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.login.LoginResult

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.login.LoginResult

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$1: can’t find referenced class com.facebook.login.LoginResult

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphRequest$Callback

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$10: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$2: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$2: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$2: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$2$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$3: can’t find referenced class com.facebook.share.widget.GameRequestDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.share.widget.AppInviteDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.share.widget.AppInviteDialog

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.share.widget.AppInviteDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.share.widget.AppInviteDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$4: can’t find referenced class com.facebook.share.widget.AppInviteDialog$Result

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessTokenTracker

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessTokenTracker

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$5: can’t find referenced class com.facebook.AccessToken

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.ShareApi

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.ShareApi

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.widget.ShareDialog

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareContent

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent$Builder

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.ShareLinkContent

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhoto

Warning: com.sdkbox.plugin.PluginFacebook$6: can’t find referenced class com.facebook.share.model.SharePhotoContent

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$6$1: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookException

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.FacebookCallback

Warning: com.sdkbox.plugin.PluginFacebook$6$2: can’t find referenced class com.facebook.share.Sharer$Result

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphRequest$Callback

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$7: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.FacebookRequestError

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.FacebookRequestError

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphRequest$Callback

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.FacebookRequestError

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$8: can’t find referenced class com.facebook.GraphResponse

Warning: com.sdkbox.plugin.PluginFacebook$9: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$9: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$9: can’t find referenced class com.facebook.GraphRequest

Warning: com.sdkbox.plugin.PluginFacebook$9: can’t find referenced class com.facebook.GraphRequest

Note: com.chartboost.sdk.Libraries.d: can’t find dynamically referenced class com.google.android.gms.ads.identifier.AdvertisingIdClient

Note: com.onesignal.GenerateNotification: can’t find dynamically referenced class android.app.MiuiNotification

Note: com.onesignal.OSUtils: can’t find dynamically referenced class com.amazon.device.messaging.ADM

Note: com.onesignal.OneSignal: can’t find dynamically referenced class com.amazon.device.iap.PurchasingListener

Note: com.onesignal.TrackAmazonPurchase: can’t find dynamically referenced class com.amazon.device.iap.internal.d

Note: com.onesignal.TrackFirebaseAnalytics: can’t find dynamically referenced class com.google.firebase.analytics.FirebaseAnalytics

Note: com.onesignal.TrackGooglePurchase: can’t find dynamically referenced class com.android.vending.billing.IInAppBillingService

Note: com.onesignal.TrackGooglePurchase$1: can’t find dynamically referenced class com.android.vending.billing.IInAppBillingService$Stub

Note: com.onesignal.shortcutbadger.impl.XiaomiHomeBadger: can’t find dynamically referenced class android.app.MiuiNotification

Note: com.sdkbox.plugin.TrackingInfoAndroid: can’t find dynamically referenced class com.google.android.gms.common.GoogleApiAvailability

Note: com.sdkbox.plugin.TrackingInfoAndroid: can’t find dynamically referenced class com.google.android.gms.common.GooglePlayServicesUtil

Note: com.sdkbox.plugin.TrackingInfoAndroid$1$1: can’t find dynamically referenced class com.google.android.gms.ads.identifier.AdvertisingIdClient

Note: cz.msebera.android.httpclient.extras.PRNGFixes: can’t find dynamically referenced class org.apache.harmony.xnet.provider.jsse.NativeCrypto

Note: cz.msebera.android.httpclient.extras.PRNGFixes: can’t find dynamically referenced class org.apache.harmony.xnet.provider.jsse.NativeCrypto

Note: com.onesignal.GenerateNotification accesses a declared field ‘customizedIcon’ dynamically

Note: com.onesignal.GenerateNotification accesses a field ‘extraNotification’ dynamically

Note: com.onesignal.TrackAmazonPurchase accesses a declared field ‘f’ dynamically

Maybe this is program field ‘com.chartboost.sdk.InPlay.CBInPlay { com.chartboost.sdk.Model.a f; }’

Maybe this is program field ‘com.chartboost.sdk.Libraries.f { com.chartboost.sdk.impl.s f; }’

Maybe this is program field ‘com.chartboost.sdk.Libraries.g { java.io.File f; }’

Maybe this is program field ‘com.chartboost.sdk.Libraries.h$a { int f; }’

Maybe this is program field ‘com.chartboost.sdk.Model.CBError$a { com.chartboost.sdk.Model.CBError$a f; }’

Maybe this is program field ‘com.chartboost.sdk.Model.a { java.lang.String f; }’

Maybe this is program field ‘com.chartboost.sdk.Model.c { android.os.Handler f; }’

Maybe this is program field ‘com.chartboost.sdk.Model.e { boolean f; }’

Maybe this is program field ‘com.chartboost.sdk.Tracking.a { com.chartboost.sdk.impl.ah f; }’

Maybe this is program field ‘com.chartboost.sdk.c { com.chartboost.sdk.Model.c f; }’

Maybe this is program field ‘com.chartboost.sdk.d { int f; }’

Maybe this is program field ‘com.chartboost.sdk.e { int f; }’

Maybe this is program field ‘com.chartboost.sdk.e$a { int f; }’

Maybe this is program field ‘com.chartboost.sdk.f { com.chartboost.sdk.Libraries.CBLogging$Level f; }’

Maybe this is program field ‘com.chartboost.sdk.h { com.chartboost.sdk.impl.e f; }’

Maybe this is program field ‘com.chartboost.sdk.i { java.lang.String f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.ab { com.chartboost.sdk.impl.x f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.ad { java.io.File f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.ah { android.os.Handler f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.an { android.os.Handler f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.ap { java.lang.String f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.as { int f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.at { int f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.av$1 { com.chartboost.sdk.impl.av f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.az { android.graphics.Camera f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.bc { com.chartboost.sdk.impl.bc$a f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.be$b { android.widget.RelativeLayout f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.bg { java.math.BigInteger f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.bi { int f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.c { java.lang.String f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.e { com.chartboost.sdk.impl.c f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.f { boolean f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.j { java.util.concurrent.atomic.AtomicInteger f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.l { com.chartboost.sdk.Libraries.i f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.m { java.util.concurrent.atomic.AtomicReference f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.t { android.widget.TextView f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.u$a { android.widget.ImageView f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.x { int f; }’

Maybe this is program field ‘com.chartboost.sdk.impl.y { int f; }’

Maybe this is program field ‘org.cocos2dx.enginedata.magic.a { int[] f; }’

Maybe this is library field ‘android.graphics.ColorSpace$Rgb$TransferParameters { double f; }’

Note: com.onesignal.shortcutbadger.ShortcutBadger accesses a declared field ‘extraNotification’ dynamically

Note: com.onesignal.shortcutbadger.impl.XiaomiHomeBadger accesses a declared field ‘messageCount’ dynamically

Note: com.onesignal.shortcutbadger.impl.XiaomiHomeBadger accesses a declared field ‘extraNotification’ dynamically

Note: com.sdkbox.plugin.NoOne accesses a declared field ‘applicationInfo’ dynamically

Maybe this is library field ‘android.content.pm.ComponentInfo { android.content.pm.ApplicationInfo applicationInfo; }’

Maybe this is library field ‘android.content.pm.PackageInfo { android.content.pm.ApplicationInfo applicationInfo; }’

Note: com.sdkbox.plugin.NoOne accesses a declared field ‘flags’ dynamically

Maybe this is program field ‘com.loopj.android.http.Base64OutputStream { int flags; }’

Maybe this is program field ‘cz.msebera.android.httpclient.impl.auth.NTLMEngineImpl$Type2Message { int flags; }’

Maybe this is library field ‘android.accessibilityservice.AccessibilityServiceInfo { int flags; }’

Maybe this is library field ‘android.app.ActivityManager$RunningServiceInfo { int flags; }’

Maybe this is library field ‘android.app.Notification { int flags; }’

Maybe this is library field ‘android.content.pm.ActivityInfo { int flags; }’

Maybe this is library field ‘android.content.pm.ApplicationInfo { int flags; }’

Maybe this is library field ‘android.content.pm.FeatureInfo { int flags; }’

Maybe this is library field ‘android.content.pm.PermissionGroupInfo { int flags; }’

Maybe this is library field ‘android.content.pm.PermissionInfo { int flags; }’

Maybe this is library field ‘android.content.pm.ProviderInfo { int flags; }’

Maybe this is library field ‘android.content.pm.ServiceInfo { int flags; }’

Maybe this is library field ‘android.content.res.ObbInfo { int flags; }’

Maybe this is library field ‘android.media.MediaCodec$BufferInfo { int flags; }’

Maybe this is library field ‘android.service.notification.Condition { int flags; }’

Maybe this is library field ‘android.view.WindowManager$LayoutParams { int flags; }’

Maybe this is library field ‘android.view.inputmethod.ExtractedText { int flags; }’

Maybe this is library field ‘android.view.inputmethod.ExtractedTextRequest { int flags; }’


Warning: library class android.webkit.WebView depends on program class android.net.http.SslCertificate
Warning: library class android.webkit.WebView depends on program class android.net.http.SslCertificate
Warning: library class android.webkit.WebViewClient depends on program class android.net.http.SslError
Note: the configuration keeps the entry point ‘org.cocos2dx.lib.Cocos2dxHelper { com.enhance.gameservice.IGameTuningService access$002(com.enhance.gameservice.IGameTuningService); }’, but not the descriptor class ‘com.enhance.gameservice.IGameTuningService’
Note: the configuration explicitly specifies ‘.R$*’ to keep library class ‘android.R$dimen’
Note: the configuration explicitly specifies '
.R$’ to keep library class ‘android.R$drawable’
Note: the configuration explicitly specifies '**.R$
’ to keep library class ‘android.R$id’
Note: there were 1 unkept descriptor classes in kept class members.
You should consider explicitly keeping the mentioned classes
(using ‘-keep’).
(http://proguard.sourceforge.net/manual/troubleshooting.html#descriptorclass)
Note: there were 3 library classes explicitly being kept.
You don’t need to keep library classes; they are already left unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#libraryclass)
Note: there were 14 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)
Note: there were 8 accesses to class members by means of introspection.
You should consider explicitly keeping the mentioned class members
(using ‘-keep’ or ‘-keepclassmembers’).
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclassmember)
Warning: there were 552 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with ‘-dontwarn’ options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 4 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Warning: there were 7 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile the code.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
Warning: Exception while processing task java.io.IOException: Please correct the above warnings first.

FAILURE: Build failed with an exception.

Posts: 1

Participants: 1

Read full topic

Combine textures to improve performance?

$
0
0

@nichlaspro132 wrote:

Let’s say I have the following textures
Asset%2027

Asset%2026

Asset%2025

How could you combine each of these textures into one texture in which the three textures are placed beside each other like this

(the order is not important). You could repeatedly bind each texture to a texture unit and make one draw call per texture. This would in this case sum up to three drawing calls. Combining the three textures into one could then be more efficient since you would only need one drawing call. So how would you accomplish this?

Cocos2d-wise, I am deriving from Sprite and do not want to create three sprites (or instances of the derived class) in order to combine these textures - that would be so much more ineffecient than somehow combining multiple textures into one texture and then passing that final texture to setTexture or similar approaches.

I am reaching about to cocos2d-x and/or openGL wizards :space_invader:

Posts: 2

Participants: 2

Read full topic

Viewing all 17105 articles
Browse latest View live