mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
worldgenloadscreen now makes transition
This commit is contained in:
@@ -36,7 +36,7 @@ class UIProxyNewBuildingMaker : UICanvas() {
|
||||
|
||||
Terrarum.setCurrentIngameInstance(ingame)
|
||||
SanicLoadScreen.screenToLoad = ingame
|
||||
AppLoader.setScreen(SanicLoadScreen)
|
||||
AppLoader.setLoadScreen(SanicLoadScreen)
|
||||
}
|
||||
|
||||
override fun endClosing(delta: Float) {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user