CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    1,355

    [RESOLVED] Game Loop: how can i calculate the FPS?

    depending on computer, some games can be more faster, that's why we need calculate the FPS(or the time between frames).
    can anyone explain to me how can i do it?

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Game Loop: how can i calculate the FPS?

    Have you thought about getting a book about game programming and working through its sample code? A book such as this should cover all the basic questions and take you through how to do it.

  3. #3
    Join Date
    Apr 2009
    Posts
    1,355

    Re: Game Loop: how can i calculate the FPS?

    i'm trying learning DirectX 11... and not all books\tutorials have about it

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Game Loop: how can i calculate the FPS?

    Quote Originally Posted by Cambalinho View Post
    i'm trying learning DirectX 11... and not all books\tutorials have about it
    Well Arjay asked you about "a book about game programming", not about a "DirectX 11... books\tutorials".
    Don't you see a difference?
    Victor Nijegorodov

  5. #5
    Join Date
    Apr 2009
    Posts
    1,355

    Re: Game Loop: how can i calculate the FPS?

    so i miss something... i'm so sorry.
    maybe i can find that book\tutorial. thanks for all

  6. #6
    Join Date
    Apr 2009
    Posts
    1,355

    Re: [RESOLVED] Game Loop: how can i calculate the FPS?

    i have found something: http://gameprogrammingpatterns.com/contents.html
    (isn't a pdf but a online book)
    thanks for all

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured