Box2d debug draw v3.8.1?
@smitpatel88 wrote: Hi, Can anyone share code to debug draw box2d on v3.8.1?All old solutions not working. Thanks. Posts: 2 Participants: 2 Read full topic
View ArticleSetup cocos2d-x on Mac
@flaxe wrote: How to setup cmake to build cocos2d-x test application from command line, not from XCode? cocos new cocos-test -p test -l cpp -d ~/Projects cd ~/Projects/cocos-test cmake . make Returns...
View ArticleHow to inherit from Ref properly?
@Greenhouse wrote: What is the common pattern to derive from Ref without leaks? Is the following snippet safe? class Derived : public cocos2d::Ref { public: Derived () : x(0), y(0), z(nullptr) {}...
View ArticleCrossFade problem :(
@lordubik wrote: Hi! I am trying to convert a my game from cocos2.26 to cocos3.9, but I have a problem with transition scene CrossFade...this is the video: cocos2.2.6:...
View ArticleNuggeta miltiplayer server on cocos2dx
@sefiroths wrote: Do someone has started a game including nuggeta library?I'm using cocos2dx 3.8 and I'm not able to include the libs and make a connection to the server....Can someone help me or...
View ArticleHowler.js in Cocos2d-x 3.9 can work?
@tufantalan wrote: Actually I want to make a musicBox. cc.audioEngine is limited for this action. Do you have any idea about this? Posts: 2 Participants: 2 Read full topic
View ArticleProblem with create plugin for 3rd party SDK
@AndreyD wrote: Hello all. Have a problem with create plugin for 3rd party SDK with plugin-x.Then launch publish.sh to create got this java error:...
View ArticleGoogle Play leaderboards show up on every score submission on Android?
@Ozden79 wrote: Helo There, Although not related with Cocos2d-x, I've a problem related with Google Play on Android and wanted to ask whether anybody has any solution for that. Simply, I submit a...
View ArticleSocketIO namespaces, paths and custom ACK
@MichaelContento wrote: Maybe I'm doing things wrong but the current implementation von SocketIO is rather limited, isn't it? The features I'm missing are:- Custom path- Namespaces- Custom ACKs-...
View ArticlePointer being freed was not allocated?
@nichlaspro132 wrote: Hi!Why is my game crashing and comes up with this argument? Screen Shot 2015-12-04 at 2.37.29 PM.png1017x888 190 KB After some time i figured out where it was coming from and now...
View ArticleDifference Between Native and Web
@tufantalan wrote: I have added two methods in CCAudio.js ->> cc.audioEngine. They are is based on get and set currentTime. They are working perfect on web but in native not working. What should...
View ArticleSDKBox analytics plugin not initialized - Android
@akotkowski wrote: Hi, I have a problem with Google Analytics integration in my game. I've tried the sample app, and it works. My app is exactly the same and it doesn't.I can't see I/SDKBox (PID):...
View ArticleCocos2d-x Apple Watch compile:
@energyy wrote: In case someone need console commands to compile cocos2d-x with Apple Watch project, as cocos console not supporting it. There it is: Creating xarchive, before running make sure that...
View ArticlePOCO libraries integration with Cocos2d-x (cross-platform)
@marekfoltyn wrote: (if this post is a duplicate of another, I am very sorry, but I couldn't find it) Hi,short intro at first I am starting to write final university project (a kind of game with...
View Article[SOLVED] SDKBOX Review plugin bug
@Edvinas wrote: Hi, I found bug on review plugin. First of all, on Android plugin works great. But on iOS if set custom title or anything else custom for review box, listener won't work. None of these...
View ArticleHow to set up spines in cocos2d-x js
@Drsmall wrote: So I've created a simple walk cycle in Cocos Studio and wanted to add it to my code. var HelloWorldLayer = cc.Layer.extend({ sprite:null, ctor:function () { this._super(); var size =...
View ArticleHow to protect your APK file?
@Skyfrit wrote: Anyone can unzip an APK file and access all the resources, assets.So is there any way to protect your APK file?(like encrypt assets file?) And what is Proguard? Posts: 4 Participants:...
View ArticleHow can I get location data in cocos2d-x C++?
@condor304 wrote: Hello, I want to make a game that will use geofencing in the gameplay and I was wondering if I could use cocos2d-x C++ for this project. Can you direct me to a tutorial or relevant...
View ArticleAndroid studio not build the cpp files
@sunriseitgroup wrote: Hello every one, i use cocos2dx v3.9 to create a game.I use the android studio to open the android studio project to build the game.I try to run on an armeabi-v7a based emulator...
View ArticleApply 3d lights to 2d sprite
@h0per wrote: Hello, i have 2d sprite with some specific shader + i use 3d models in scene. I want to apply 3d lightning (spotlight) on 2d Sprite to create flashlight effect. Do i need to use...
View Article