Difference between frames and milliseconds?

So, I got into an interesting dilemma.
I always saw timers done as milliseconds, i.e

if movetimer.elapsed >= 1000:
    #Do stuff

But, if I was trying to limit the game to, say, 60 fps, how would that change? Do frames impact timers at all?
Someone told me that video game companies measure their time in frames, i.e, the previous if statement would be written as...

if movetimer.elapsed >= 60:
    #Do stuff

If so, how would the conversion from milliseconds to frames would look like?
I know about pygame.time.Clock.tick and about pygame.time.Clock.get_ticks, but I fail to realize how the pieces work together.
So, yeh. Is it true that video game companies base their timers on frames rather than milliseconds? If so, why do those who develop in BGT not follow this practice? Moreover, if the frames over milliseconds deal is true why is the BGT tutorial not appearing to that standard?
I hate to point fingers here, but I started in BGT and am now really disliking how much it left out for me to learn about now. Thanks, simplification



-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector

Reply via email to