does anybody know slicing effect for iphone + cocos2d - iphone

in my game i want to give slicing effect , like after moving my finger on monster it should kill and monster blood should come on screen ,and disappear after few seconds ..
please help me ..
help will be appreciated ..

check this tutorial :- http://blog.roychowdhury.org/2010/11/19/cocos2d-iphone-tutorial-die-grossini-die-part-i/ they create blood particle effect manually

Take a look at MotionStreakTest example coming with cocos2d. I Think you can create your own effect based on this.
Or take a look at particle effects. Create a blood emitter and move it with your finger

Related

Lights and shadows in Unity

So, I'm making a game with Unity, and I have to cover other parts of the level with a shadow, so that the player can't see them. This is how the game looks like now, and more or less i'd like it to look like this
Someone nows how to help me? Like with some tutorials or tips.
Thank you so much.
One solution it would be to cover the part of the level with an object, and you may remove it by using a collider to detect if player is near or maybe by player position

animation with medal & ribbon at level finished

i am new to cocos2d and iphone. i have implemented one simple animation using particle system. it works fine. now i want some more animation like , when my star animation(using particles) completes , i want one medal with ribbon falling down from top to bottom in my screen, i want it's movement just same like we release medal from our hand & hold the ribbon. .can we achieve this kind of action or rather say animation using cocos2d ... any kind of help or idea would be appreciated a lot . .
i have implemented something like this :
I think rope physics would work, but it seems a little too much to add physics just for that.
I would say that the best strategy would be to make an CCSprite animated with CCAnimation.
There is a tutorial for that in this site: http://getsetgames.com/2010/04/18/how-to-animate-sprites-in-cocos2d/
[edit]
Cocos2d introduction to Rope Simulations: cocos2d-iphone.org/verlet-rope

Which to use when - COCOS2d or simple UIImageView with animation?

I am going to create simple iPad game, in which arrow going to hit balls. Where balls are moving in random direction with random speed. When arrow hits ball there is blast like animation with sound (Collision detection is main thing here). So for this what should i prefer. Should I use simple UIImageView and animation or use COCOS2D. Also I am new to COCOS 2d. Any other options are also appreciated. Thank You.
Use cocos2d Animation .Refer below link
if u have spritesheets try this:
1) http://www.raywenderlich.com/1271/how-to-use-animations-and-sprite-sheets-in-cocos2d
or u have separate images refer this:
2) http://cocos2d-iphone.org/wiki/doku.php/prog_guide:animation
Using cocos2d has a lot od advantages over UIKit. One of the things is box2d which will be very helpful for game like this [at least I got this impression for your question].
Do some research about box2d collision detection.

give item direction and speed from the way i swipe on the screen

I am working on a game in cocos2d. The game has multiple sprites coming on the screen. I would like to change that items direction ato the direction a swipe and the speed to how fast i swipe . Does anyone know how i can do this?
Kobold2D (improved Cocos2D) will have built-in gesture recognition starting with Preview 5.
UISwipeGestureRecognizers sort of do what you are asking, although you are limited on the directions you can use. If you want to implement any direction, simply make some code that figured out the direction and speed in the touchesMoved: method. This is a great tutorial on how to get the direction, and also has code which you can modify to get the speed. Simply get the distance and see how long it took to get there, and that gives you the speed. Hope that Helps!
If you want to do it without the gesture recognizer, here's a simple D.I.Y solution: http://www.cocos2d-iphone.org/forum/topic/7925

Problem in using CCCamera

I am going to work on a game project. I am using cocos2d. I want to use cccamera class of cocos2d. Please tell me about any tutorial on cccamera. I want to implement more or less like angry birds, throwing the ball that reaches its destination facing the obstacles in the way.
So when the ball moves ahead the scene accordingly moves back depending on speed of the ball.
How to manage all that. I think i should use cccamera.
Thanx.
CCCamera, per the documentation is used for 3D effects (http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_camera.html) and recommends the use of CCFollow (http://www.cocos2d-iphone.org/api-ref/latest-stable/interface_c_c_follow.html) for 2D related effects (such as following the birds forward, etc).