worldgenloadscreen now makes transition

This commit is contained in:
minjaesong
2019-11-27 17:31:29 +09:00
parent 5255392bc0
commit 25c585e4c1
5 changed files with 15 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ class UIProxyNewBuildingMaker : UICanvas() {
Terrarum.setCurrentIngameInstance(ingame)
SanicLoadScreen.screenToLoad = ingame
AppLoader.setScreen(SanicLoadScreen)
AppLoader.setLoadScreen(SanicLoadScreen)
}
override fun endClosing(delta: Float) {

View File

@@ -39,7 +39,7 @@ class UIProxyNewRandomGame : UICanvas() {
val ingame = TerrarumIngame(AppLoader.batch)
val worldParam = TerrarumIngame.NewWorldParameters(2400, 800, HQRNG().nextLong())
//val worldParam = Ingame.NewWorldParameters(8192, 2048, 0x51621DL)
//val worldParam = TerrarumIngame.NewWorldParameters(8192, 2048, 0x51621DL)
ingame.gameLoadInfoPayload = worldParam
ingame.gameLoadMode = TerrarumIngame.GameLoadMode.CREATE_NEW