mirror of
https://github.com/jlengrand/korge-samples.git
synced 2026-03-10 08:31:18 +00:00
Bump korge version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
korgePluginVersion=1.12.4.1
|
||||
korgePluginVersion=1.12.5.0
|
||||
#korimVersion=1.12.11-SNAPSHOT
|
||||
#korioVersion=1.11.2-SNAPSHOT
|
||||
#korgwVersion=1.12.4-SNAPSHOT
|
||||
|
||||
@@ -12,8 +12,8 @@ suspend fun main() = Korge(width = 1600, height = 1200) {
|
||||
val numberOfGreen = 5000
|
||||
val numberOfRed = numberOfGreen
|
||||
|
||||
val redSpriteMap = resourcesVfs["gfx/character/character.png"].readBitmap()
|
||||
val greenSpriteMap = resourcesVfs["gfx/character/character2.png"].readBitmap()
|
||||
val redSpriteMap = resourcesVfs["character.png"].readBitmap()
|
||||
val greenSpriteMap = resourcesVfs["character2.png"].readBitmap()
|
||||
|
||||
val greenAnimations = animations(greenSpriteMap)
|
||||
val redAnimations = animations(redSpriteMap)
|
||||
|
||||
BIN
sample-10000sprites/src/commonMain/resources/character2.png
Normal file
BIN
sample-10000sprites/src/commonMain/resources/character2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
@@ -8,7 +8,7 @@ import com.soywiz.korim.format.*
|
||||
import com.soywiz.korio.file.std.*
|
||||
|
||||
suspend fun main() = Korge(width = 512, height = 512) {
|
||||
val spriteMap = resourcesVfs["gfx/character/character.png"].readBitmap()
|
||||
val spriteMap = resourcesVfs["character.png"].readBitmap()
|
||||
|
||||
val spriteAnimationLeft = SpriteAnimation(
|
||||
spriteMap = spriteMap,
|
||||
|
||||
Reference in New Issue
Block a user