Questions tagged [cocos2d-iphone]

cocos2d for iPhone is a free open-source framework for building 2D games, demos, and other graphical/interactive applications for iOS devices.

Filter by
Sorted by
Tagged with
3
votes
1answer
777 views

Cocos2d+pybox2d vs Cocos2d-Iphone

Myself and two colleagues are working on making our first indie game for PC and, we decided to use Cocos2D + PyBox2D. We decided this based on what we've seen of Cocos2D-iPhone games, but I'm not ...
3
votes
4answers
1k views

iPhone Game framework on top of cocos2d? [closed]

I am using cocos2d to develop iPhone game, however, it is just an 2D engine and developer is too flexible to use them - i.e. codes tends to be unmanageable. Are there any more high level framework ...
2
votes
1answer
1k views

Board Game Design in Cocos2d

I am going to start a chess like board game. And for that I have reviewed a number of things available. One is http://www.mapeditor.org/, using which you can create a grid base games. Another option ...
7
votes
2answers
2k views

How to make bird to fly using box2d

I am new to Box2D, I have set gravity to 10. How to make an object fly in space even though the gravity is 10. What are the properties I need to set to make object fly? Is there any different approach?...
4
votes
0answers
6k views

tool to create a motion path for cocos2d [closed]

I want to move a ccsprite object along a pre defined path. ( Similar to motion guide in flash) Is there any tool i can use to create this path?
3
votes
1answer
2k views

Best way to prevent UIPanGestureRecognizer from firing when moving sprites in cocos2d

Im using UIPanGestureRecognizer in my cocos2d game to do drag and drop of sprites. I have a row of sprites and when I drag a sprite on top of another one, the sprite underneath it and any other ...
10
votes
3answers
9k views

Comparison between Cocos2d and Corona [closed]

I'm having a really hard time deciding which way to go on this. I'm about to start developing a game and I haven't been able to find many good comparisons between these approaches. I don't have many ...
1
vote
1answer
615 views

How to use the chipmunk physics-engine?

I am developing a game demo where I want a physics simulation with balls and obstacles. I know that this is possible with the chipmunk physics-engine but I don't know how to use it. Can anybody give ...
11
votes
7answers
3k views

Separation of drawing and logic in games

I'm a developer that's just now starting to mess around with game development. I'm a .Net guy, so I've messed with XNA and am now playing around with Cocos2d for the iPhone. My question really is more ...
9
votes
2answers
2k views

What's the recommended bitrate for Background Music in iPhone Games?

What is the recommended bitrate for Background Music in iPhone Games?
0
votes
1answer
1k views

Interacting with scene from controller/app delegate cocos2d

I'm attempting to make my first cocos2d (for iphone) multiplayer game and having difficulty understanding how to interact with a scene once it is running. The game is a simple turn-based one and so I ...
3
votes
1answer
5k views

iPhone image asset recommended resolution/dpi/format

I'm learning iPhone development and a friend will be doing the graphics/animation. I'll be using cocos2d most likely (if that matters). My friend wants to get started on the graphics, and I don't ...
2
votes
2answers
8k views

how can i move static box2d object

how can i move static box2d sprites. i have tried this tutorial from . http://www.raywenderlich.com/475/how-to-create-a-simple-breakout-game-with-box2d-and-cocos2d-tutorial-part-12. I managed to add ...
2
votes
3answers
1k views

Help comparing Cocos2d and Unity3d for this project [closed]

I will not go into details, but I would like to hear your opinions about this: Essentially, my project will be a 2d game, with lots of complex levels, where some might be simple and others might be a ...
2
votes
5answers
9k views

Best way to learn iphone game development? [closed]

I know php and some python, but not much c. Where should I start to learn iphone game development? Is there some recommended books/tutorials for beginners? I'm looking at using cocos2d but I'm open to ...
3
votes
6answers
7k views

Recommended book for cocos2d? [closed]

I'm an experienced programmer that recently got into iOS development by working through the big nerd ranch book by Aaron Hillegass and Joe Conway. I loved the way the book was structured in terms of ...
5
votes
1answer
748 views

Typical Method Of Building Puzzle Levels

I am designing a puzzle game for the iphone and was wondering as most puzzle games consist of the player progressing through multiple levels. You see for example Angry Birds has over 100 levels. Once ...
0
votes
2answers
934 views

How can I move an object around the screen in cocos2d?

I am trying to move the object around the screen using cocos2d. I have this code: ...
8
votes
1answer
791 views

How are you handling scores that can worsen (e.g. Elo rating) in Game Center?

Currently, Game Center leaderboard scores can only change one-way (e.g. increase). This makes it impossible (I think) to deal with Elo ratings and the like. How are you getting around this in your ...
2
votes
1answer
3k views

Drawing polygons with a repeating texture on iOS

I want to draw a terrain for a 2d game, and this terrain is defined by some rotated rectangles and circles, I want to draw my terrain as if it was a repeating texture clipped by those forms. I already ...
5
votes
2answers
2k views

How to make Snake Body in Snake Game?

I'm new in cocos2d and game dev. I'm still learning in game dev. My goal is to make one game like Doodle Grub. But problem is snake body. I wrote like following ...
3
votes
1answer
1k views

How do you create your levels containing curved slopes in Box2d?

I have just started developing games for iPhone in Cocos2d and am currently working on a Box2D prototype. I know this is not an easy start, but I have experience in the AS3 port of the physics engine. ...
5
votes
3answers
5k views

Tracking Multiple Touches using Hash codes in Cocos2d for iPhone

How do you implement a touch hash code and reference it later? I have read about a "hash" code, but I don't understand how to use it. I want to know when two of my Sprites are touched at the same time,...
6
votes
2answers
2k views

cocos2d Merging box2d bodies

i'm using cocos2d to build an iphone game. my game currently has two sprites: one for the main character and another for an item i should carry once he gets on him. the main character and the item ...
8
votes
2answers
3k views

How to create an endless scrolling background?

I need to add a scrolling background to a my game, the image is 512x512px. It's for a car game with two way traffic and I want to be able to cross over to the opposite side and drive against the ...
-8
votes
1answer
1k views

How to make a BattleShips game? [closed]

How do I make a Battleships game for the Iphone? I'm new to programming, I've done some tutorials and I feel I'm making progress with this but I would like to make a full game like battleships. Can ...
2
votes
0answers
729 views

How to create fun and interactive menus with cocos2d? [duplicate]

Possible Duplicate: How to make animated buttons in a menu with Cocos2d? How do I make fun and interactive menus with cocos2d, all the tutorials are just for simple clickable menus. Can any one ...
5
votes
2answers
3k views

How to make animated buttons in a menu with Cocos2d?

How do I make animated menus with cocos2d, I just want to animate the buttons and not the entire scene. Effects I look for is flipping buttons (like the back of the button is the next menu), buttons ...
4
votes
1answer
5k views

How to create endless scrolling landscape using coco2d's CCParallaxNode

I created a horizontally scrolling landscape using CCParallaxNode. However it does not seem to support endless scrolling in one direction. As soon as the first image "ends" the background shines ...