Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Delaying Animation

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    18

    Delaying Animation

    Hi,
    right now I am able to animate through a sprite sheet.but the problem is it animates sooooooo fast.I need to set a small delay between the frames.also the speed is affected by fps so i want to stabilize that also please help.

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    18
    i used SDL_delay which did the work but still my animation is affected by FPS.i want to limit the FPS i turned on Vsync which limits the FPS to my screen refresh rate but on slower systems Vsync causes a noticable lag.so i want to limit my FPS independent of Vsync so that even if the driver forces Vsync on or off my frame limit still works.please let me know this.thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •