Closed Btimes2 closed 4 years ago
First, this should not be exclusive to timed mode.
This should not be hard. You only need to modify Game.lua
Game:new()
, set a new flag o.started
(later it will be self.started
) to falseGame:new()
, mofigy time updater task to only update time if that flag is setGame:touchEnd()
, set the flagThis way it will star the timer when you do you first move. It possibly won't be exact (it will start on the next whole second since game creation), and undo also won't pause it again.
Timed módban ne induljon addig a számláló, amíg rá nem bökök a képernyőre.