bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add basic documentation on how to integrate Bevy into mobile applications

Open alice-i-cecile opened this issue 2 years ago • 4 comments

How can Bevy's documentation be improved?

The documentation on Bevy on mobile platforms is quite sparse. See https://github.com/bevyengine/bevy/discussions/10900.

We're currently missing directions on how to build using Android Studio, how to integrate with other apps via FFI, or how to call OS-level APIs for things such as notifications.

https://github.com/jinleili/bevy-in-app is a compelling piece of third party documentation / template that we should learn from and integrate into our own documentation.

alice-i-cecile avatar Dec 08 '23 17:12 alice-i-cecile

@alice-i-cecile btw the provided example has performance issue need Bevy creator’s guideline to improve rendering pipeline when Bevy implemented through SurfaceView in Android. I can help with documentation and improved example if someone help to explain render part in Bevy with custom window other than default winit.

atonamy avatar Dec 13 '23 23:12 atonamy

Isn't "how Bevy integrates with Android" the same as "How wgpu/winit integrates with Android"?

RobertoMaurizzi avatar Dec 17 '23 05:12 RobertoMaurizzi

Yes and no: a holistic guide would be useful, and Bevy is likely to have additional setup steps at some points.

alice-i-cecile avatar Dec 17 '23 15:12 alice-i-cecile

This is where I'm stuck. Bevy's example is stuck in old versions for dependencies. If I recreate bare project with android studio, the game crashes without error. It won't even attach debugger.

autofool avatar Dec 02 '24 19:12 autofool