Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am new to Cocos2D and I can't find the way to open the camera from the library. I want to open the camera in the my game, can any one help me with with this?

Thank you in advance.

share|improve this question
1  
Can you clarify what you mean by the phrase "open the camera?" –  Josh Petrie Apr 27 '11 at 15:18
    
i want to get the camera input as the sprite in my application so here i want to take photo from the camera thank you for answering –  NIKHIL Apr 28 '11 at 9:24
add comment

1 Answer 1

I guess that CCRenderTexture is what you are looking for.

Take a look at this example

share|improve this answer
    
is this link work for cocoas2d 0.99.5 version because it shown me many of the error thank you for your reply –  NIKHIL Apr 29 '11 at 11:31
    
Maybe this example just works with 1.0, but it should be easy to modify it to work with prior versions –  Sergi May 2 '11 at 13:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.