Removed Graphics.delta_s and the usage thereof, tweaked credits screen code

This commit is contained in:
Maruno17
2023-05-17 18:50:38 +01:00
parent a96867d537
commit 28a2b7c9c1
17 changed files with 195 additions and 210 deletions

View File

@@ -221,13 +221,12 @@ class TriadScene
def pbDisplay(text)
@sprites["helpwindow"].text = text
timer = 0.0
timer_start = System.uptime
loop do
Graphics.update
Input.update
pbUpdate
timer += Graphics.delta_s
break if timer >= 1.5
break if System.uptime - timer_start >= 1.5
end
end