Skip to content

r0adkll/Cadence

Repository files navigation

Cadence

A toy project for building lightweight game or game like experiences in Multiplatform Jetpack Compose.

ECS

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:

Installation

Maven Central Sonatype Snapshot

dependencies {
  implementation("com.r0adkll.cadence:core:<latest_version>")
}
Snapshots

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")
}

Usage

@Composable
fun MyGameComposable() {
  val gameWorld = rememberGameWorld()
  gameWorld.Content(Modifier.fillMaxSize())
}

License

 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.

About

A toy project for building lightweight game or game-like systems in Multiplatform Jetpack Compose

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors