Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

evana

macrumors newbie
Original poster
Sep 2, 2009
15
0
I want to blow out a candle.can anyone pls suggest me how could i do this in a easy way?or any sample of this?thanks in advance.
 
You do it by detecting the volume of the sound coming in the mic. The rest should be easy if you want an image that moves and disappears or very complicated if you want realistic physics.
 
You do it by detecting the volume of the sound coming in the mic. The rest should be easy if you want an image that moves and disappears or very complicated if you want realistic physics.

Thanks for you reply.actually i want to move an image using blow like Bal-Loon but i cant can you help me out to give some sample code.
 
Thanks for you reply.actually i want to move an image using blow like Bal-Loon but i cant can you help me out to give some sample code.

Check the sample app Speak Here. It shows how to detect and register volume coming through the mic.
 
i have check this but it is critical i need something simple and easy:)
 
Programming, especially for games, isn't "Simple & Easy". If you're really interested in making this product, do what people said. Check samples and learn how to do it.

Noone in their right mind will tell you exactly how to make it. Or else, We would make it and sell it ourself.

Libraries like Cocos2d can help you make it more simple graphic wise, but you still need to come up with the logic behind your idea.

Here are a couple excellent books to get you started:

-Programming in Objective-C 2.0
-Beginning iPhone development

I'd read them in that order.

Good luck.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.