Box2d - applyforce inconsistent behavior
@zase11 wrote: I am using box2d to simulate projectile motion from a cannon. I am calculating the angle and distance between the cannon barrel and the crosshair. The greater the distance between the...
View ArticleSprites are all black in android when using setColor()
@squashmode wrote: In the game I am working on I have sprites that are greyscale, and I call setColor() on them to set them to various colors when they are created. This works great on the win32...
View ArticleShort Tutorial: cocos2d metaballs the principle of 2d liquids and water
@Joseph39 wrote: i wanna make this short so let's begini found a great article on how to make meatballs but the implementation was written in javascript!...
View ArticleCocos2d-x ui is horrible
@sheshmoshen wrote: The cocos2d-x ui namespace needs to be perfected it's horrible.So much bugs and issues simple layout positioning is a burden it's not good at all.Some one needs to fix it in 3.15!...
View ArticleHow to communicate javascript code with code in Android studio
@basicstepsJ wrote: Hi....I'm newcomer in cocos framework... I have created game in Cocos creator and built it for Android Studio. Language is javascript. Everything works good. Next step I must do...
View ArticleBroadcasting with Replay Kit
@j_jorge wrote: I have implemented the broadcast feature of Apple's Replay Kit in my Cocos2d-x game and I am facing some issues. Mainly, the broadcast seems to start (i.e. there is no error on the...
View ArticleCan't compile cocos2d-x for android studio
@redyredy123 wrote: HIWhen i try to import cocos game into android studio i get gradle build error, because i dont have android-22 in sdk folder. I tried changing every value of android 22 in gradle...
View ArticleDifference between cocos2dx & cocos creator
@IzzyJM wrote: Does anybody know the difference between these 2 ? is cocos creator just cocos2dx with a UI editor ? and is cocos creator updated every time a new version of cocos2dx comes out to have...
View ArticleProblem with buildings-generator (tojs folder)
@basicstepsJ wrote: Hi, I use cocos2dx-js. I add new Custom class in tojs and conf ini to it. When I run ./genbindings.py generation fails.Here is log: .... Generating bindings for target spidermonkey...
View ArticleJSBinding problem
@basicstepsJ wrote: Hi,I compiled project, which written in js... And I want bind some classes to native (C++) code....I generate with bindings-generator CustomClass as said in tutorial:...
View ArticleCocos Creator v1.4.0 Cocos Runtime Build error
@basicstepsJ wrote: I try build Cocos from Cocos Creator, but get following error log:Build Failed: Error: Cocos Runtime not support module(s): TiledMap, DragonBones. My actions: 1)...
View ArticleWhen Release 3.15?
@gmfy wrote: When Release 3.15?When Release 3.15? Posts: 3 Participants: 2 Read full topic
View ArticleCalling Native Methods
@vishnu_mani wrote: I have one more doubt about. Actually in my Cpp class codes, i need to call Objective C codes from my cpp file(my need is to call sharingActivity in both IOS and android).So please...
View ArticleI am trying to draw a line that when the mouse moves that is draws a line,...
@ShadowHunter12 wrote: Here is my code bool AScene::onTouchMoved(Touch* touch, Event* event) { labelTouchInfo->setPosition(touch->getLocation()); auto draw = DrawNode::create(2.0F);...
View ArticleCreate a Curved Moving Rope
@heretic133 wrote: Hi, I want to create a scene like this: 1.png814x574 19.4 KB as you can see in this scene there is a table and there are two pulleys at its sides and there is going to a car in the...
View ArticleCan't generate jsb using new NDK (Crash when generating engine bindings)
@Kellon29 wrote: Hello.I'm trying to generate my own jsb using tutorial, but when i trying to use genbindings.py all crashing after: .... Generating bindings for target spidermonkey .... .......
View ArticleAndroid NDK: MyGame_shared depends on undefined modules: android_native_app_glue
@jaunt wrote: Hello, So I downloaded 3.14.1, created a brand new project, copied all my game classes over from 3.10 (and rewrote them to deal with all the changes) but I can't build android. I'm...
View ArticleEGL_BAD_CONFIG on few devices
@th7nder wrote: Hi guys! I've got this problem - I've written very simple game and it works all good on iOS, but when I compiled it for android it does not launch on simulator and for example physical...
View ArticleAudioEngine Bug on Cocos2d-x 3.14 (was good at 3.9)
@sevent7 wrote: I build project in 3.14 and run smooth on all our android test devices except for the Galaxy S7 edge, it is become laggy everytime it play any audio (sometimes it doesn't play with...
View ArticleInbuild Physics Issue
@sunil9038 wrote: I am using inbuild physics in my game.But some times physics body started falling down in the direction of gravity and disappears.Have any one faced this kind of issue? Posts: 3...
View Article