{"repo":"jinleili/bevy-in-app","free":true,"listed":false,"github":"https://github.com/jinleili/bevy-in-app","clone":"git clone https://github.com/jinleili/bevy-in-app.git","description":"Integrate the Bevy engine into existing iOS / Android apps.","language":"Rust","stars":240,"topics":["bevy","webgpu","wgpu","android-app","bevy-plugin","ios-app","wgpu-tutorial"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Bevy in App Integrate the Bevy engine into existing iOS Android apps. If you want to add a mini-game to an existing app, or implement some dynamic UI components, charts ..., or just want to take advantage of the Motion Sensors on your phone for some cool gameplay, you can't use WinitPlugin . Because winit will take over the entire app initialization process and windowing, but we need to create bevy::App in an existing app instance, and we may also want bevy::App to run in an iOS UIView or Android SurfaceView of any size. This repository implements such a scenario and uses the phone's motion sensor to play breakout mini-games. Screenshot ------------------------------------------ -------------------------------------------------- iOS Then, Open iOS/bevy in iOS.xcodeproj with Xcode，connect an iOS device and run. Android Set up Android environment Assuming your computer already has Android Studio installed, go to Android Studio Tools SDK Manager Android SDK SDK Tools . Check the following options for installation and click OK. - [x] Android SDK Build-Tools - [x] Android SDK Command-line Tools - [x] NDK(Side by side) Then, set two following environment variables: Add build targets Build Compatible Bevy versions Bevy version bevy-in-app version :------------ :-------------------- 0.18 0.6 0.17 0.5 0.16 0.4 0.14 dev 0.3 0.11 - 0.12 0.2 0.10 0.1","default_branch":null,"files":null,"tree":[],"storefront":"/r/jinleili","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jinleili/bevy-in-app/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}