cocos2d and box2d .. creating map and worlds - iphone

So my question is really about creating different levels in my game. I am using cocos2d and box2d and right now I have a lot of code that actually constructs my world and I can't do pane or stuff like that coz honestly i don't know how..
So any tips and pointers for beginner to create world with static object and then I can add my own sprite to that world and move around with box2d?

Start running through the tutorials for Cocos2D. All of them. Modify them to see changes your interested in. I can think of a number of ways you might be able to construct your levels but it wouldn't necessarily make sense if you are not familiar with the Cocos2D classes and terminology. Try posting your question on the Cocos2D forums as well. Possibly someone in the Cocos2D community has already done this.

Related

Correct terminology for animated characters for iPhone game

I have a guy on freelancer.com that is doing my art for me for my iphone game. Well, I need a 3d character similar to temple run (but does a bunch of other stuff) for my game. I know this guy is really good at 2d and 3d animation, but whenever i try to explain what i need, he says things like, "thats cool, could you please show me the game, that way it would be easier for me to make your video." Im just a little nervous that he doesnt understand what i need. I need a character with several short animation loops, not a 'video'. The guy is also from india, so I think is english is kind of bad and he may not fully understand me. What can i say in terminology to get him to understand what i need. Im pretty sure what im looking for is a 'sprite'? but what is this, can someone just please give me some terms to explain my project.
The terminology you could be looking for might be "sprite", like in the game "Donkey Kong" where pre-rendered 3D animations are converted to 2D animations.
Sprite is probably a safe bet. Even if it isn't the iOS standard, people will understand you because it's a widely-used convention.

Simple Cocos2d Iphone Game. Just some basic questions

I'm making an app, where the sprite has to run across the screen pressing buttons and jumping and ducking. Kind of like line runner. Anyways, I'm using cocos2d. Is this what i should be using. If it is, how would i make it. Im not asking for all the code, just the basic objectives and what i should do! thanks so much!
Cocos2d is one of the best platform to make game i think what you want to do can be done by cocos2d and you need to know how to move object(sprite) across the scene and how to detect the collation.
there is lots of way to move the sprite across the screen you can also move then by the cocos2d built in methods.
search for move method which will help you.
I would definitely advise you to use Cocos2d for this purpose and also Box2d if you need real physics simulation in your game.
Regarding of writing your game have a look here : It contains very useful cocos2d tutorials and even have a tutorial of how to write a full functioning game (Look for the monkey game)
Note : It seems that the link does not work right now but I am sure it will be fixed soon..

how to move images in openGL ES?

I have developed some how 5 iphone application, but now there is one game, and still I haven't any idea except word open GL ES, I read it a bit but I need some explanation and guidance for developing it.
The theme of game is like "there are many objects are moving from down to upside and i have to pick them and drag in boxes according to their color"
can anyone help me for showing proper way how to achieve, the study sources and other material,,
Thanks in Advance,,,
Not a direct answer but why don't you use an objective-c wrapper like cocos2d. That would speed up the things.
Not a real answer either, but are you sure you need OpenGL ES for that?
If your game is simple enough, you can use only custom UIViews. That would be much easier, especially to handle touch interactions.

what element i need to use to build game like this

i am building a game which is similar to the Plain Jane Flash Game for the iPad. I have decided to use cocos2d for the same, while exploring the cocos2d there are lots of option i am having. i am confuse in which elements/controls would be best for this type of game Please guide me or share any link/tutorial on cocos2d which have similar user interface.
I mean shall i use CCMenu/CCmenuItem or there is another control which is more suitable...
shall i use Sprite or simple image would be sufficent as i do not need to move anything in it.
Thanks
Although your question was not very clear, I assume your referring to the functionality of dragging and dropping different clothing items onto the game avatars. A custom CCSprite object would be much more appropriate for doing that.
However, there is not an easy answer for what you are asking. Creating a game like "Plane Jane" will involve many problems that I'm sure have not crossed your mind. I recommend you complete a few Cocos2d-iPhone tutorials before you go any further. Once you do that, you will have a much better understanding of the functionality you will need to create your game.
Here is a nice tutorial for starters:
http://www.cocos2d-iphone.org/archives/582

How to make objects flying around in a view

How is it possible to let some objects fly around and bumb at the end of the view and collide on each other.
The second step would add acceleration of the objects by shaking.
I haven't found a tutorial yet or some step to begin at.
thanks a lot for your help :)
Heres a picter of what i image(only a still)
http://picfront.org/d/ZdSvK9G8D/flying_circles.jpg
Take a look at Cocos2d for iPhone. Google will help you find many tutorials for this framework.
What you need to search for are tutorials on "Collision Detection." Cocos2D is a great place but you will also need a physics engine - Box2d and Chipmunk are both physics libraries that can be used. Some good videos on youtube for cocos2d tutorials and physics engines to see if this is what you are looking for.
Matthew