Android cpp-tests - missing Resources
@gmayer wrote: I’ve downloaded cocos2d-x 3.17.2, unzipped, and ran setup.py. I opened tests/cpp-tests/proj.android in Android Studio (3.4.1) I got an “Error configuring” very much like this post:...
View ArticleHow to change COCOS2D_DEBUG value
@IzzyJM wrote: COCOS2D_DEBUG value is equal to ‘1’ in both debug and release builds for Android, and I think this will cause a lot of unnecessary code to be in my release build which I do not want. Is...
View ArticleHow to protect the image in resource
@bayquabaoto wrote: Capture222.PNG505×534 19.2 KB Posts: 1 Participants: 1 Read full topic
View ArticleNode with CustomCommand flickering on Android 4.4
@sheshmoshen wrote: I have a class that subclasses Node. I override the draw() method and implement onDraw and pass that to the a CustomCommand to which I pass to the renderer. I’m using...
View ArticleIs it possible to read a file content from apk?
@netanalyzer wrote: Hi I use 3rd party libs as source code, which allow me to create sprites from *.svg files. This method work fine with my build for Win32 platform, but not with my Androin builds....
View ArticleHow to get correct vector for cursorPosition in Scenes that follow sprite
@rahoyo wrote: Hi, I have a Scene that follows to a sprite (player) by using: auto followTheSprite = Follow::create(m_box, Rect::ZERO); this->runAction(followTheSprite); that’s work fine, I also...
View ArticleBuild failed for arm target platforms
@netanalyzer wrote: Hi Finally I managed to create working apk for x86 only. Everything works fine. But build for armeabi-v7a failed. I did not changed anything comparing to x86 build. Detailed...
View ArticleFirebase Testlab support for cocos2dx games
@Yathiraj_karkera wrote: Can we test games developed using cocos2dx in Firebase Testlabs? If yes please tell us how to do it. Posts: 4 Participants: 2 Read full topic
View ArticleHow do you proceed to build standalone release apk
@netanalyzer wrote: Hi all Today I managed to build release signed variant of apk containing targeting both abiearm-v7a and arm64-v8a and run it on the real device. I used Android Studio’s Build Apk...
View ArticleHow to manage Subscription inapp?
@chiragkevadiya wrote: @yinjimmy @slackmoehrle @smitpatel88 n my game i create weekly subscription. in this user get 100 coins every day for 1 week. if user is connected with internet then i can check...
View ArticleUnoptimized APK
@rollingpandaarts wrote: When i was upload APK the Play Console GIve Warning Unoptimized APK Posts: 4 Participants: 3 Read full topic
View ArticleHow to find contacted object, which is not inherited Node class, when they...
@Darooooon wrote: Hi, here are some code. class Missile { .... cocos2d::Sprite sprite{ nullptr }; cocos2d::PhysicsBody physicsBody{ nullptr }; float damage{ 0.0f }; .... } .... class Zombie { .......
View ArticleAndroid on Windows 10 - Cocos2d-x Install Fixes
@ProfessorOak wrote: Hello everyone, I spent the past three days trying to get a Cocos2d-x android project to build on my new Windows 10 machine for Android Studio. I had to fix the following issues...
View ArticleXcode 11 - ios 13 - Cocos not running
@kerryk wrote: Hi! I downloaded xcode 11 beta and i tried to run my game. Cocos library does not compile and gives teh following error. I am using cocos2d-x 3.15.1. Can anyone help? Screenshot...
View ArticleAdding box2D source files to Android Studio project
@Apollo18 wrote: For various reason I had to remove the prebuilt box2d files and replace them with the source files. My app modifies the engine slightly and the newer prebuilt version actually...
View ArticleThe physics contact begin callback's contact shape is the same object with...
@Darooooon wrote: Hi, the physics contact begin callback’s contact shape is the same object with the objects were created several times. If you want to see what’s happening, look at the gif at the end...
View Article32bits and 64bits split into two APK(s) 3.17
@vkreal2 wrote: Hi everyone! Anyone here able to successfully split 32bits and 64bits into two APK(s) with 3.17? We can’t seem to find any good guidance from forum search. Much thanks! Posts: 3...
View ArticleCreature2D runtimes now under the Apache license!
@kestrelm wrote: To help the Open Source community which as have all benefited greatly from, Creature runtimes are now also available under the Apache License for non-Creature owners ! Enjoy!...
View ArticleHow to retain device audio?
@tonyw wrote: When my cocos2d-x android app boots up it cuts the audio that was playing on the device, e.g. spotify, or whatever. Is there a way to stop this happening to the player can continue to...
View Article(Force) update ScrollView ContentSize after screen orientation change?
@serpri wrote: Hello. In my code I use ui::ScrollView * m_scroll_view; I add in it a Node obj, in Node I add widgets. At start and on screen orientation I set all widgets size and position, also I do:...
View Article