PistonDevelopers / piston

A modular game engine written in Rust
https://www.piston.rs
MIT License
4.62k stars 234 forks source link

Add event loop for web #1398

Closed bvssvni closed 4 months ago

bvssvni commented 5 months ago

See https://github.com/PistonDevelopers/piston/issues/1131#issuecomment-1013042165

Currently, the event loop in Piston is designed for native applications that handle their own event loop. While it is possible to work around this, it might be nicer to bridge the gap so users don't have to write a lot of code.

bvssvni commented 4 months ago

I think this would be best handled in a separate crate for web development.