Cocos2d-x Android Immersive mode setup instruction
@energyy wrote: We spent some time making it work for cocos2d-x correctly. So now it works for us and should work for you!:) 1) Edit AppActivity.java @Override public void onCreate(Bundle...
View ArticleCocos2d-x 3.10 on Windows 10 setup for Android NDK-11c issue
@energyy wrote: I'm now trying to setup android project on windows machine and stuck with compile.It seems latest NDK 11c is not somehow compatible with cocos, on Mac we created Readme.txt with NDK...
View ArticleLabel overflow not clamping text
@rob_type25 wrote: Hi there Using Cocos2dx-3.10 Hopefully a trivial one but can't work it out... How do i constrain a labels text to it's contentSize? Example: auto usernameLabel =...
View ArticleBuilding on Ubuntu 16.04 issues
@eht wrote: The first issue (SOLVED): /opt/cocos2d-x/cocos/2d/CCActionCamera.cpp:197:22: error: ‘isnan’ was not declared in this scope if( isnan(_angleX) ) ^...
View ArticleSDKBOXPLAY Android error v2.2.0.15
@energyy wrote: Hello,@nite SDKBOXPLAY plugin seems not yet fixed, we againt trying to integrate it, imported/initialized for now app not crashing. Set in json connect_on_start: true and app crashed:...
View ArticleIncluding fmod in cocos2d-x 3.8 for iOS and Android
@Rambazamba wrote: Hi there, i want to try fmod now for iOS and Android. ATM I use version 3.8. My plan would be to copy the programmers apis for android and ios into the external folder and write...
View ArticleCreating Glowing Circle
@Levis wrote: I need to create something like this: Pasted image640x640 198 KB And make it glowing with a repeatforever action with fading in/out. Do you think is better to use a PNG with trasparency...
View ArticleDeveloping with cocos on a school computer
@cubby208 wrote: OK, So I have been trying to get into cocos 2d. I am having a fit of a time getting it set up because of all the console stuff, and where to put files... and I think I previously...
View ArticleListView not aligning magnetically like expected with scrolltoitem
@rob_type25 wrote: Hi there Been battling with a ListView for a while and while i sort of have it working when i now try to use the scrolltoitem method it's not aligning centrally in the listview as i...
View ArticleSplash Screen for slow loading Android App
@nov wrote: I try to add Splash Screen to my Cocos2dx Android app, which I ported from iOS. Because:1. It takes so much time, before the App starts (around 17 seconds). 2. It shows black screen during...
View ArticleDo not understand box2d Step() and update interval when using cocos2d-x?
@nichlaspro132 wrote: Hi! When you simulate the physics in box2d, you are using Step(). But in the user manual it is used in a for loop like this and not as something that will be running all the...
View ArticleTCP Socket Library
@devilzk wrote: Hi, Is there any tcp socket library which allow cocos2d-x game to connect to a socket server and enable send/receive of strings. I am not looking for Websockets / Socket.IO or any...
View ArticleApp store uploading(64-bit not supporting) issue with Cocos2dxv3.0-pre-alpha0
@ritusin wrote: Hi All, I have developed a game with Cocos2dxv3.0-pre-alpha0 and while uploading the game on app store,i have stuck with an issue that the project is missing 64-bit support as below:-...
View ArticleError retrieving parent for item
@Farrel7786729 wrote: I get multiple "Error retrieving parent for item" errors while trying to compile my app. There is one theme about this error already -- link. Proposed solution does not seem to...
View ArticleModel 3d and image TGA problem (cocos2dx-v3.10)
@quano1 wrote: I have a trouble with tga image and model. Pasted image705x536 336 KB It looks well in blender, but after converted to c3t, c3b, This model looks so strange. After I change c3t to use...
View ArticleJudder on first display of Sprite with SpriteFrames
@Guykun wrote: I am currently creating an Animation with a set of SpriteFrames pre-loaded into an array from file at initialization. During gameplay I am then creating a sprite and setting it to run...
View ArticleStrange Weired Line Appear for Images
@tianxinxing wrote: I'm using ImageView for showing images.But sometimes strange weired line appear for some images.Also, I'm using clipping node for masking images, but weired line appear for masking...
View Article[SOLVED]Enter level scene blink
@jecheonDaeseong wrote: I created 3 scene level, Splash Scene -> Product Scene -> Main Menu Scene, but when entering new scene there's little annoying blink animationSplash Scene #include...
View ArticleHow to draw a triangle in 3D
@Lem wrote: Hello! For now I used cocos only for 2D games, now I want to do also some 3D stuff. I want to draw a triangle in 3D space, with the coordinates of lets say P1 = (0, 0, 0), P2 = (0, -100,...
View ArticleLabel is blurry
@compyler wrote: Hello! I am struggling with a really strange problem: I have 2 sprites where each sprite has a TTF label als child. I create both labels in the exact same way: Label* lblMainMenu =...
View Article