Skip to content
pedrosantos53Public
forked from EntranceJew/timer

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages