Im creating a simple html canvas game with JS. With Wasm, I want to create the structure for it in Rust. So I need to have structures for the player, enemies etc. Im thinking of creating a sort of ECS in Rust.
Does that make sense? Or is it better to just do it in JS? I do like the you can setup structures etc in Rust.