FPS programming

This is a discussion on FPS programming within the Game Programming forums, part of the General Programming Boards category; thx for those addresses ill go ther and learn them as soon as possible...

  1. #31
    Registered User
    Join Date
    Dec 2002
    Posts
    14
    thx for those addresses ill go ther and learn them as soon as possible

  2. #32
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Also, take a look at:

    Allegro - A game Programming Library
    AllegroGL

    If you have these 2 you can dive right in the programming,
    because they make life sooo much easyer, example (hand
    written):

    Code:
      
     #include <allegro.h>
     #include <alleggl.h>
    
     void main()
     {
       allegro_init();
       install_allegro_gl();
       install_keyboard();
       install_mouse();
    
      set_color_depth(32);
      set_gfx_mode(GFX_OPENGL_WINDOWED,640,480,0,0);
    
      while(1)
      {
        if(key[KEY_ESC])
            break;
      }
    
      allegro_exit();
    
     }
     END_OF_MAIN();
    And voila, whe have a Win32 OpenGL program,from there you
    immidiatly program opengl

    Of course this is only to remove the bull you have normally
    handy if youre just starting and dont want alot to learn already.

    I'm not sure if AllegroGL works perfect with all the NeHe tutorials
    bit at least it an easy start,you can always switch to erhm.....
    well......whats 'standard' for your compiler

  3. #33
    Registered User
    Join Date
    Dec 2002
    Posts
    14
    sure thing ill check those out

Page 3 of 3 FirstFirst 123
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SwapBuffers & fps
    By hannibar in forum Windows Programming
    Replies: 0
    Last Post: 03-13-2006, 04:19 AM
  2. Game update...
    By jdinger in forum Game Programming
    Replies: 14
    Last Post: 11-08-2002, 06:10 AM
  3. FPS Counter Prob in OpenGL
    By brandonp in forum Game Programming
    Replies: 1
    Last Post: 07-16-2002, 02:49 PM
  4. SkyLock graphics demo (scrolling, etc.)
    By jdinger in forum Game Programming
    Replies: 9
    Last Post: 06-30-2002, 08:18 PM
  5. dramatic decrease in fps
    By DavidP in forum Game Programming
    Replies: 4
    Last Post: 06-27-2002, 09:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21