[WIP] Add Multiplayer Bomber Demo#21
Conversation
|
I don't really understand why, but switching out #[func]
fn get_player_color(&mut self, p_name: GString) -> Color {
Color::from_hsv(godot::global::wrapf(p_name.hash_u32() as f64 * 0.001, 0.0, 1.0), 0.6, 1.0)
}to this #[func]
fn get_player_color(p_name: GString) -> Color {
Color::from_hsv(godot::global::wrapf(p_name.hash_u32() as f64 * 0.001, 0.0, 1.0), 0.6, 1.0)
}seemed to fix it |
|
@ValorZard you call
|
|
We originally closed #1 in favor of a simpler net pong example, see #10 (comment). There were concerns about maintenance1, and whether this example would actually showcase more godot-rust features than net-pong. Has this situation changed? Footnotes
|
This is mostly an experiment on my part to see how it would feel to do this project with all the new API updates. I was hoping that if we got the new typed RPC stuff it would make this type of thing a lot easier I do think that there are some Godot rust features that this project showcase- namely custom variants and singleton/ auto loads |
Take 2!
currently in draft because im getting a weird error when I try to start the game
To replicate bug, have two clients running in the Godot editor.

Like so: