mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
generalised things so that they would work outside of ingame.world; title screen wip
This commit is contained in:
@@ -63,9 +63,9 @@ object BlockPropUtil {
|
||||
internal fun dynamicLumFuncTickClock() {
|
||||
// FPS-time compensation
|
||||
if (Gdx.graphics.framesPerSecond > 0) {
|
||||
flickerFuncX += Gdx.graphics.deltaTime * 1000f
|
||||
breathFuncX += Gdx.graphics.deltaTime * 1000f
|
||||
pulsateFuncX += Gdx.graphics.deltaTime * 1000f
|
||||
flickerFuncX += Terrarum.deltaTime * 1000f
|
||||
breathFuncX += Terrarum.deltaTime * 1000f
|
||||
pulsateFuncX += Terrarum.deltaTime * 1000f
|
||||
}
|
||||
|
||||
// flicker-related vars
|
||||
|
||||
Reference in New Issue
Block a user