fishgame-macroquad icon indicating copy to clipboard operation
fishgame-macroquad copied to clipboard

How to change networking to server-authoritative

Open infcodey opened this issue 4 years ago • 1 comments

Hello,

I would like to change the networking from master-client-authoritative to server-authoritative.

I would appreciate any advice on how to go about this, thank you.

infcodey avatar May 27 '21 22:05 infcodey

Short answer is: this is not supported.

Long answer: an official way to do server-side logic in nakama - making server-side modules in Go or Typescript. So to move fishgame's logic to the server you would need to reimplement most of the game in one of those languages. The less official way - go with https://github.com/attackgoat/nakama , expose C api from Rust and import that rust to Go. But it would also require quite a lot of work.

not-fl3 avatar May 28 '21 01:05 not-fl3