Skip to content

AuthentiCuber/pygameTimestep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygameTimestep

Timestep is a module based on Pygame that implements a decoupled update and rendering to make any code framerate independant. Based on https://gafferongames.com/post/fix_your_timestep/#the-final-touch. Created so you never have to worry about multiplying by deltatime again.

Why?

Multiplying everything by deltatime is annoying and sometimes doesn't work.

Installation

Simply download timestep.py, put it in your project folder and you're good to go!

Docs

Requirements

  • Python 3.8+
  • Pygame-ce 2.4+

Liscense

This project is licensed under the MIT licence.