search
Subtotal USD $ 0,00
Total USD $ 0,00
  • Nuevo
  • Libro
    Digital
Framerate Independence: The...

Framerate Independence: The Invisible Math of Delta Time

USD $ 5,99

In the very early days of video games, a character's running speed was strictly tied to how fast the computer's processor could draw frames. If the computer was fast, the game played like a fast-forwarded movie. If it was slow, the game moved in slow motion. To fix this fatal flaw, software engineers developed a foundational piece of mathematical logic: Delta Time. Delta Time completely decouples a game's physics calculations from its framerate. Instead of moving a character "five pixels per frame," the game engine calculates the exact fraction of a second that has passed since the last frame was drawn, and multiplies the movement speed by that exact time difference. This educational guide breaks down the elegant code that ensures a bullet travels at the exact same physical speed whether the player's hardware is rendering the game at a struggling 30 frames per second or a blazing 120 frames per second. Master the laws of digital time. Discover the invisible, ticking mathematical clock that prevents the speed of a virtual world from being hijacked by the hardware running it.

In the very early days of video games, a character's running speed was strictly tied to how fast the computer's processor could draw frames. If the computer was fast, the game played like a fast-forwarded movie. If it was slow, the game moved in slow motion. To fix this fatal flaw, software engineers developed a foundational piece of mathematical logic: Delta Time. Delta Time completely decouples a game's physics calculations from its framerate. Instead of moving a character "five pixels per frame," the game engine calculates the exact fraction of a second that has passed since the last frame was drawn, and multiplies the movement speed by that exact time difference. This educational guide breaks down the elegant code that ensures a bullet travels at the exact same physical speed whether the player's hardware is rendering the game at a struggling 30 frames per second or a blazing 120 frames per second. Master the laws of digital time. Discover the invisible, ticking mathematical clock that prevents the speed of a virtual world from being hijacked by the hardware running it.
  • Isbn
    9783565372881
  • Peso
    1005.5 KB
  • Número de páginas
    150
  • Idioma
    Inglés
  • Formato
    EPUB
  • Protección
    DRM
  • Referencia
    BKW185145