KorGE Store

API version: list.json. Add your own resources.
...
Admob support

Author: Korge
License: MIT

services

Adds support for https://admob.google.com/.

...
Billing support

Author: Korge
License: MIT

services

Add support for InApp payments and subscriptions

...
Box2d support

Author: Korge
License: MIT

services

Adds support for Box2D.

main:

registerBox2dSupportOnce()
addChild(resourcesVfs["restitution.ktree"].readKTree(views))

restitution.ktree:

<ktree width="921.3163135700865" height="720.0" gridWidth="20" gridHeight="20">
	<solidrect y="620.0" width="920.0" height="100.0">
		<__ex_physics friction="0.2" restitution="0.2"/>
	</solidrect>
	<ellipse x="120.0" y="246.0" anchorX="0.5" anchorY="0.5" width="100.0" height="100.0">
		<__ex_physics type="DYNAMIC" linearVelocityY="6.0" friction="0.2" restitution="0.3"/>
	</ellipse>
	<ellipse x="260.0" y="246.0" anchorX="0.5" anchorY="0.5" width="100.0" height="100.0">
		<__ex_physics type="DYNAMIC" linearVelocityY="6.0" friction="0.2" restitution="0.4"/>
	</ellipse>
	<ellipse x="400.0" y="246.0" anchorX="0.5" anchorY="0.5" width="100.0" height="100.0">
		<__ex_physics type="DYNAMIC" linearVelocityY="6.0" friction="0.2" restitution="0.5"/>
	</ellipse>
	<ellipse x="540.0" y="245.0" anchorX="0.5" anchorY="0.5" width="100.0" height="100.0">
		<__ex_physics type="DYNAMIC" linearVelocityY="6.0" friction="0.2" restitution="0.6"/>
	</ellipse>
	<ellipse x="680.0" y="246.0" anchorX="0.5" anchorY="0.5" width="100.0" height="100.0">
		<__ex_physics type="DYNAMIC" linearVelocityY="6.0" friction="0.2" restitution="0.7"/>
	</ellipse>
</ktree>

...
Korma experimental extensions

Author: SerVB
License: MIT

extensions

Properties added:

val IRectangleInt.x2: Int
val IRectangleInt.y2: Int

val IRectangleInt.topLeft2: Int
val IRectangleInt.topRight2: Int
val IRectangleInt.bottomLeft2: Int
val IRectangleInt.bottomRight2: Int

...
Login, achievements and leaderboard support

Author: Korge
License: MIT

services

Add support for several platform-dependant services

...
Space Shooter Redux

Author: Kenney
License: CC0

assets

Space-related backgrounds, spaceships, fonts and sounds.

Sample code (views decorators/builders prefixed with spaceShooterRedux):

import com.soywiz.korge.*
import com.soywiz.korim.color.*
import spaceredux.*

suspend fun main() = Korge(width = 512, height = 512, bgcolor = Colors["#2b2b2b"]) {
    //spaceShooterRedux.putBackground(SpaceShooterReduxBackground.Type.BLUE, speedX = 2.0, speedY = 1.0)
    spaceShooterRedux.putDemoCode()
}

...
TextTerminal

Author: soywiz
License: MIT

extensions

Creates a KorGE view displaying text, and supports klogger integration:

val logger = textTerminal().logger("events")
logger.info { "READY!" }