Thread: Can you guys test my FPS?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    >in the beginning of the level it initializes stuff

    Initialize as much as you can before you do ANY drawing at all.

    Draw everything at once, dont draw spread out throughout the program. If a user presses the arrow key to move down....then just set a flag saying you need to draw the thing a pixel down the next time you draw, but dont actually draw it a pixel down at that moment....then when it comes around to draw time again, then draw it a pixel down.

    I dont understand why you are getting 13 fps. that is still slower than the human eye. revisit your drawing algorithms, you should not be getting that frame rate. think about it, it is taking almost 100 milliseconds to draw one frame of graphic.

    not to brag or anything, but my game that I am making is getting 73 fps....that is just 13.7 milliseconds per frame...something is wrong with your code somewhere if you are getting a reported 13 fps.....remember, you want at LEAST 16 fps....that is human eye speed....try for at least 25 fps....but it is good to have around 50....or more if you can...

    maybe you are reporting the amount of milliseconds it takes to draw a frame and not your actual frame rate...that might be a problem....but if you use the code i gave you, then you shouldnt be doing that....hmm...

    so either your algorithms are slow and you need optimization or you are placing your fps code in the wrong place.....

    if you're animation looks pretty smooth then you must be reporting frame rates wrong somehow, because at 13 fps it would look kinda choppy...

    oh, and i clicked on the link and i cant download it either..bad link..
    Last edited by DavidP; 06-08-2002 at 01:41 PM.
    My Website

    "Circular logic is good because it is."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sustring test puzzle
    By WDT in forum C# Programming
    Replies: 3
    Last Post: 06-29-2009, 07:19 AM
  2. Help needed to verify a new on-line C test
    By JanHruska in forum Projects and Job Recruitment
    Replies: 15
    Last Post: 06-20-2009, 06:48 AM
  3. Creating C/C++ Unit Test Cases
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 04-28-2009, 08:29 PM
  4. test this game guys
    By actionbasti in forum Game Programming
    Replies: 5
    Last Post: 12-05-2003, 04:05 PM
  5. dramatic decrease in fps
    By DavidP in forum Game Programming
    Replies: 4
    Last Post: 06-27-2002, 09:05 AM