
Lightweight tool for creating game-like experiences using an Entity Component System to coordinate elements within a game world. Supports easy integration with composable functions.
A toy project for building lightweight game or game like experiences in Multiplatform Jetpack Compose.
The core of this project is a simple Entity Component System, ECS, that coordinates and drives the elements you build into the GameWorld. For more reading on ECS and using them, check out:
dependencies {
implementation("com.r0adkll.cadence:core:<latest_version>")
}settings.gradle.kts
dependencyResolutionManagement {
repositories {
//…
maven {
url = Uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
}build.gradle.kts
dependencies {
implementation("com.r0adkll.cadence:core:0.1.0-SNAPSHOT")
}@Composable
fun MyGameComposable() {
val gameWorld = rememberGameWorld()
gameWorld.Content(Modifier.fillMaxSize())
} Copyright 2025 Drew Heavner
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
A toy project for building lightweight game or game like experiences in Multiplatform Jetpack Compose.
The core of this project is a simple Entity Component System, ECS, that coordinates and drives the elements you build into the GameWorld. For more reading on ECS and using them, check out:
dependencies {
implementation("com.r0adkll.cadence:core:<latest_version>")
}settings.gradle.kts
dependencyResolutionManagement {
repositories {
//…
maven {
url = Uri("https://oss.sonatype.org/content/repositories/snapshots")
}
}
}build.gradle.kts
dependencies {
implementation("com.r0adkll.cadence:core:0.1.0-SNAPSHOT")
}@Composable
fun MyGameComposable() {
val gameWorld = rememberGameWorld()
gameWorld.Content(Modifier.fillMaxSize())
} Copyright 2025 Drew Heavner
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.