Why godot server need to have to display graphics ???

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By igbow

The server processes the logic, and the client is mostly just a user interface, Isn’t this trivial ?
We need to rewrite a server with an other language not gdscript ?

it’s not mandatory to apply any graphic while using gdscript, you can run a single Node with a script attached, but what would be the point? you still need a minimum amount of graphic to display informations about the server

Andrea | 2021-01-19 20:49

thanks for this blog

Asperiores veritatis | 2023-06-15 08:34

:bust_in_silhouette: Reply From: DDoop

From the docs:
“There is no dedicated server build for Windows yet. As an alternative, you can use the --no-window command-line argument to prevent Godot from spawning a window. Note that even with the --no-window command-line argument, you’ll need to have OpenGL support available on the Windows machine.” cite

MacOS and Linux headless builds are available, however.

Headless and server are two diffrent things. To be able to this with a linux server there is a very long learning curve. So either that or rewrite the game server part of the game using a different language ( write it again because it will be the same logic )
The no window argument is just to eliminate the window you still need a GPU to run it.

igbow | 2021-01-20 18:19

Thanks, I give it a go to figure it out.

happy wheels

tacody | 2021-02-26 05:56