gschup / ggrs

GGRS is a reimagination of GGPO, enabling P2P rollback networking in Rust. Rollback to the future!
Other
507 stars 25 forks source link

Fix wasm build and add ci check #56

Closed johanhelsing closed 1 year ago

johanhelsing commented 1 year ago

ggrs doesn't currently build for wasm. Adding a check that it doesn't go by unnoticed in the future.

Adapted the setup I use in Matchbox. Not sure if there's a big difference between running on windows contra ubuntu?

johanhelsing commented 1 year ago

Workaround is to add the getrandom js feature yourself, which I think you'll get indirectly through bevy if you use bevy_ggrs.

gschup commented 1 year ago

super useful! thank you :)