Repository navigation
Conversation
A standalone single-module Android app (templates/android-only) with the published ParticleEmitter library already wired in. MainActivity shows the simplest possible use: one CanvasParticleEmitter centered on screen with a gentle upward burst. Ships its own Gradle wrapper and version catalog and runs with `./gradlew :app:installDebug`. Part of #28 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A standalone Compose Multiplatform starter (templates/kmp) with the published ParticleEmitter library wired in, running on Android, iOS, Desktop (JVM), macOS (native), and Web (Wasm). The shared App composable shows the simplest possible use — one CanvasParticleEmitter centered on screen — and every platform renders it from that single source. Structure mirrors the repo's AGP-9-compatible split: a `shared` KMP library plus per-platform launchers (androidApp, desktopApp, webApp, macosApp) and an Xcode iosApp that embeds the shared framework. Each target has a documented one-line run command in the template README. Also adds templates/README.md and a pointer from the main README. Part of #28 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
@- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28.
Adds two self-contained starter projects under
templates/, each pre-wired with the publishedio.github.piotrprus:particle-emitter:1.1.0from Maven Central and showing the simplest possible scene: oneCanvasParticleEmittercentered on screen.Template 1 —
templates/android-onlyA minimal single-module Android app with its own Gradle wrapper and version catalog.
MainActivityrenders one centeredCanvasParticleEmitter(gentle upward burst)../gradlew :app:installDebugTemplate 2 —
templates/kmpA Compose Multiplatform starter for Android, iOS, Desktop (JVM), macOS (native), and Web (Wasm). The shared UI lives in
shared/src/commonMain/.../App.kt; every platform renders it from that single source.Because AGP 9 no longer allows
com.android.application+kotlin.multiplatformin one module, the layout mirrors the repo's split: asharedKMP library plus per-platform launchers (androidApp,desktopApp,webApp,macosApp) and an XcodeiosAppthat embeds the shared framework.Run commands (also in the template README):
./gradlew :androidApp:installDebug./gradlew :desktopApp:run./gradlew :webApp:wasmJsBrowserDevelopmentRun./gradlew :macosApp:runDebugExecutableMacosArm64open iosApp/iosApp.xcodeprojand run in XcodeVerification
:desktopApp:compileKotlin:webApp:compileKotlinWasmJs:macosApp:linkDebugExecutableMacosArm64(executable linked):shared:linkDebugFrameworkIosSimulatorArm64(framework linked); Xcode project retargeted to theSharedframework with the correct Gradle path.iOS and macOS were compiled/linked but not launched in a simulator/window here; Android was run live.
Also adds
templates/README.mdand a pointer from the main README.🤖 Generated with Claude Code