1
0
Fork 0
mirror of https://github.com/Reuh/ubiquitousse.git synced 2025-10-27 17:19:31 +00:00

uqt.timer: now account for update lag, use only dt for calculations

This commit is contained in:
Étienne Fildadut 2019-12-29 22:32:30 +01:00
parent 6dc939bd16
commit f22e0bef26
5 changed files with 57 additions and 69 deletions

View file

@ -99,7 +99,7 @@ let signal = {
-- For example, every ubiquitousse module with a "update" function will bind it to the "update" signal in the registry;
-- you can then call this signal on each game update to update every ubiquitousse module easily.
-- Provided signals:
-- * update, should be called on every game update
-- * update(dt), should be called on every game update
-- * draw, should be called on every game draw
-- * for LÖVE, there are callbacks for every LÖVE callback function that need to be called on their corresponding LÖVE callback
-- @impl mixed