Jump to content
Sign in to follow this  
ilusionbr

SteadyFrame.cpp Pine Tree animation bug

Recommended Posts

Hi.  Im trying to keep my client at 40 Frames in SteadyFrame.cpp . 40 Is a good number because improve the game flow and keep a good ascpect in the animations. Unlike 60 frames that makes all animations really fast. 
But i'm having a problem, when i change the  _dwRefreshFPS to any number higher than 30 my Pine Trees animations starts to flick. They keep "bouncing", like was a render problem.

 

Is there a way to fix this issue? 

Share this post


Link to post
Share on other sites
9 hours ago, ilusionbr said:

Hi.  Im trying to keep my client at 40 Frames in SteadyFrame.cpp . 40 Is a good number because improve the game flow and keep a good ascpect in the animations. Unlike 60 frames that makes all animations really fast. 
But i'm having a problem, when i change the  _dwRefreshFPS to any number higher than 30 my Pine Trees animations starts to flick. They keep "bouncing", like was a render problem.

 

Is there a way to fix this issue? 

There is indeed, you need to decrease the animation speed depending on your new FPS value. In the current code, the animation speed is a hard coded value (1.0f).

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...