Hacker News new | ask | show | jobs
by sercand 1899 days ago
Is it currently possible to use Bevy with given MTKView on iOS?

We have already an app with thousands lines of code and we need to render a game like experience on a just single page. We can achieve this with SpriteKit or SceneKit but we need something on android as well. So we are investigating a cross-platform tool.

The given iOS example on Github repository creates the window itself but it not possible for us.

edit: It looks like bevy uses winit for windowing and it doesn't support this. So winit is the blocker here.

1 comments

Bevy is modular, in the sense that you can remove higher-level parts/layers if you don't want to use them.

For example, you could use only the Bevy ECS if you didn't care about the rest.

You could replace `bevy_winit` (window creation using the winit library) with your own alternative.