   a REAL newbie needs help
  First, I´m from Argentina, so my english is not very good ...I have a lot of problems,1: I´m making a pacman game and if the player hold a key for a while the game starts going slow, I think it´s a keyboard buffer problem...2: Can I use Allegro or other graphic librarie with borland c++ 3.1, how?3: In the pacman i´m using POO, I got the pacman player and 3 ghosts. If I add more ghosts the game starts going slow. Someone told me it was a heap problem, the extended memory and blah blah, but when i mention that people dont know what I´m talking about.Thanxs, please help me, I´m stuck... 
  sounds like very inefficient code to me...or a really bad system spec? ;  Or maybe the framerate and game speed is dependent on the keyboard and objects inside?When I was working with Borland C++ builder, the only time-management system I knew of was using sleep( )... and it''s bad if you sleep in each object in the game...  ToohrVyk;  all right.. buy my problem is this,what is sleep(), i dont use Builder. I dont know what´s a system spec either...could you tell me?thankzs ;  Are you programming your game in windows?Sleep() is an win32 api function that will "pause" your program for X milliseconds. So sleep(1000) will tell your computer to wait for one second before continuing executing your program.System spec is just short hand english for system specification basically meaning how fast or slow your computer is.;  Hi,For the variable frame rates, you have to make your game time-based instead of frame based.You should calculate the time between your last frame and the actual frame with the movement of your object. You should calculate the frame-time each time you run you game-loop.Something like:time_between_frames = actual_time - last_frame_timemovement = time_between_frames * movement_factorYou should definetly ask this question with my reply in some of the more advanced forums of GameDev. It''s not so difficult as it looks like.Jeroen ;   variable frame rates, time_between_frames?your speaking in chinese to me...I know what is a frame per second, but I dont know how to control it.oh, I have a P3 500 256 Ram, so i dont thinks thats the problem,I´m working on a DOS prompt, borland c++ 3.1 ;  You can calculate the time between the frames, as he said. The movement thing... I think that makes it so it''s not dependent on the frame rate (like a fast framerate wouldn''t make you''re character move faster, which could mess up racing games and stuff...). 