no day-night cycle on titlescreen demo

This commit is contained in:
minjaesong
2023-07-10 20:44:35 +09:00
parent 6bc3d0e6ad
commit ec24dc9870
4 changed files with 22 additions and 7 deletions

View File

@@ -287,7 +287,7 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
val forcedTime = 39693
// demoWorld.globalLight = WeatherMixer.globalLightNow
demoWorld.globalLight = WeatherMixer.getGlobalLightOfTime(demoWorld, forcedTime)
demoWorld.globalLight = WeatherMixer.getGlobalLightOfTimeOfNoon()
demoWorld.updateWorldTime(delta)
// WeatherMixer.update(delta, cameraPlayer, demoWorld)
WeatherMixer.forceTimeAt = forcedTime