Round system
This commit is contained in:
parent
bcb42f8d16
commit
3df8247a84
32 changed files with 573 additions and 123 deletions
8
scripts/gui/hud/player_round_time.gd
Normal file
8
scripts/gui/hud/player_round_time.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends Label
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
var seconds_u = int(round(Session.reference_round_time))
|
||||
var seconds = seconds_u % 60
|
||||
@warning_ignore("integer_division")
|
||||
var minutes = seconds_u / 60
|
||||
text = str(minutes)+":"+str(seconds).pad_zeros(2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue