Skip to content

Development Setup

RequirementVersionNotes
JDK17+Required for Kotlin compilation
Android SDKAPI 34Install via Android Studio SDK Manager
Android Studio or IntelliJ IDEALatest stableAndroid Studio is recommended for full Android toolchain support
Node.js18+Only needed if working on the docs site
Terminal window
git clone https://github.com/jayteealao/Isometric.git
cd Isometric
./gradlew build

This compiles all modules and runs the unit test suite. On first run, Gradle will download dependencies, which may take a few minutes.

To build a specific module:

Terminal window
./gradlew :isometric-core:build
./gradlew :isometric-compose:build

The app module contains a sample Android application that demonstrates various scenes:

Terminal window
./gradlew :app:installDebug

Or open the project in Android Studio and run the app configuration on an emulator or connected device.

ModuleDescription
isometric-corePure Kotlin/JVM engine. Contains IsometricEngine, SceneProjector, shapes, colors, projection math, depth sorting. No Android or Compose dependencies.
isometric-composeJetpack Compose integration. Contains IsometricScene, composables (Shape, Group, Batch, etc.), CompositionLocal providers, gesture handling, and the custom Compose applier.
isometric-android-viewLegacy Android View-based renderer. Maintained for backward compatibility but new projects should use isometric-compose.
isometric-benchmarkBenchmark harness for measuring rendering performance. Uses AdvancedSceneConfig hooks to instrument frame timing.
appSample Android application with demo scenes.
siteDocumentation site built with Astro + Starlight.
  1. Open the project root (Isometric/) as a Gradle project.
  2. Wait for the Gradle sync to complete.
  3. Set the Project SDK to JDK 17 under File > Project Structure > Project.
  4. If prompted, install the Kotlin plugin matching version 1.9.10.
  • Unit Tests: Right-click isometric-core/src/test and select “Run Tests”.
  • Sample App: Select the app module run configuration and choose a device.
  • Specific Test: Right-click any test class or method and select “Run”.
TaskDescription
./gradlew buildFull build with tests
./gradlew :isometric-core:testRun core unit tests
./gradlew :isometric-compose:buildBuild Compose module
./gradlew :app:installDebugInstall sample app on device
./gradlew cleanDelete all build outputs

The documentation site lives in the site/ directory and uses Astro with the Starlight theme.

Terminal window
cd site
npm install
npm run dev

This starts a local dev server at http://localhost:4321. Pages are MDX files in site/src/content/docs/. See the Documentation Guide for details on writing docs.