the new sprite fully assembled

This commit is contained in:
minjaesong
2021-07-07 16:52:07 +09:00
parent 567fe668dc
commit 0fa395acd5
15 changed files with 173 additions and 6 deletions

View File

@@ -284,7 +284,7 @@ class SpriteAssemblerPreview: Game() {
batch.inUse {
batch.color = Color.WHITE
batch.draw(renderTexture, 0f, 0f)
batch.draw(renderTexture, 0f, 0f, renderTexture.width * 2f, renderTexture.height * 2f)
}
}
@@ -310,9 +310,9 @@ class SpriteAssemblerPreview: Game() {
fun main(args: Array<String>) {
val appConfig = LwjglApplicationConfiguration()
appConfig.resizable = true
appConfig.resizable = false
appConfig.width = 512
appConfig.height = 512
appConfig.height = 1024
appConfig.foregroundFPS = 5
appConfig.backgroundFPS = 5