However, now you can also do cargo apple run and cargo android run to run on connected iOS and Android devices respectively! Once you've generated your project, you can run cargo run as usual to run your app on desktop. Any template pack placed into ~./cargo-mobile/templates/apps/ will appear as an option in cargo mobile init. Template pack contribution is encouraged we'd love to have very nice template packs for Bevy, Amethyst, and whatever else people find helpful! We'll write up a guide for template pack creation soon, but in the mean time, the existing ones are a great reference point. Minimal winit project derived from window example Minimal wgpu project derived from hello-triangle example Minimal Bevy project derived from sprite example using the bevy template pack gives you a minimal Bevy project that runs out-of-the-box on desktop and mobile. Template packs are used to generate project boilerplate, i.e. After some straightforward prompts, you'll be asked to select a template pack.
0 Comments
Leave a Reply. |