Final Game Jam version

This commit is contained in:
Exobyt 2025-09-06 23:19:31 +02:00
parent 35ce267482
commit 104a1e4297
141 changed files with 4485 additions and 206 deletions

15
scenes/timer/timer.gd Normal file
View file

@ -0,0 +1,15 @@
extends TextureRect
@onready var animationPlayer = $AnimationPlayer
@onready var pointer = $pointer
func reset():
pointer.rotation_degrees = -90
animationPlayer.stop()
func setTime(currentTime: float, endTime: float):
var newRotation = (100/(endTime/(endTime-currentTime)))*3.60-90
if newRotation >= 180 and not animationPlayer.is_playing():
animationPlayer.play("warning")
pointer.rotation_degrees = newRotation