Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Daltonmayes1

Character animation speed

Question

Well, I made my own characters to go with Mack's charsets. (Also using the tileset)

I want to know where in the scripts it controls the animation of character walking.

If there isn't then can someone direct me to a script that slows it down.

Thing is, with defualt speed, it looks kind of... weird... with the two-tile high characters.

So can anyone help me here? I know it's a small problem, but it just bugs the shiz out of me.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Game_Character2:Line 21-35

    # If animation count exceeds maximum value
   # * Maximum value is move speed * 1 taken from basic value 18
   if @anime_count > 18 - @move_speed * 2
     # If stop animation is OFF when stopping
     if not @step_anime and @stop_count > 0
       # Return to original pattern
       @pattern = @original_pattern
     # If stop animation is ON when moving
     else
       # Update pattern
       @pattern = (@pattern + 1) % 4
     end
     # Clear animation count
     @anime_count = 0
   end

 

Modify this line:

if @anime_count > 18 - @move_speed * 2

 

Basically, how this works is that each frame that the character is moving, @anime_count gets + 1 and once @anime_count is greater than (18 - @move_speed * 2), the next "walking animation" is displayed. So, I would suggest just playing with the "18", increase this value and the animation will be slower; and if you decrease it, well the animation will be faster.

 

Hope this helps (ps. Any changes made will apply to ALL characters)

Share this post


Link to post
Share on other sites
  • 0

Game_Character2:Line 21-35

    # If animation count exceeds maximum value
   # * Maximum value is move speed * 1 taken from basic value 18
   if @anime_count > 18 - @move_speed * 2
     # If stop animation is OFF when stopping
     if not @step_anime and @stop_count > 0
       # Return to original pattern
       @pattern = @original_pattern
     # If stop animation is ON when moving
     else
       # Update pattern
       @pattern = (@pattern + 1) % 4
     end
     # Clear animation count
     @anime_count = 0
   end

 

Modify this line:

if @anime_count > 18 - @move_speed * 2

 

Basically, how this works is that each frame that the character is moving, @anime_count gets + 1 and once @anime_count is greater than (18 - @move_speed * 2), the next "walking animation" is displayed. So, I would suggest just playing with the "18", increase this value and the animation will be slower; and if you decrease it, well the animation will be faster.

 

Hope this helps (ps. Any changes made will apply to ALL characters)

 

thanks! Set it to 24 and now it doesn't look weird. It looked like their legs were moving really fast but their speed didn't match it. Now their movement speed actually matches the leg animation speed xD

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...