Jni.h error in JniHelper.h
@Minpik wrote: I don’t know why but I have this error : cannot open source file “jni.h” in JniHelper.h but this is not the first time I use jni and I didn’t have this error before Posts: 1...
View ArticleDesktop Platforms?
@nivrig wrote: It's been a while since I checked in on Cocos C++ and I see there have potentially been some good improvements in support for desktop platforms So, in v3.13+ :* How is the...
View ArticleOrder of method call in scheduleUpdate() and onTouchBegan()
@sheshmoshen wrote: Hi, so I have an update function that I implemented in my Scene and I call scheduleUpdate() and I also set a CC_CALLBACK_2 for my touch events my questions is do these two, i.e...
View ArticleCalling retain once in scope?
@sheshmoshen wrote: Hello, I generally understand the Memory Model of cocos2d-x.My question is if I have a Sprite* and I add it as a child to my Layer* and then I want to add this Sprite* to a...
View ArticleHow to removeChild without calling release() internally
@sheshmoshen wrote: I have a sprite that I still want to keep a pointer to, however I want to remove it from the layer so I call removeChild but the problem is that removeChild() internally calls...
View ArticleDeactivating a Sprite*
@sheshmoshen wrote: How can I deactivate a Sprite* in a way that the Sprite* will not be drawn and all physics on the Sprite* to others has no effect? Posts: 2 Participants: 2 Read full topic
View ArticleCocos2d-x app exits with no error in iphone 6 plus simulator
@sheshmoshen wrote: Hello Im in the process of making a new game and after running it, it works but it sometimes exits from the app with no error log, can anyone tell me what's going on? Posts: 2...
View ArticlePort a 3.12 project on 3.10
@RavenTravelStudios wrote: Hi, i did a project in cocos 3.12 and now i need to port it on a workstation where theres 3.10 version. How to do it to keep it working? Thanks Posts: 2 Participants: 2 Read...
View ArticleCocos2d-x wont compile libraries while porting the project
@RavenTravelStudios wrote: Hi, i have an issue on android, when i try to port my project to other workstation and compile, the cocos lib aren't compiling. The error is: expected initializer before...
View ArticleResources missing while porting a project
@RavenTravelStudios wrote: Hi. I have a project. On the same workstation, i create a new project. I copy the resources and classes folder from the old to the new project. Same for android.mk and...
View ArticleCocos2d-x 3.13.1 Fix requests
@energyy wrote: I'm so much interested in getting all little fixes in 3.13.1 so I'm creating this topic with original changelog and we maybe could add there in comments what else should be fixed there...
View ArticleCocos compile -p android fails with Undefined reference to bsd_signal
@durisvk wrote: Hello, I am trying to compile my game to android studio on Windows 10 with command: cocos compile -p android --android-studio --app-abi armeabi but I get the following error: [armeabi]...
View ArticleNo rule to make target
@durisvk wrote: I am trying to cocos compile my project for android studio and I get the following error: make: *** No rule to make target...
View ArticleCocos 3.13 strange behavior setDesignResolutionSize()
@dirtyshadows wrote: Hello,just start New project with 3.13, before i used 3.10 in AppDelegate if(!glview) { glview = GLViewImpl::createWithRect("Example", Rect(0, 0, 960, 640));...
View ArticleReally struggling with win10 tablet mode and virtual keyboard - Help?
@katieJ wrote: Hi, Here is my scenario: // Create a text field auto playerNameTextField = cocos2d::TextFieldTTF::textFieldWithPlaceHolder("Click here to type", cocos2d::Size(400, 200),...
View ArticleSome questions about using JavaScript (and Cocos Creator) on iOS
@ryukbk wrote: Hi, I have some questions about using JavaScript (and Cocos Creator) on iOS. It seems to offer "hot update" of JavaScript code via cc.sys.cleanScript and cc.game.restart, but isn't it...
View ArticleLabelTTF with stroke cuts of using some fonts
@JapanDev wrote: Hi there, I'm using Javascript (3.12) and creating some labels using LabelTTF and adding a stroke. On certain letters, the stroke gets cuts off as different positions (as well as the...
View ArticleHow to disable angular velocity
@sheshmoshen wrote: Hello Im using the default physics engine in cocos2d-x and I need to disable angular motion completely can anyone help? Posts: 4 Participants: 2 Read full topic
View ArticleUnicode characters in cocos2d-x/c++11
@sheshmoshen wrote: Hello I need to use unicode characters that are not in found ascii like for example a division operator in ascii is '/' but what if I want to use '÷' how would I do that? Posts: 1...
View ArticleHow to make Isometric 3D Game (Space Marshal)
@jackalft wrote: Hello I am very new to cocos2d-x. I want to create a game like Space Marshals or reckless race 3 . How can I make 3D isometric games. I've been working on several 2D games to learn....
View Article