/zgame_clock

Provides Time and Stopwatch structures. Time is specialized for game frame timing while stopwatch is more general.

Primary LanguageZigApache License 2.0Apache-2.0

Zig Game Clock

Support an Open Source Developer! ♥️
Become a patron

Features

  • Adds a simple Time structure for use in games and game engines.
  • Adds a Stopwatch which you can start and stop as much as you want.

Usage

With gyro(published):

gyro add zgame_clock

With gyro(sources):

gyro add --src github jojolepro/zgame_clock

Look at the tests inside of the source files to learn how it is used.

Maintainer Information

  • Maintainer: Jojolepro
  • Contact: jojolepro [at] jojolepro [dot] com
  • Website: jojolepro.com
  • Patreon: patreon