/minigdx

Minimalist Game Framework using Kotlin Multiplatform

Primary LanguageKotlinMIT LicenseMIT

███╗   ███╗██╗███╗   ██╗██╗ ██████╗ ██████╗ ██╗  ██╗
████╗ ████║██║████╗  ██║██║██╔════╝ ██╔══██╗╚██╗██╔╝
██╔████╔██║██║██╔██╗ ██║██║██║  ███╗██║  ██║ ╚███╔╝
██║╚██╔╝██║██║██║╚██╗██║██║██║   ██║██║  ██║ ██╔██╗
██║ ╚═╝ ██║██║██║ ╚████║██║╚██████╔╝██████╔╝██╔╝ ██╗
╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝╚═╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝

Minimalist Kotlin/Multiplaform Game Engine.

Platform supported:

  • JVM
  • JS
  • Android

Platform expected:

  • iOS
  • Native (Windows/Linux/MacOS)

🎮 Try it now by creating a game using this game template 🎮

Showcases

Try some example of what can be build using MiniGDX on the MiniGDX Showcase site

2dgame.mp4

Try it!

3dgame.mp4

Try it!

dance.mp4

Try it!

Features matrix

Feature JVM Web Android iOS
2D / 3D Rendering ⛔️
Skeleton Animation ⛔️
Keyboard Input ⛔️
Mouse/Touch Input ⛔️
Sound (MP3) ⛔️
AABB Collision ⛔️
SAT Collision ⛔️
Scripting ⛔️

Build

make build

MiniGDX can be updated while creating a game by using Gradle composite build

Insert in the settings.gradle.kts:

includeBuild('...path to minigdx...')