DEV Community

Discussion on: Coffee - An opinionated 2D game engine for Rust

Collapse
 
mdenchev profile image
Michail Denchev • Edited

Looks interesting! What are the plans for WASM support? I see there is experimental wgpu support, is the goal to wait for webgpu to become browser supported?

Collapse
 
hecrj profile image
Héctor Ramón

For now, I am trying keep a narrow (and opinionated) scope while the API is shaping up. I want coffee to be great for building (some) games for desktop.

I see WASM support as a nice thing that could happen as a side-effect. I have no clue what kind of compromises need to be made when targeting WASM (any guidance is appreciated!), but maybe a subset of the final API ends up being compatible without too many of them.

That said, I am trying to have clear boundaries between dependencies and engine code, which should help in the future if there is a need to swap a dependency or mock it somehow.