Animation Vibration

Non-platform specific questions.

Animation Vibration

Postby erfan71 » Thu Aug 09, 2012 5:40 pm

Hi
I have a bad problem!
first download my attachment.
in this simple game you see a Player that walk Without any movement!
until now everything is OK!
but when i put right arrow key down to walk right you see the leg of my player starts to vibration ? do you see?
I don't know why? if problem relates to my animation, but why when player is static this problem doesn't happen!!
can any one help me?
Please. :|
Attachments
Desktop.rar
(325.47 KiB) Downloaded 121 times
erfan71
 
Posts: 33
Joined: Sat Jul 21, 2012 8:46 am
Score: 0 Give a positive score

Re: Animation Vibration

Postby Soullem » Thu Aug 09, 2012 8:49 pm

Try setting the animation to no change
Code: Select all
ChangeAnimation("Player","WalkRight",NO_CHANGE)
Current Project:
The Project That needs to be Done -- Pokemon http://game-editor.com/forum/viewtopic.php?f=4&t=12591

Temporarily Abandoned:
Souls of Gustara -- Awesome upgrade blimp game 42%ish
Eggventures of Eggman -- Adventure Game 20%ish
User avatar
Soullem
 
Posts: 105
Joined: Thu Aug 02, 2012 3:12 pm
Score: 5 Give a positive score

Re: Animation Vibration

Postby erfan71 » Fri Aug 10, 2012 3:02 pm

Hi
but if you see my code realize that i currently use this Method

i mean i write NO_CHANGE.

what is the problem???
please help me
erfan71
 
Posts: 33
Joined: Sat Jul 21, 2012 8:46 am
Score: 0 Give a positive score

Re: Animation Vibration

Postby AliceXIII » Fri Aug 10, 2012 7:06 pm

what do you mean the leg vibrates i don't see the leg vibrating??

tried it several times with no problem his animation seems fluid enough..
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: Animation Vibration

Postby erfan71 » Sat Aug 11, 2012 6:47 am

just put down Right Arrow Key and then focus on Right foot of my Hero?
Do You See That؟
if you don't see that tell me to show you on a picture.
thanks. :?
erfan71
 
Posts: 33
Joined: Sat Jul 21, 2012 8:46 am
Score: 0 Give a positive score

Re: Animation Vibration

Postby AliceXIII » Sat Aug 11, 2012 7:07 am

man either you have really good eyes or mine are bad cause i've stared at it for awhile and don't see a problem, could just be me looks fine to me but you can show me in a pic if you want :)
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: Animation Vibration

Postby erfan71 » Sat Aug 11, 2012 8:03 am

Ok.:D
i send you a picture.
thanks.
Attachments
problem.png
erfan71
 
Posts: 33
Joined: Sat Jul 21, 2012 8:46 am
Score: 0 Give a positive score

Re: Animation Vibration

Postby AliceXIII » Sat Aug 11, 2012 9:09 pm

It's most likely caused by your animation not being lined up see i was paying attention to the right foot so much i overlooked that if you watch him when he's walking without movement his entire body moves back a couple pixels easily noticed if you watch his head, so while his whole body actually moves back a couple pixels on top of moving forward so many pixels with the key down it would cover most of it up except for the foot..

this is all just an idea i have maybe try aligning all the images up? :)
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: Animation Vibration

Postby erfan71 » Sun Aug 12, 2012 7:06 am

oh! very nice!

but i don't understand last Sentence you write, what do you mean about aligning pictures up?
erfan71
 
Posts: 33
Joined: Sat Jul 21, 2012 8:46 am
Score: 0 Give a positive score

Re: Animation Vibration

Postby Soullem » Sun Aug 12, 2012 4:32 pm

Lets say that your walk animation has 8 frames in it. The animation sheet you inputted it from is divided into 8 sections. What I do is on MS paint is find the longest of all the frames (ill just say its 50) and extend the page to be the number of frames times(8) the longest frame(50), so its 400 pixels long. Then put the left most pixel on all of the individual pictures at the start of their section. so the first one starts at 1, the 2nd at 50, 3rd at 100, and so on.

Hopefully it will work for you...
Current Project:
The Project That needs to be Done -- Pokemon http://game-editor.com/forum/viewtopic.php?f=4&t=12591

Temporarily Abandoned:
Souls of Gustara -- Awesome upgrade blimp game 42%ish
Eggventures of Eggman -- Adventure Game 20%ish
User avatar
Soullem
 
Posts: 105
Joined: Thu Aug 02, 2012 3:12 pm
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron