Unity2d : auto up and down game object's position - unity3d

I want my game logo can auto move in x position ( up and down ) .
I try to make it by scripts but unsuccess :(
Any idea ? big thanks :D

use unity Animation Graph
https://www.youtube.com/watch?v=LbZTgvCE-8I
In case of any more queries do let me know

Related

My Character not coming to ground after Jump in unity

I am Sorry for the simple question, I have prepared one model in blender and imported it in unity and wants to make ThirdPersonController.
1) I have added the model in the scene and added component -> Rigidbody, Capsule Collider, ThirdPersonCharacter(Script), ThirdPersonUserControl(Script), , which is all by default.
2) I have uploaded the video on this url also - http://tinypic.com/r/34hw8jo/9 for better understanding, here in the last, you see , when i click on space, it jumps but does not come back to ground.
3) I dont know what i am missing ?? , Please help me in this regard
Thankyou
You need to set the flag "use gravity" so your player can experiment that force.
I recomend you to check out the Rigidbody documentation in Unity.
Hope it helps.

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

Moving box2d bodies randomly in entire screen

I want to fly b2bodies with in the entire screen randomly. Now I'm using ccMoveTo but it does not look soo good. Can anyone tell me if there is any easy method to move without using ccMoveTo or ccBazierTo?
The example game http://www.agame.com/game/chickaboom.html
Thanks in advance
You can use this code
body->setlinearvelocity(b2vec2(randomNumber1, randomNumber2));

SpriteAnimation in unity3d

Hey m plan to make particle effect by using Sprite animation ..but didnot get it in proper way ..
Is there any one who has work on it ??
And also suggest me how I move image respect to time ?...
Waiting for positive response ..
you may want to check out http://www.ezsprite.com , it's a nice spritesheet package for unity it works it's similar to the the animation system in flixel or cocos2d .. it can be used to create a particle effect manually .. I'm not 100% on if you could get it to work with the particle emitters in unity .. if you want to do that your best bet is to probably define a material with a shader that adjusts the uvs as time passes and use that with the emitter

does anybody know slicing effect for iphone + cocos2d

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