How do I detect the presence of a high-dpi display?
@putLimeInCoconut wrote: Hello, how do i detect a "retina" or similar display on the user's device?I tried cc.view.getFrameSize() but it reports bogus on an iphone4 or 5 Posts: 2 Participants: 2 Read...
View ArticleSomething other than xcode for a cross platform game
@westymatt wrote: I'd really like to use only cmake on os X, develop on os x, and at a later stage start testing and configuring for IOS. Is this feasible? I don't want to use cmake to keep...
View ArticleAudioEngine cross-platfrom audio format
@sbk89 wrote: Hi guys. Are there any updates regarding OGG support for AudioEngine for iOS https://github.com/cocos2d/cocos2d-x/issues/12527It's currently using OpenAL behind the back that doesn't...
View ArticleHow to remove this start screen from cocos2d-JS - Android project
@lukenikolov wrote: Screenshot_2016-01-11-21-54-11.png480x800 266 KB Posts: 1 Participants: 1 Read full topic
View ArticleCompressed Spritesheets
@grimfate wrote: I'm trying to use compressed spritesheets (PVR.CCZ files) from a 2.2.6 app of mine in 3.9 and I am getting the message "WARNING: This image is compressed and we cann't convert it for...
View ArticleBox2D, scale and step
@khofez wrote: Hello, i'm having some problems with box2d + cocos2dxIt's nothing specific, its basically everything.For example, I'm having trouble to set the body's size with the sprite size. The...
View ArticleIs Fullscreen possible on iphone?
@putLimeInCoconut wrote: Hello I tried: if(!cc.screen.fullScreen()){ cc.screen.requestFullScreen(document.documentElement); }else{ cc.screen.exitFullScreen(document.documentElement); } And it works...
View ArticleIs there something like TableView in new UI widget system?
@amuse wrote: Is there something like TableView that can reuse cell when scrolling in the new UI system? (I can use UIListView but it seems load all cells!) Posts: 1 Participants: 1 Read full topic
View Articlecocos2s-x 3.x support ios with IPv6 (curl)?
@masteage wrote: questioncocos2s-x 3.x support ios with IPv6 (curl)? etc i know, cocos2s-x 3.x is use v7.40.0 curl this curl lib support IPv6 ? My Test is fail. CURLE_COULDNT_CONNECT (7) Posts: 1...
View ArticleEasiest way to add ads?
@justking14 wrote: I don't need or even want ads in my app, but my app was rejected because it uses the Advertising Identifier (IDFA) with mixPanel and the only way to have mix panel not use the IDFA...
View ArticleHalt execution until reply
@mihir77 wrote: Hi, I am calling a scheduled function from another function. Once the scheduler is created to call a scheduledfunction, the rest of the code in the function is also run, but i want to...
View ArticleClipping perfomance && bug
@nbesshaposhnikov wrote: I'm using some clipping nodes on scene, including ScrollView.(WebGL browser)On this scene performance is very bad. I've profiled it in Google Chrome browser.And I saw that...
View Article[3D] 3D model polygon not properly coming with actual texture
@sriby7 wrote: Hi all, I'm trying with 3d models, here i'm getting some weird output for models which is having animations with that .c3b file. iOS Simulator Screen Shot 12-Jan-2016 6.33.35...
View ArticleSprite turns to black rectangle after application returns from background
@Farrel7786729 wrote: I have a sprite generated by RenderTexture. I copy via following construction: Sprite* spriteClone(Sprite::createWithTexture(rednderTexture->getSprite()->getTexture()));...
View ArticleEvent Listener is removed randomly
@Hoangtaiki wrote: Someone can help me please. I am developing an tower defense game.I have many tower each tower have a event listener. But I don't know why sometime a tower is removed event listener...
View ArticleParticle Trail disappears when using cocos2d::Follow
@mozartalouis wrote: Hey Everyone, Im facing an interesting problem where the particles disappears when I use cocos2d::Follow to follow the particle. My goal is to keep the particle in the center of...
View ArticleHow to set cc.LabelTTF with dynamic text to auto-height with fixed width?
@putLimeInCoconut wrote: Hello,i am sure this must exist, but i couldnt find it in the docs.How do I set the hieght of a cc.LabelTTF according to its text when the width is fixed? Thanks! Posts: 2...
View ArticleBox2d Custom Physics Bodies
@Kay_Kay wrote: It's been a while since I developed games and now before I begin, I need to clarify some doubts. I am trying to make a simple 2D side scrolling game using cocos2dx C++. 1) I decided to...
View Articlecocos2d-x compile error?
@nichlaspro132 wrote: Hi!You know that you have to compile the project before usage in android studio and i did that..But this is what i get when i try to do it:(using the "cocos.py compile -p android...
View Articlecocos2d::Ref Multithreading
@framusrock wrote: Is it possible to use objects inherited from cocos2d::Ref on a background Thread? I'd like to put the simulation of my game on a background thread which uses objects inherited from...
View Article