Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tekke

Pages: [1]
1
Support / Movement of an animated Sprite gets choppy
« on: May 13, 2013, 11:20:07 pm »
Hello people, i have a little problem here. I have created an Animated Sprite and it is giving me some trouble.

I'm using this code to move the animated Sprite (a game character)

Code: [Select]
//Movement Speed
float fAmtToMove = iPlayerSpeed * Time.deltaTime;

// Movement
transform.Translate (Vector3.right * fAmtToMove);

When the character speed is 0 (no movement) , the animation is alright , but if i increment the speed and it starts to move , the animation start to get some weird choppy effect, like it skips some sprites or something , and as the speed gets up , the effect gets worse.

What can be the problem here? thanks for your time and help

2
Support / Change Sprite Animation via Script in a Animated Sprite
« on: May 08, 2013, 04:42:30 am »
Hello guys , first of all let me congratulate you for your great software!

I am creating an Animated Sprite but i want to use diferent Sprite animations with several clips acording to events , so is there any way for me to change the sprite animation/animation lib via scrpiting , thanks a lot


Pages: [1]