Skip to content

A simple lua timer library that mimics the gmod timer library.

Notifications You must be signed in to change notification settings

pedrosantos53/timer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

timer

A simple lua timer library that mimics the gmod timer library.

Requirements

  • Lua >= 5.1

Usage

timer, despite the name, doesn't track its own time. We have to provide it, making it ideal to live in a game loop:

function love.load()
	require('timer')
end

function love.update(dt)
	timer.Update(dt)
end

Once timer is being fed updates, the usage is basically the same as it is for gmod.

About

A simple lua timer library that mimics the gmod timer library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%