cocos2d-x is a cross plaform port of cocos2d-iphone using C++. It supports iOS, Mac, Android, Samsung Bada, BlackBerry Tablet OS, Windows and Linux. It has built-in bindings for Lua and Javascript.
-2
votes
0answers
37 views
Unable to launch cygpath. Is Cygwin on the path? - cocos2d-x [closed]
I am new to cocos2d-x. I configure cocos2d-x in Windows 8 / Eclipse and I use android-ndk-r8b.
First of all, before I get this error of cygpath, I had the following error:
"Program bash not found in ...
0
votes
0answers
12 views
Weld Joint Box2d not run
i have two object like this :
b2WeldJointDef weldJoint;
//frist body
bodyDefXich.type = b2_dynamicBody;
bodyDefXich.position.Set(3, 2);
b2FixtureDef fixtureDef;
b2PolygonShape ...
-4
votes
0answers
25 views
Sprite blink while move [cocos2dx - ios] [closed]
I have big image (500x500), it moves across screen and blinks while moving. (debug on device)
Anybody help me
0
votes
0answers
35 views
Texture / CCSprite Loading and Unloading
Here I want to know how textures are loaded and unloaded in the game by cocos2d/cocos2d-x?
Basically I am a developer of AndEngine and started working with cocos2d-x. In AndEngine, we have ...
-3
votes
0answers
63 views
How to parse .plist and read and write data (cocos2d-x) [closed]
On IOS, i'm looking for tutorial about parse .plist file. read and write data into plist file
Please help me. THANK U SO MUCH
-2
votes
0answers
36 views
Cocos2dx Assets getting replaced by Default HelloWorld Package [closed]
So i have started coding in Cocos2dx but in my first app only the assets are getting replaced by the deafult HelloWorld Assets.
i have only modified the init method in HelloWorld.cpp file abd havent ...
3
votes
2answers
271 views
How to achieve smooth movement with a fixed timestep
Previously in the update method of my game I was using a variable time step which provided very smooth movement of a player sprite except when the frame rate would drop, even slightly. At that point I ...
-1
votes
1answer
61 views
cocos2d-x export plist from images in windows free tool to use [closed]
as i learn to use cocos2d-x in the part on which i need to animate sprite images
all the tutorials shows how to use something that called plist file that maps the coordinates of the images clips .
...
2
votes
2answers
166 views
How to use facebook sdk on a cocos2dx-project
I'm doing a game cocos2d-x, when user gets a high score, I want them to touch on the Facebook icon and share the high score on their Facebook account timeline.
tutorials on facebook.developer.com ...
0
votes
0answers
62 views
cocos2d-xna CCScale9Sprite usage
I'm trying to get a CCControlButton to render on my game. Using a basic CCScale9Sprite as the button's background works using the following:
var myScale9Sprite = ...
0
votes
0answers
55 views
Time animation in update method
I have 3 animations.
The first has 4 frames with a total duration of 0.4s: ccanimation::createwithspriteFrames(animframes,0.1f);
The second has 2 frames with a total duration of 0.2s: ...
-2
votes
1answer
179 views
are most 2D games tille based? [closed]
So I'm beginning the planing phase for a 2D game that I hope to deploy for iPhone, Android, and maybe windows phone, and I am writing it in Cocos2DX and I'm looking around for map editors that I could ...
0
votes
0answers
76 views
Problem with collision Box2D [closed]
I have been stuck with collisions in Cocos2d-x and Box2D for the past few days.
I have a class object: Ball
enum{
kActionIdle,
kActionBigger,
kActionCollision
}
Ball
{
//variable
...
0
votes
1answer
115 views
CCSequence with two CCAction
I have two CCActions :
CCAction *a;
CCAction *b;
so how to use CCSequence with two CCActions
Thanks
0
votes
1answer
136 views
Rotate Box Sprite With Circle Body
I want to rotate my rectangular sprite with circle body.
The problem is the body doest not attached to the centre of the sprite. This was the default behaviour of the body and sprite.
But I want that ...