I fixed the ingamerender-not-rendering bug??

This commit is contained in:
minjaesong
2024-02-05 01:26:27 +09:00
parent 9ec66109a1
commit cc00e1eff9
6 changed files with 21 additions and 14 deletions

View File

@@ -309,6 +309,8 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
private var introUncoverDeltaCounter = 0f
override fun render(updateRate: Float) {
IngameRenderer.setRenderedWorld(demoWorld)
super.render(updateRate)
// async update and render
gameUpdateGovernor.update(Gdx.graphics.deltaTime, App.UPDATE_RATE, updateScreen, renderScreen)